stonecrusher / simplemenuwizard Goto Github PK
View Code? Open in Web Editor NEWHide contextmenu items in Firefox Photon
License: MIT License
Hide contextmenu items in Firefox Photon
License: MIT License
Hi,
there are some new entries and separators in the tab context menu which are not in your tab-context.css, e.g. context_moveTabOptions.
In the latest release, v1.15, the opt_noSendToDevice file is missing the .css extension.
I have these settings in my blank-content.css
:
#context-navigation,
#context-sep-navigation,
#context-pocket,
#leave_this_dummy_here
{ display:none !important; }
I expect when I click right mouse I won't see first ----
delimitor of Save Page As...
expected behavior:
Save Page As...
---------------------- <- bottom delimiter
current behavior:
----------------------
Save Page As...
----------------------
Thanks, this helped me track down items I wasn't able to find before. Now if I could only figure out how to hide, "Show sidebars" and "View history, saved bookmarks, and more" toolbar icons.
I already checked all topics here with advices on how to rearrange items, but i still can't understand how to put separator in specific position. As i see all separators are "connected" to some commands and "ought to follow" them.
Yet here comes "problem" of { -moz-box-ordinal-group: 1 !important; } = when several items are in same group, the order is "group" is not controllable.(or is it in some way?) While editing i had several times situation when i have
item1
item2
item2_separator
item3
item4
item5
item5_separator
item6
and however i try i couldn't make it
item2
item1
separator
item3
separator
item5
So is there some way to put separator in specific position after any item? And how to arrange items in same { -moz-box-ordinal-group: X !important; } ?(or how they are arranged automatically)
I was noticing a double set of separators in my context menu and so I found that Firefox had some changes in its image context menu. For example "View Image Info" no longer seems to exist. #context-sep-copyimage also does not exist but there is now a #context-sep-setbackground. Also the order of the items has changed some.
I attached a copy of the new image-context.css (renamed to txt).
I removed '/*' at the beginning of the line '@import url("./simpleMenuWizard/opt_uBO.css");', but uBlock is still everywhere.
Everything else is working, e.g. I deleted some of my installed addons from the context menu and some entries from link-context.css, select-context.css and tab-context.css.
Is it necessary to do something else?
Can't find how to hide "Take screenshot" in frame. For example:
https://www.w3schools.com/html/html_iframe.asp
Both link-context.css and search-context.css contain the same entry for
#context-searchselect, /* Search [Google] for "[selected]" */
which when enabled disables the 'Search [Google] for "[selected]" from both right click on selected text, and right click on links. There should be a way to toggle each one individually if they are contained within separate sheets
Readme state it should work on ff 89+ but on firefox-beta Mozilla Firefox 90.0b7
, it does not work.
(I'm using it on firefox-esr just fine)
Hi,
As seen in the following image, I came upon a "This Frame" asset when right clicking an image and I could not find it in any of the providedd CSS files.
There used to be legacy extensions called "Menu Filter" https://addons.thunderbird.net/en-us/firefox/addon/menu-filter/reviews/801081 and "Menu Wizard" http://forums.mozillazine.org/viewtopic.php?f=48&t=2828771 that did exactly this but also had the ability to remove items from all of the drop down menus as well. Sadly they have both been depricated with version 57+ without rewrites.
Is it possible to extend the same functionality you have here for firefox context menus to all of the drop down menus as well?
Cheers and keep up the great work.
Hello,
In the bookmarks dropdown menu I did not see any CSS code to remove the items from the following image:
https://i.postimg.cc/ZnBfpJ1q/Bookmarks.jpg
Is it possible for these to be added?
Cheers.
Hi, I'm trying to remove the whole navigation bar with icons from the right click context menu, but for some reason i can't get it to work. If i uncomment the first line nothing happens, tried uncommenting each line separately, still no results. What am i missing here? How would the working config look like?
I did not have any luck finding the ID.
https://github.com/Aris-t2/CustomCSSforFx#how-to-use-custom-user-styles
How can I remove from input field the "Check spelling" and "Fill login"?
I don't use sync, and have it disabled in the options. I was hoping that would remove context menu item but it doesn't.
How to change the position of a context menu entries in your CSSs?
We have #context-navigation,
to Hide whole navigation bar
. Can you add option to Hide the whole 'This Frame'
in frame-context.css
?
#frame,
seems not remove whole
'This Frame'
for me.
Nothing changes when i edit this items:
version 80.0.1 release
Simply put... is it possible to use this to re-order the context menu options? For instance, I actually use the Pocket feature a lot and want it to appear first when I right-click on a link. I moved #context-savelinktopocket to the top of the in the link-context.css file but it had no effect. Would love to find a way to do this! Thanks!
Currently we can only hide screenshoot on all via #screenshots_mozilla_org-menuitem-_create-screenshot
, is there away to hide for a specific context menu, like select?
Hi!
Thanks for keeping up this great project.
I just wonder if there is something wrong with line 17 in sidebar-header.css, as I cannot get Close Sidebar Button removed/hidden in my FF 72.0.2 (64-bit).
Cheers,
Farshad
Hello
Maybe you can help me.
it's about the add-on clippings
https://addons.mozilla.org/en-US/firefox/addon/clippings/
The context menu cannot be switched off in the add-on.
Is there a possibility via simpleMenuWizard?
Hi,
The following extra items are present in "gifycat" videos and There does not appear to be any entries to remove them:
https://i.postimg.cc/5yTD19RM/Media.jpg
Thanks.
This new item introduced in the nightly version of the browser can be hidden including the following line in tab-context.css file:
#tabContextMenu #context_reopenInContainer,
With the update to Firefox 89, I've noticed a new menuitem, "Share," in the context menu when you right click on a tab. I couldn't find anything about it searching google, the FirefoxCSS subreddit, or in the FF source code at https://searchfox.org/mozilla-release/source/browser/base/content/browser.xhtml. Do you have any idea what the CSS selector for this is? I'd really like to be able to hide it.
Hi
Thanks for this great project.
There is just one minor issue I noticed:
in line 26 of blank-context.css, the word "context" is repeated twice which would create a double Separator.
/* #context-context-sep-viewsource, /************** Separator ***************/
I just don't guess it was meant to be like that.
Cheers
Farshad
/*** blank-context.css ***/
/#screenshots_mozilla_org_create-screenshot, / Take a Screenshot */
this setting doesn't work
Trying this out and discovered that the CSS will not work unless the last item of a rule does not end in a comma. To make editing the files easier, you could put a dummy selector as the last item:
/* image-context.css */
/* #context-reloadimage, /* Reload Image */
/* #context-viewimage, /* View Image */
/* #context-copyimage-contents, /* Copy Image */
/* #context-copyimage, /* Copy Image Location */
/* #context-sep-copyimage, /******* Separator *******/
/* #context-saveimage, /* Save Image As... */
#context-sendimage, /* Email Image... */
#context-setDesktopBackground, /* Set As Desktop Background... */
/* #context-viewimageinfo, /* View Image Info */
/* #inspect-separator, /******* Separator *******/
/* #context-inspect, /* Inspect Element (Q) */
/* #context-contentAreaContextMenu > menuseparator:nth-child(92), /** Separator **/
/* #ublock0_raymondhill_net_uBlock0-blockElement /* Block element (by uBlock addon) */
#dummy
{ display:none !important; }
I recently re-installed my windows and Firefox. Then I copied my settings as before but nothing was changed. I googled and found out that I have to change the setting of firefox to get it loaded in recent version of FF.
I changed "kit.legacyUserProfileCustomizations.stylesheets" in "about:config" to True and it worked as before. Maybe you'd better mention in the the description page.
Source : https://www.youtube.com/watch?v=J0NDzs9PsIg , comment from a user named Grillo
Reminder to me:
Items in toolbar icon context menu
https://www.ghacks.net/2018/11/09/firefox-64-direct-removal-of-extensions/
Hi,
I'm using this helpful and so well carried out simpleMenuWizard (latest 1.3) together with Aris-t2'
Custom CSS and Custom Scrollbar .
I'm wondering if there's a Firefox 57+ menu item simpleMenuWizard could handle.
Firefox Show Sidebars toolbar button displays the sidebar on which there is a button to trigger a drop-down list which includes natively Bookmarks, History, Synced Tabs.
I'd wish to hide this Synced Tabs option since I don't use Firefox Sync.
Thanks for your work @stonecrusher
I'm trying out simpleMenuWizard, but I'm having a minor issue.
When I edit blank-context.css, I managed to easily remove all but one of the separators in my Context Menu by following your documented instructions. But when I try to remove the last separator that appears under Inspect Element (Q) I fail to hide it. I assume I'm supposed to remove the /* in front of #context-inspect + menuseparator:not([id]), but doing so does not successfully hide the separator.
I doubt my old userChrome.css interferes with the context menu, and I'm unsure how to remove the final separator. Do you have any ideas?
I had a hard time finding this program.
I wanted to edit the menu.
Thank you so much.
:)
#appMenuRestoreSession, /* Restore Previous Session */
I can't remove this button anymore, did something change in Firefox regarding it? Maybe its name changed? dunno, can you help please?
Hello, I'm new here.
I'm using Mac OS X mavericks and recently installed FF Quantum. I think it is FF 62. I would like to remove the menu item 'New Private Window's but was unsuccessful.
I could remove the button from the hamburger menu though and also the right click context menu.
I have tried experimenting in Windows FF 62 and I could remove the menu items that I want. But in Mac OS X I couldn't.
If anyone knows please help me please. Thanks and much appreciated.
Test
https://github.com/stonecrusher/simpleMenuWizard/issues/new
#context-openlinkincurrent
Firefox 58.0.1 64bit
Everything works as advertised so long as the 'Hide all inactive menu items' option remains disabled.
If the existing 'Hide all inactive menu items' is enabled, however, all subsequent imports are effectively ignored. Moving the option after all of the imports is a work around.
Hello,
The "#context-sep-copyimage," is incorrect for the separator in the image context menu.
I have applied it and the separator is still present:
https://i.postimg.cc/Z5X8Xp9w/Image-Context.jpg
Cheers.
Share links from Firefox for MacOS more easily: You can now share the URL of an active tab from the page actions menu in the address bar
I don't have MacOS available and can't see the identifier. Help appreciated.
I can't find how-to this, is there a way?
/* #tabContextMenu #context_shareTabURL */ /* Share tab URL via 3rd party app */
the */
after #context_shareTabURL
is misplaced
Hello,
The "#menu_troubleShooting" and "#menu_feedbackPage" entries have been applied with no change indicating that they are incorrect.
https://i.postimg.cc/CKFhh6f5/Help-Menu.jpg
Cheers.
I can wipe out all components in blank context menu and whenever I right click in an empty space, it'll create a dot (ff tries to create/open the context) and must left click to dismiss it to use other functions like scroll page.
How to completely remove blank context menu for even exist?
I tried to seach context and bank in ff config but don't find any options to disable it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.