Skip to content

Instantly share code, notes, and snippets.

@jareha
Last active May 23, 2024 19:48
Show Gist options
  • Save jareha/a3dc71fb64ef709cf4c02b0cf6538dc0 to your computer and use it in GitHub Desktop.
Save jareha/a3dc71fb64ef709cf4c02b0cf6538dc0 to your computer and use it in GitHub Desktop.

Note: all scripts tested only in Mozilla Firefox.

Template Base template for bookmarklets/keyword searches

Bookmarklets

Localhost/production toggler Toggle between localhost and production

Passivator Highlight adverbs and passive verbs

Scrollbar scofflaws Highlight DOM elements that cause horizontal scrollbars

Keyword searches

Keyword searches will typically include a fallback. Example, using DuckDuckGo:

  • ddg will direct user to DuckDuckGo homepage
  • ddg keyword will direct user to DuckDuckGo’s search results for provided search term

Color Hex Search for CSS color codes on color-hex.com

  • Example: hex #ffffff

DuckDuckGo Search for query on duckduckgo.com

  • Example: ddg de-google

Facebook Search for query (e.g. a profile/page) on facebook.com

  • Example: fb numtots

Foursquare Search for a business or category on foursquare.com

  • Example: fs new york-style pizza

Green’s Dictionary of Slang Search for slang on greensdictofslang.com

  • Example: gd slang

MacPorts Search for open source packages (ports) on macports.org

  • Example: port git

MDN Web Docs Search Mozilla’s (excellent) web documentation on developer.mozilla.org

  • Example: mdn javascript object

W3C Markup Validator Send current URL for markup validation on validator.w3.org

  • Example: html (on a publicly accessible page)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment