Chris CollinsMore Script updates816e36911 years agoHistory
11 lines · 584 B · JavaScript
RawDownload
var goto = Window.prompt("Where would you like to go? (ex. @username, #location, 1.0,500.3,100.2)");var url = "hifi://" + goto;print("Going to: " + url);location = url; // If the destination location is a user or named location the new location may not be set by the time execution reaches here// because it requires an asynchronous lookup.  Coordinate changes should be be reflected immediately, though. (ex: hifi://0,0,0)print("URL: " + location.href);print("Protocol: " + location.protocol);print("Hostname: " + location.hostname);print("Pathname: " + location.pathname);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t