Firefox Modifications

Today is an example of everything being too much effort for what it’s worth. However, I was able to find instructions on adding custom search engines in Firefox! Now I can default all my Amazon searches to those with Prime delivery. Sure, it only saves one or two clicks, but I’ll take whatever win presents itself today.

Firefox Custom Searches

  • about:config
  • browser.urlbar.update2.engineAliasRefresh
  • hit “+”
  • about:preferences#search > Search Shortcuts
  • add search with %s replacing your search string

You can add any custom search engine using a single letter shortcut.

While we’re at it with Firefox modifications, I was getting real tired of having 300 options pop up when right clicking. When looking around the internet for solutions, it’s clear I wasn’t the only one. Thankfully there is a straight-forward way to take care of this annoyance.

Remove Right-Click Context Menu Items

  1. Open about:config
  2. Set toolkit.legacyUserProfileCustomizations.stylesheets to True
  3. Restart Firefox
  4. Open about:support and search for Profile Folder or Profile Directory
  5. Click Open Folder
  6. Open or create folder named Chrome
  7. Inside Chrome folder, open or create file userChrome.css
  8. Add CSS-based rules that relate to the item(s) you want removed

For example: If you want to remove “Send Page to Device”, add the following then restart Firefox.

#context-sendpagetodevice, #context-sendlinktodevice { display: none !important; }

There are a lot of customizable CSS options found at the simpleMenuWizard github. My current CSS file is below.

/* Hide Send Link to Device */
#context-sendpagetodevice, #context-sendlinktodevice, #context-sendpagetodevice, #context-sep-sendpagetodevice, #context-sendlinktodevice, #context-sep-sendlinktodevice, #context_sendTabToDevice, #context_sendTabToDevice_separator { display: none !important; }

/* Hide "Print Selection" */
#context-print-selection { display: none !important; }

/* Hide "Bookmark Link" */
#context-bookmarklink { display: none !important; }

/* Hide "Inspect Accessibility Properties" */
#context-inspect-a11y { display: none !important; }

/* Hide "Open Link in New Private Window" */
#context-openlinkprivate { display: none !important; }

/* Remove Pocket nonsense */
#context-savelinktopocket, #context-pocket { display: none !important; }

/* Remove open link in new window */
#context-openlink { display: none !important; }

/* Remove send image */
#context-sendimage { display: none !important; }

/* Hamburger items */
#appMenu-passwords-button { display: none !important; }

/* Select Context */
#context-take-screenshot { display: none !important; }

/* Tabs */
#tabContextMenu #context_bookmarkSelectedTabs, #tabContextMenu #context_bookmarkTab, #tabContextMenu #context_sendTabToDevice, #tabContextMenu .share-tab-url-item { display: none !important; }

/* Main Menu Bar */
#menu_importFromAnotherBrowser { display: none !important; }

/* Blank Context */
#context-bookmarkpage { display: none !important; }

/* Input Context */
#manage-saved-logins, #spell-add-to-dictionary, #spell-undo-add-to-dictionary, #fill-login, #spell-no-suggestions, #fill-login, #fill-login-generated-password { display: none !important; }
Previous: Dream Scenario Next: Spaceman