Skip to content

Instantly share code, notes, and snippets.

Last active February 6, 2024 15:24
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save siboehm/53d2b498e1470d32f0af13b2c39a9520 to your computer and use it in GitHub Desktop.
Collection of site search urls

Site-specific search URLs

These work in Firefox and Chrome, where %s is replaced with the search query. For Raycast and Alfred, the %s should be replaced with {query}. For more details also see my blogpost.

How to add

  • Chrome: Settings -> Search engine -> Manage search engines and site search -> Add
  • Firefox: Bookmarks -> Manage Bookmarks -> Add Bookmark, then set the keyword to the desired shortcut

I recommend picking keywords that are easy to memorize, like am=Amazon, an=Anaconda, gi=Github,... and switching to three letters when the two letter abbreviation appears to commonly in a sentence (eg goi=Google images, gom=Google Maps).


Chrome: Right click on bookmark bar -> Add page -> Paste JS (including the javascript:) as the URL.

Ar5iv (open ar5iv when on Arxiv):

javascript:(function(){  var url = window.location.href;  var ar5ivUrl;  if(url.includes('')) {    ar5ivUrl = url.replace('', '');    window.location.href = ar5ivUrl;  } else {    alert('Not an URL');  }})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment