As you see I want to remove lots of things

Anybody can help? Thanks
removing things in context menus
63 posts
• Page 1 of 5 • 1, 2, 3, 4, 5
I want to remove from context menu "Copy image location" "Save Page As..." "View Image" "Open Link in New Tab" "Back, Forward, Reload, Stop" "Bookmark This Page..." "view background image" "Block Images From this Server"
As you see I want to remove lots of things ![]() Anybody can help? Thanks in the same order:
#context-copyimage, #context-savepage, #context-viewimage, #context-openlinkintab, #context-back, #context-forward, #context-reload, #context-stop, #context-bookmarkpage, #context-blockimage, #context-viewbgimage { display: none; } I'm assuming this goes in the userContent.css file?
It goes into userChrome.css. Here are some more:
That's a great list. I'm to add it to my blog where I mentioned kiosk browsing.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message. My Old Firefox config files What about the Print and Print Preview items on the context menu? Is there a way to get rid of those?
Do you mean in the file menu? If so:
edit: changed to menuitem If not, in what context are you getting those? I don't see them anywhere. Last edited by scragz on July 2nd, 2003, 1:02 pm, edited 1 time in total.
the ones on the context menu are Trivial's fault. try: #trivP, #trivP + menuitem { display:none !important; } I have been trying to remove the separators in the bookmark dropdown menu - the one at the top and the one above the "Open in Tabs" item in the folders. Can anyone help?
I am having the same problem as jmccrary. I tried using the idea scragz suggested:
/* View Background Image */ #context-viewbgimage { display: none !important; } /* separator above the View Background Image link */ #context-sep-viewbgimage { display: none !important; } That is, adding a "-sep" but it doesn't always work. But maybe it was me who didn't apply this chrome correctly. I think that changing context menus is a nice idea for an extension. Using chromes for it is a tedious work. And since there are different types of context menus, at the end, UserChrome.css becomes a mess. Thanks for the replay clav, but that doesn't seem to work. That line is also for userchrome right?
I was going thru several old posts and consolidating for my own prefs, so if you haven't found your answers, take a look at these. The items your looking for are in there. I found that some items, like seperators, do not have id's similar to others, such as "#context-sep-viewbgimage". I've been looking for that one for sometime now and after adding the codes that I didn't already have, it was gone. I have no idea which code took it out, so I'm keeping them all. /*Remove Right Click ContextMenu Items*/ #context-back, #context-bookmarklink, #context-copyemail, #context-sep-copyimage, #context-sep-copylink, #context-forward, #context-sep-open, #context-openlink, #context-openlinkintab, #context-sep-paste, #context-sep-properties, #context-reload, #context-savepage, #context-sep-selectall, #context-viewpartialsource-mathml, #context-viewpartialsource-selection, #context-frame-sep, #context-stop, #context-sep-stop, #context-sep-undo, #context-viewbgimage { display: none !important } #context-showonlythisframe, #context-viewsource, #context-viewinfo { display: none; } menuitem[label="Reload Frame"], menuitem[label="Open in New Window"], menuitem[label="Expand"], menuitem[label="Manage Folder"], menuitem[label="New Folder..."], menuitem[label="Open"], menuitem[label="Open in New Tab"], menuitem[label="Bookmark This Frame..."], menuitem[label="Show Only This Frame"], menuitem[label="Save Frame As..."], menuitem[label="View Frame Source"], menuitem[label="View Frame Info"], menuitem[label="Open Frame in New Window"] { display: none; } /* Remove menu buttons */ menu[label="File"], menu[label="Go"], menu[label="Edit"], menu[label="View"], menu[label="Tools"], menu[label="Bookmarks Toolbar Folder"], menu[label="Help"] { display: none !important; } /* Remove menu items */ menuitem[label="Open Link in New Tab"], menuitem[label="New Window"], menuitem[label="Open File..."], menuitem[label="Close"], menuitem[label="Close Tab"], menuitem[label="Close Window"], menuitem[label="Save Page As..."], menuitem[label="Exit"], menuitem[label="Add to Bookmarks..."], menuitem[label="Bookmarks Toolbar"], menuitem[label="Open in Tabs"], menuitem[label="JavaScript Console"], menuitem[label="Page Info"], menuitem[label="Page Setup..."], menuitem[label="Print Preview"], menuitem[label="Print..."] { display: none; } /* Removes majority of menu separators */ menuitem + menuseparator {display: none;} /* Removes remainder of menu separators except Bookmarks Toolbars..unknown */ menu[label="Sidebar"] + menuseparator, menu[label="Character Coding"] + menuseparator, menu[label="Bookmarks Toolbar Folder"] + menuseparator, menu[label="Mozilla Firebird & Mozilla Information"] + menuseparator, menu[label="Mozilla & Phoenix Information"] + menuseparator, menu[label="Quick Searches"] + menuseparator, menu[label="Middle Eastern"] + menuseparator { display: none !important; } wow! thanks!
there are lots of things there ![]() momokatte told me how to remove the 'open in tabs' and the separator found in bookmarks menu:
/* Hide last item "Open in Tabs" in bookmarks menu */ #openintabs-menuseparator, #openintabs-menuitem { display: none !important; }
63 posts
Page 1 of 5 • 1, 2, 3, 4, 5
Who is onlineUsers browsing this forum: No registered users and 2 guests |
![]() |