For anyone looking for a full dark theme for firefox 57+, including context menus, main menu, url bars, preferences page, addons page, etc... I made one for you (Yes, it also darkens the scrollbar if you install it right) which you can find in the following link:
It’s made through the userchrome and usercontent files (if you don’t know what those are, it’s all explained in the github page), so you can tweak the things you don’t like there if you know a bit of css or color codes.
It also removes some (at least to my opinion) useless options on firefox context menus, like the “send link” or “send image” options... but you can reenable those in userchrome after you install it.
As an added bonus it also enables multirow tabs support, for those that like to have many tabs open.
All of these can be disabled or reenabled editing the userchrome or usercontent files on the github above, so if you just want a few of the options, just delete the ones you don’t like!
Firefox Quantum окончательно порвал с устаревшими дополнениями. Вроде как – ура? Жертвой этих изменения, как бы это ни было прискорбно, стали дополнения которые изменяли пользовательский интерфейс Firefox. Это может быть проблемой, если вы зависимы от таких вещей, как повышенный контраст изображения или цветовая слепота, или у вас было дополнение увеличивавшее размер шрифта в интерфейсе Firefox.…
How to get rid of “send image” on the context menu of firefox
Have you ever tried to save images on firefox from any page and then you suddenly misclicked the “send image” crappola under it, loading the hell of a mail thing that you NEVER IN YOUR EXISTENCE have, or will ever use?
If this is your case... I’ll tell you how to get rid of that!
(This also works for any of the random items that are on the context menu as well, such as “set image as background” which, at least, I NEVER use)
First, you will need to locate your profile folder for firefox. It’s not too hard to find, since it’s always located in the same place... but of course, it will change depending on your PC user.
So, the path you need to find will be something like
C:\Users\(whatever the name of your user is)\AppData\Roaming\Mozilla\Firefox\Profiles\(Randomly named folder which will be your profile folder)
Note that the “AppData” folder will be hidden by default, so you will have to turn the visibility of hidden files on first to see it.
After you access your profile folder, you will see many directories with the names of extensions you have, and other things that make firefox work the way it does... You now want to create in your profile folder a new folder named “chrome”. (Yes, “chrome”, not “google chrome” or some random thing!)
Enter that new folder you just named “chrome” on your profile folder, and in there you must create a new .txt file
Once you create it, rename it as “userChrome.css” (you can also edit the .txt first and then save it as userChrome.css after).
Now... the important part. you now open the new file you just created, and... you basically have to type any of the commands that I’ll write down here to get rid of the context menu item you want.
/* -- Websites -- */
/* Back */ #context-back {display: none !important;}
/* Forward */ #context-forward {display: none !important;}
/* Reload */ #context-reload {display: none !important;}
/* Stop */ #context-stop {display: none !important;}
/* separator */ #context-sep-stop {display: none !important;}
/* Print */ #context-print{display:none !important;}
/* Bookmark this page */ #context-bookmarkpage {display: none !important;}
/* Save as... */ #context-savepage {display: none !important;}
/* View Background Image */ #context-viewbgimage {display: none !important;}
/* separator */ #context-sep-viewbgimage {display: none !important;}
/* -- Links -- */
/* Open link on a new tab */ #context-openlinkintab {display: none !important;}
/* Open link on a new page */ #context-openlink {display: none !important;}
/* separator" items */ #context-sep-open {display: none !important;}
/* Bookmark this link... */ #context-bookmarklink {display: none !important;}
/* Save link as... */ #context-savelink {}
/* Send Link. . .*/ #context-sendlink {display:none !important;}
/* Copy Email Address */ #context-copyemail {display: none !important;}
/* Copy the link address */ #context-copylink {display: none !important;}
/* separator */ #context-sep-copylink {display: none !important;}
/* Send Page */ #context-sendpage {display: none !important; }
/* -- Images -- */
/* See image */ #context-viewimage {display: none !important;}
/* Copy the image address */ #context-copyimage {display: none !important;}
/* Send image... */ #context-sendimage {display: none !important;}
/* separator */ #context-sep-copyimage {display: none !important;}
/* Save image as... */ #context-saveimage {display: none !important;}
/* Set as background image... */ #context-setDesktopBackground {display: none !important;}
/* Block Images from this Server */ #context-blockimage {display: none !important;}
/* -- Text box -- */
/* Undo */ #context-undo {display: none !important;}
/* separator */ #context-sep-undo {display: none !important;}
/* Cut */ #context-cut {display: none !important;}
/* Copy */ #context-copy {display: none !important;}
/* Paste */ #context-paste {display: none !important;}
/* Delete */ #context-delete {display: none !important;}
/* separator */ #context-sep-paste {display: none !important;}
/* Choose everything */ #context-selectall {display: none !important;}
/* separator */ #context-sep-selectall {display: none !important;}
/* Search “selected text” on search engine */ #context-searchselect {display: none !important;}
/* -- Contextual menu -- */
/* separator above the This Frame sub-menu */ frame-sep {}
/* Unfortunately, the Frame sub-menu items don't have ids, so you can't select them individually. You should be able to select the whole sub-menu with menu[id="frame"] or #frame. */
/* separator */ #context-sep-viewsource {}
/* View Selection Source */ #context-viewpartialsource-selection {}
/* View MathML Source */ #context-viewpartialsource-mathml {display: none !important;}
/* See font code of the site */ #context-viewsource {display: none !important;}
/* See page information */ #context-viewinfo {display: none !important;}
/* Properties */ #context-metadata {display: none !important;}
Now, what you will want to type on the “userChrome.css” file if you just want to get rid of the “send image” command on the contextual menu would be:
You don’t really need to copy the description part of the line... but It could help in case you want to edit the file later on, so that you know what does what (in this line it’s quite obvious, but there are others that aren’t as much)
After you have copied all the lines of the items of the context menu you want to get rid of... save it, and there you go!
You may have to restart firefox for it to work, but once you do, you won’t misclick “send image” or any of those random things anymore!