Created
April 2, 2015 16:07
-
-
Save yaodong/d41bf018e03fbba3e913 to your computer and use it in GitHub Desktop.
focus on page from address bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on alfred_script(q) | |
tell application "Google Chrome" | |
set theURL to "javascript:" | |
set URL of active tab of window 1 to theURL | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment