Chrome - Custom Site Search Shortcuts

From NoskeWiki
Jump to navigation Jump to search

About

This page is a child of: Chrome


How it works

Wouldn’t it be nice to instantly jump to your Gmail or calendar by entering “m/” or “c/” in Chrome’s search bar? Or search for all your old pull requests by typing “pullrequests Prettier” (push space to activate search) … you can set these up pretty easily!

  1. Inside your Chrome work profile go to: “…” → Settings → Manage Search Engines and Site Search (chrome://settings/searchEngines]).
  2. Click the Add button.
  3. Enter a new shortcut.
Adding


Hot Tips

I recommend these two styles:

  • m/ - (for Gmail - https://mail.google.com/mail/u/0/#inbox) - Use the backslash when you just want to go to that page (like your Gmail inbox), not search the page. This works well for single letters… and will still show an autocomplete up until you hit the “/”. Maybe you don’t want Gmail but Google Maps. But type “m/” then enter and you’re in your Gmail inbox.
  • gmail - (for Gmail SEARCH - https://mail.google.com/mail/u/0/#search/%s) - If you want to search a site, you can put “%s” into the URL and it will inject it… it’s a great option where you can now type “gmail Bob” (notice the Space) and it will search for emails with/from “Bob”.. but...... if you forget to type anything then it shows an error - which is stupid, but plus autocomplete is why I suggest you do backslash for the single letters where you just want to visit the site.


Sadly you can’t import in bulk, but here are some great ones to set:

My Chrome Shortcut List

Name Shortcut URL
Amazon a/ https://www.amazon.com.au/ (visit)
Bitly b/ https://app.bitly.com/ (visit)
NoskeWiki - My Books books/ https://andrewnoske.com/wiki/My_Books (visit)
Google Calendar c/ https://calendar.google.com/calendar/u/0/r (visit)
ChatGpt chat/ https://chat.openai.com/ (visit)
ChatGPT chatgpt/ https://chat.openai.com/ (visit)
Claude claude/ https://claude.ai/chat/ (visit)
Google Contacts contacts/ https://contacts.google.com/ (visit)
Google Drive d/ https://drive.google.com/drive/home (visit)
Google Drive (SEARCH) drive https://drive.google.com/drive/search?q=%s (visit)
Emojipedia e/ https://emojipedia.org/ (visit)
Emojipedia (SEARCH) emoji https://emojipedia.org/%s (visit)
Facebook f/ https://www.facebook.com/ (visit)
Google Flights flights/ https://www.google.com/travel/flights?tfs=CBwQARoJagcIARIDQk5FQAFIAXABggELCP___________wGYAQI&tfu=KgIIAw (visit)
Facebook Messenger fm/ https://www.messenger.com/ (visit)
ChatGPT g/ https://chat.openai.com/ (visit)
Gmail (SEARCH) gmail https://mail.google.com/mail/u/0/#search/%s (visit)
Chrome History h/ chrome://history/ ([chrome://history/ visit])
Instagram (evil) i/ https://www.instagram.com/ (visit)
Google Images (SEARCH) images https://www.google.com/%s?q=chrome&tbm=isch&hl=en-GB&tbs=ic:trans&sa=X&ved=0CAMQpwVqFwoTCLDbmNy6n4MDFQAAAAAdAAAAABAC&biw=1223&bih=1082 (visit)
Limitless Questions l/ https://docs.google.com/spreadsheets/d/1WUyDRzC_uC81153Gqi4KerfHR2kFF3vbClSzeFH1_tw/edit#gid=567379651 (visit)
Gmail m/ https://mail.google.com/mail/u/0/#inbox (visit)
NoskeWiki n/ https://andrewnoske.com/wiki/ (visit)
NoskeWiki (SEARCH) noske https://andrewnoske.com/w/index.php?search=%s (visit)
Google Photos p/ https://photos.google.com/ (visit)
Google Photos (SEARCH) photos https://photos.google.com/search/%s (visit)
Screenshots and Drawings and Messages (Google Slides) screenshots/ https://docs.google.com/presentation/d/1f0ncy7RFo-Jqbu-t9tWc5OqgIIi2kxMcl4_AC7Gf-a8/edit#slide=id.p (visit)
Google Chrome Shortcuts shortcuts/ chrome://settings/searchEngines ([chrome://settings/searchEngines visit])
Tinyurl tiny/ https://tinyurl.com/app (visit)
WhatsApp w/ https://web.whatsapp.com/ (visit)
Wikipedia (SEARCH) wikipedia https://en.wikipedia.org/w/index.php?search=%r (visit)
YouTube y/ https://www.youtube.com/results?search_query=%s (visit)
YouTube (My Channel) yc/ https://www.youtube.com/channel/UC4pdYAi-IpIGpsyWgmy_Emg (visit)
YouTube (SEARCH) youtube https://www.youtube.com/results?search_query=%s (visit)
YouTube Studio ys/ https://studio.youtube.com/channel/UC4pdYAi-IpIGpsyWgmy_Emg (visit)
NEW: ys/ https://studio.youtube.com/channel/UC4pdYAi-IpIGpsyWgmy_Emg (visit)
Chrome Shortcuts List (Google Sheets) cs/ https://docs.google.com/spreadsheets/d/1Zvq3iF4p7kgHRudLubIjhbbCwWJRuU7d2Cvq2_MhBOk/edit#gid=0 (visit)

Search Tabs

Notice also that there are three fixed options in the area already: “Books”, “History” and “Tabs”. The “Tabs” URL shortcut is especially useful for people who have many tabs, but are mapped to “@tabs”, which is long… so rename it to “@t” and then type “@t Git”... and it will take you to whatever tab best matches that (say the Github issue you had open).


Warning

I have >50 of these now but I had a weird error once where "m/" stopped working. You type it and it says "page does not exist". I don't think I changed the shortcut, so it was strange it stopped... and stranger still I have exactly the same entry on a different Chrome profile and it still works in the other profile. I eventually changed the URL to a shorter "https://mail.google.com/" (no # symbol as in "https://mail.google.com/mail/u/0/#inbox") and that might have fixed it. However, a couple of other shortcuts were also not working... I wonder if a stray "%r" (I found one of these) or "tab" in one shortcut ruins others. It doesn't seem alphabetical - "i/" for Instagram was broken too, but I went through the list to see which ones worked, and most did. With brute force, I added/removed/slightly modified the broken ones and that apparently fixed it. Somehow. I feel like it might happen again, and there's no documentation anywhere on what causes this issue.


Links