Skip to content

Instantly share code, notes, and snippets.

View jame-zhang's full-sized avatar
🐢
What is late never be late!

jame-zhang

🐢
What is late never be late!
View GitHub Profile
@jame-zhang
jame-zhang / OpenUrl_Chrome.alfredworkflow
Created December 6, 2018 11:50
open url or chrome password setting tab in chrome, if chrome is running then make new tab, otherwise make new window
on alfred_script(q)
if not (q starts with "http://") and not (q start with "pw")
set q to "http://" & q
end if
tell application "/Applications/Google Chrome.app"
if it is running then
if (q start with "pw")
open location "chrome://settings/passwords"
else
open location q