Created
April 9, 2014 02:00
-
-
Save stantont/10218833 to your computer and use it in GitHub Desktop.
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
| javascript: var host %3D document.location.hostname.split(%27.%27)%3B if (host.length > 2) %7B host %3D host%5Bhost.length-2%5D %2B %27.%27 %2B host%5Bhost.length-1%5D%3B %7D else %7B host.join(%27.%27)%3B %7D document.location %3D %27https://duckduckgo.com/%3Fq%3D%27 %2B prompt(%27Search term%27) %2B %27%26sites=%27 %2B host%3B |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modified an existing Google site search bookmarklet gotten from who knows where.