Last active
April 2, 2021 00:52
-
-
Save hkitago/2476485f45df5652c8df0fe2fa4c1fef to your computer and use it in GitHub Desktop.
Bookmarklet for Google Search.
This file contains 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
javascript:(()=>%7Bd=document,w=window,Qr=(w.getSelection?w.getSelection():d.getSelection?d.getSelection():d.selection.createRange().text);if(!Qr%7C%7CQr=='')%7Bvoid(Qr=prompt('Google%20search%20word:',''));%7Dif(Qr)w.open('https://www.google.com/search?q='+encodeURI(Qr))%7D)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment