Skip to content

Instantly share code, notes, and snippets.

@KorigamiK
Forked from siboehm/site_search_urls.md
Created May 3, 2025 13:22
Show Gist options
  • Save KorigamiK/77107c4be9ef0a92e765e3df2c524351 to your computer and use it in GitHub Desktop.
Save KorigamiK/77107c4be9ef0a92e765e3df2c524351 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).

Bookmarklets

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('arxiv.org')) {    ar5ivUrl = url.replace('arxiv.org', 'ar5iv.labs.arxiv.org');    window.location.href = ar5ivUrl;  } else {    alert('Not an arXiv.org URL');  }})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment