Private url As String = ws.EvalWithResult("return window.location.hash",Null).Value
If url.ToLowerCase.Contains("#") Then
Dim hash As String
hash = url.SubString(url.IndexOf("#") + 1)
Dim result As Map
result.Initialize
Dim params() As String
params = Regex.Split("&", hash)
For Each param As String In params
Dim parts() As String
parts = Regex.Split("=", param)
If parts.Length = 2 Then
result.Put(parts(0), parts(1))
End If
Next
' Now 'result' contains the key-value pairs from the hash
Log(result)
End If