Skip to content

Instantly share code, notes, and snippets.

@BacktickIO
Forked from willkidger/command.js
Last active December 27, 2015 14:59
Show Gist options
  • Save BacktickIO/7344153 to your computer and use it in GitHub Desktop.
Save BacktickIO/7344153 to your computer and use it in GitHub Desktop.
location.href='http:/'+'/www.google.com/search?q=site%3a'+document.domain.replace('www.','') + '%20' + prompt('Search for: ');
{
"name": "Google Site Search",
"description": "Performs a Google site search on the current domain.",
"icon": "https://backtickio.s3.amazonaws.com/icons/google.png",
"link": "http://google.com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment