"Open image" replaced with "Open image in new window", how do I fix it?
Something broke in my browser. For last day or two whenever I try to open an image to see it in full details etc, it instead opens new tab. Then I realized that description of this basic option changed to what it does now, as well, so I assume this is some sort of new feature.
How do I revert it? Do I need some sort of plugin? If yes, is there plugin that outright replaces this new, worse functionality with old, better one? If not, can someone message me when such plugin exists?
All Replies (5)
I have the same problem. The temporary solution I found was to use the Extension "View Image Context Menu Item" It puts View image back into the context menu but it is right at the bottom and there is no way to move it back to the top.
The last update (87) changed positions in the context menu and this one replaced stuff. The beta for Firefox 89 (the next update) also says they will remove more features. They call it simplified browser toolbar and streamlined menus. Read more here: https://www.mozilla.org/firefox/89.0beta/releasenotes/ Honestly at this point I would not be surprised if they decided to remove the context menu entirely in a future update.
You can possibly use code in userChrome.css to swap "View Image" and the original menu item, so it remains available when "View Image" doesn't work.
- View Image Context Menu Item https://addons.mozilla.org/firefox/addon/view-image-context-menu-item/
Add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ menuitem[label="View Image"] {-moz-box-ordinal-group:0;} menuitem#context-viewimage {-moz-box-ordinal-group:10;}
It is not that difficult to create userChrome.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
Modified
Thank you very much for your help! I'm stuck using userchrome.css anyway because Firefox becomes progressively uglier and uglier over time, after reaching peak visuals over 10 years ago ^^'
Update: Still need help. The suggested UserChrome.css solution did not work. Please, someone give me working solution, this is driving me mad.
Did you install the extension as that should add "View Image" at the bottom of the context menu ?
The code for userChrome.css merely moves "View Image" to the top and moves "Open image in new window" to the bottom of the context menu. "View Image" provided by the extension should also support modifiers a like Shift to open in a new window and Control or a middle-click to open in a new tab new tab.
If the code in userChrome.css isn't working then check for errors in the file and possibly move the code to the top of the file to test this. If you created a new userChrome.css then make sure to place the file in the chrome folder in the profile folder and also make sure you do not have a hidden .txt file extension appended and that the file is a plain text file (you can open the file in Firefox to check this).
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data