DIY Gospel: Firefox menu and right-click menu ID Daquan

Source: Internet
Author: User

Every toss of Firefox DIYer is the angel of the Wings of life, to their own!

When you polish the Firefox interface, you hide some of the menus you don't normally use, and the general practice is to install the DOM Inspector extension right-click to find the relevant ID hidden away, but for beginners it is undoubtedly difficult, this time this article is used, Find the ID of the hidden menu you need and hide it with Display:none.

For example, we want to hide the "Send link" in the right-click menu, create a new style in stylish, write

#context-savelink{display:none!important;}

Can be hidden away.

Firefox menu and right-click menu ID Daquan

/* Page Right-click menu */
#spell-no-suggestions,/* (no spelling suggestions) */
#spell-add-to-dictionary,/* Add to Dictionary */
/* #spell-suggestions-separator,/* First line Split line------------------*/
#context-openlinkincurrent,/* Open Link */
/* #context-openlinkintab,/* Open in new tab */
/* #view-userscript,/* View the user script source code */
/* #install-USERSCRIPT-SEP,/* Split line on the second line---------------------*/
#context-openlink,/* opens in a new window */
#context-openselectedlinksintab,/* Open the selected link in a new tab []*/
/* #context-sep-open,/* Split line on the third line-------------------*/
#context-bookmarklink,/* Bookmark this link */
/* #context-savelink, link Save as */
#context-sendlink,/* Send Link */
#context-copyemail,/* Copy e-mail address */
/* #context-copylink,/* Copy the link address */
/* #context-sep-copylink,/* Split line on line fourth----------------------*/
#context-media-play,/* Play */
#context-media-pause,/* Pause */
#context-media-mute,/* Mute */
#context-media-unmute,/* Restore Sound */
#context-media-showcontrols,/* Display Control interface */
#context-media-hidecontrols,/* Hide Control Interface */
#context-video-fullscreen,/* fullscreen */
/* #context-media-sep-commands,/* Split line on line Fifth-------------------*/
/* #context-reloadimage,/* Reload image */
/* #context-viewimage, view picture */
#context-viewvideo,/* View Video */
/* #context-copyimage-contents,/* Copy image */
/* #context-copyimage, copy the image address */
#context-copyvideourl,/* Copy Video address */
#context-copyaudiourl,/* Copy Audio address */
/* #context-sep-copyimage,/* Split line on line sixth------------------*/
/* Save #context-saveimage,/* picture as ... */
#context-sendimage,/* Send Pictures ... * *
#context-setdesktopbackground,/* set to desktop background ... */
/* #context-viewimageinfo,/* View picture information */
#context-savevideo,/* Video Save As */
#context-saveaudio,/* Audio Save As ... */
#context-sendvideo,/* Send video */
#context-sendaudio,/* Send audio */
#context-back,/* Back * *
#context-forward,/* Forward * *
#context-reload,/* Reload */
#context-stop,/* Stop */
/* #context-sep-stop,/* Split line on line seventh------------------*/
/* #context-bookmarkpage,/* Bookmark this page */
/* #context-savepage,/* page Save As */
#context-sendpage,/* Send Page */
/* #context-sep-viewbgimage,/* Split line on line eighth--------------------*/
#context-viewbgimage,/* View background picture * *
#context-undo,/* Undo */
#context-sep-undo,/* Split line on line Nineth----------------------*/
/* #context-cut,/* Cut */
/* #context-copy,/* Copy */
/* #context-paste,/* paste */
#context-delete,/*/* Delete */
#context-sep-paste,/* Split line on line Tenth-----------------------*/
#context-selectall,/* Select all */
#BatchDownload,/* Bulk Download ... */
/* #BatchDownloadImage,/* Download all images in bulk ... */
#BatchDownloadwithkey,/* Bulk Download Use keywords */
#BatchDownloadwithImageLink,/*build Gallery with image link */
#OpenImageLinkInTab,/* Create gallery using links */
#BatchDownloadwithSelAllLink,/*build Gallery with all selected Links */
#OpenSelLinkInTab,/* Create a gallery using the selected link: */
#context-sep-selectall,/* Split line on line 11th------------------*/
#context-keywordfield,/* Add keywords to this search ... * *
/* #context-searchselect,/* through ... Search "..."*/
#frame-sep,/* Split line on line 12th----------------------*/
#frame,/* This frame */
/* #context-viewpartialsource-selection,/* View selected source code */
#context-viewpartialsource-mathml,/* View MathML Source code */
#context-sep-viewsource,/* Split line on line 13th----------------------*/
/* #context-viewsource,/* View page source code */
/* #context-viewinfo,/* View page information */
#spell-separator,/* Split line on line 14th--------------------*/
#spell-check-enabled,/* spelling checker */
#spell-add-dictionaries-main,/* Add Dictionary */
#spell-dictionaries,/* Language * *
#context-sep-bidi,/* Split line on line 15th--------------------------*/
#context-bidi-text-direction-toggle,/* Switch Text direction */
#documentDirection-swap,/* Switch page orientation */
#autopager-context-separator1,/* Split line on line 16th-------------------------------*/
#netvideohunter-menuitem/*netvideohunter*/
/* #abp-removewhitelist-menuitem,/*adblock Plus: Re-enable on this page */
/* #abp-frame-menuitem,/* Filter FRAME (Adblock Plus) */
/* #abp-object-menuitem,/* Filter object (Adblock Plus) ... */
/* #abp-media-menuitem,/* Filter video/audio (Adblock Plus) ... */
/* #abp-image-menuitem,/* filter image (Adblock Plus) ... */
{Display:none!important;}

/* tab bar Right-click menu */
/* #tabContextMenu > Menuseparator:nth-child (3),/* Split line 1*/
#tabContextMenu > Menuseparator : Nth-child (6),/* Split line 2*/
#tabContextMenu > Menuseparator:nth-child (17),/* Split line 3*/
#context_pinTab,/* PIN to Application tab */
#context_openTabInWindow,/* Move to new window */
#context_reloadAllTabs,/* Reload all Tabs */
#context_ bookmarkalltabs,/* Add all tabs to bookmarks */
#context_undoCloseTab,/* Restore closed Tabs */
#menu_restoreAllTabs/* Restore all Tabs */
{ Display:none!important;
#appmenu_help,/* help */
/* #appmenu_openHelp,/*firefox help */
/* #appmenu_gettingStarted,/* Novice Road */
/*# appmenu_troubleshootinginfo,/* Troubleshooting information */
/* #appmenu_feedbackPage,/* Submit feedback */
/* #appmenu_helpMenupopup > Menuseparator:nth-child (5),/* Split line 1*/
/* #appmenu_safeMode,/* Restart and disable add-ons */
/* #appmenu_helpMenupopup > Menuseparator:nth-child (7),/* Split line 2*/
/* #appmenu_about,/* for Firefox */
#appmenu-split/* End Split Line */
{Display:none! Important }

/* Bookmarks Menu */
/* #bookmarksMenu,/* Bookmark Menu Overall Options */
/* #bookmarksShowAll,/* Show all bookmarks */
#organizeBookmarksSeparator, /* Split Line 1*/
#menu_bookmarkThisPage,/* Bookmark this page */
#subscribeToPageMenuitem,/* Subscribe to this page */
# subscribetopagemenupopup,/* Bookmark All Tabs */
#menu_bookmarkAllTabs,/* Open all Bookmarks */
/* #bookmarksToolbarSeparator,/* Split Line 2*/
/* #bookmarksToolbarFolderMenu,/* Bookmarks Toolbar */
/* #bookmarksMenuItemsSeparator,/* Split line 3*/
# Bookmarksmenupopup > Menuseparator:nth-child (10),/* Split line 4*/
#bookmarksMenuPopup > Menuseparator:nth-child ( 11)/* Split line 5*/
/* #menu_unsortedBookmarks/* Uncategorized Bookmarks */
{display:none!important;}

/* File Menu */
#file-menu,/* File menu options */
/* #menu_FilePopup,/* File menu Overall options */
/* #menu_newNavigatorTab,/* new TAB */
#menu_newNavigator,/* New window */
#menu_openLocation,/* Open Local */
/* #menu_openFile,/* Open File */
#menu_close,/* close Tab */
#menu_closeWindow,/* Close window */
/* #menu_FilePopup > Menuseparator:nth-child (7),/* Split Line 1*/
#menu_savePage,/* Save page as */
#menu_sendLink,/* Send link */
#menu_FilePopup > Menuseparator:nth-child (10),/* Split Line 2*/
#menu_printSetup,/* Print settings */
#menu_printPreview,/* Print Preview */
#menu_print,/* print */
#menu_FilePopup > Menuseparator:nth-child (14),/* Split Line 3*/
/* #menu_import,/* Import */
#menu_FilePopup > Menuseparator:nth-child (16),/* Split Line 4*/
/* #goOfflineMenuitem,/* Work Offline */
#menu_FileQuitItem/* Exit */
{Display:none!important;}

/* View Menu */
/* #view-menu,/* View menu Overall options */
/* #viewToolbarsMenu,/* Toolbar */
/* #toggle_toolbar-menubar,/* menu bar */
/* #toggle_nav-bar,/* navigation toolbar */
/* #toggle_PersonalToolbar,/* Bookmarks Toolbar */
/* #toggle_addon-bar,/* Add-ons toolbar */
#viewToolbarsMenu > Menupopup > Menuitem:nth-child (5),/*all-in-one Sidebar toolbar */
/* #viewToolbarsMenu > Menupopup > Menuseparator:nth-child (6),/* Split Line 1*/
/* #menu_tabsOnTop,/* Tab Top */
/* #viewToolbarsMenu > Menupopup > Menuseparator:nth-child (8),/* Split Line 2*/
/* #menu_customizeToolbars,/* Customize */
/* #viewSidebarMenuMenu,/* side bar */
/* #menu_bookmarksSidebar,/* Bookmark */
/* #menu_historySidebar,/* History */
/* #bookmarks_sep,/* Split Line 1*/
/* #downloads-mitem,/* Download */
/* #addons-mitem,/* add-ons */
/* #viewSidebarMenu > Menuseparator:nth-child (6),/* Split Line 2*/
/* #multipanel-mitem,/* Multi-use panel */
/* #pageinfo-mitem,/* Page Info */
/* #console-mitem, JavaScript/* Console */
/* #aios-SIDEBAR-MITEM-SEP1,/* Split Line 3*/
/* #stylish-view-sidebar,/*stylish*/
/* #aios-sidebar-mitem-sep0,/* Split Line 4*/
/* #aios-SIDEBAR-MITEM-PANELTAB1,/* Open the sidebar */
/* #aios-SIDEBAR-MITEM-PANELTAB2,/* Open the sidebar */
/* #aios-sidebar-mitem-show,/* Open the sidebar */
/* #aios-sidebar-mitem-hide,/* Open the sidebar */
/* #aios-sidebar-mitem-prefs,/* Open the sidebar */
#abp-blockableitems,/*adblock plus:/* Filter Items */
/* #menu_viewPopup > Menuitem:nth-child (4),/* side bar Toggle Handle */
#menu_viewPopup > Menuseparator:nth-child (5),/* Split Line 1*/
/* #menu_viewPopup > Menuitem:nth-child (6),/* Sidebar handles */
#menu_stop,/* Stop */
#menu_reload,/* Reload */
#menu_viewPopup > Menuseparator:nth-child (9),/* Split Line 2*/
/* #viewFullZoomMenu,/* Zoom */
/* #menu_zoomEnlarge,/* enlarge */
/* #menu_zoomReduce,/* Zoom out */
/* #viewFullZoomMenu > Menupopup > Menuseparator:nth-child (3),/* Split Line 1*/
/* #menu_zoomReset,/* Reset */
/* #viewFullZoomMenu > Menupopup > Menuseparator:nth-child (5),/* Split Line 2*/
/* #toggle_zoom,/* Zoom Text Only */
/* #pageStyleMenu,/* page style */
/* #menu_pageStyleNoStyle,/* No style */
/* #menu_pageStylePersistentOnly,/* Basic page style */
/* #pageStyleMenu > Menupopup > menuseparator,/* Split Line */

/* #charsetMenu,/* Character encoding */
/* #menu_viewPopup > Menuseparator:nth-child (13),/* Split Line 3*/
/* #fullScreenItem,/* fullscreen */
/* #menu_showAllTabs,/* Show all Tabs */
#documentDirection-separator,/* Split Line 4*/
#documentDirection-swap
{Display:none!important;}

/* Tools menu */
/* #tools-menu,/* Tools menu Overall Options */
#menu_search,/* Web search */
#browserToolsSeparator,/* Split line 1*/
#menu _opendownloads,/* Download */
#menu_openAddons,/* add-ons */
#sync-setup,/* Set sync */
#sync-syncnowitem,/* sync */
# Devtoolsseparator,/* Split line 2*/
#autopager-menu,/* Auto-Flip */
#webDeveloperMenu,/*web Developer */
#menu_pageInfo,/* Page Info */
#sanitizeSeparator,/* Split line 3*/
/* #privateBrowsingItem,/* Enter private browsing mode */
/* #sanitizeItem,/* Empty recent browsing history */
#batchdownload-toolsmenu,/* Bulk Download Settings */
/* #prefSep,/* Split line 4*/
#menu_tuOptions,/*tab untilties options */
/*# Menu_preferences,/* options */
#abp-menuitem,/*adblock plus...*/
/* #gm_general_menu,/*greasemonkey*/
# Menueditor-options-fx
{display:none!important;}

/* Help Menu */
/* #helpMenu,/* Help menu overall options */
#menu_openHelp,/*firefox help */
#troubleShooting,/* Troubleshooting information */
#feedbackPage,/* Submit feedback */
/* #helpSafeMode,/* Restart and disable add-ons */
/* #menu_HelpPopup > Menuseparator:nth-child (5),/* Split Line 1*/
#menu_HelpPopup_reportPhishingtoolmenu/* Reporting Fraudulent websites */
/* #menu_HelpPopup_reportPhishingErrortoolmenu,/* This is not a fraudulent website * *
#aboutSeparator/* Split Line 2*/
/* #aboutName/* About Firefox */
{Display:none!important;}

/* Left Sidebar */
#appmenu_newTab,/* new TAB */
#appmenu_newTab > Menupopup > menuseparator,/* New tab Sub-menu Split line */
#appmenu_privateBrowsing,/* Enter privacy mode */
#appmenu_offlineModeRecovery,/* Work Offline */
#appmenuPrimaryPane > Menuseparator:nth-child (4),/* Split Line */
#appmenuPrimaryPane > hbox,/* Edit menu Superior Layout */
#appmenu-edit-label,/* edit */
#appmenu-cut,/* cut */
#appmenu-copy,/* copy */
#appmenu-paste,/* paste */
#appmenuPrimaryPane > Hbox > Spacer,/* blank */
#appmenu-editmenu,/* Edit Menu */
#appmenu_find,/* Find */
#appmenuPrimaryPane > Menuseparator:nth-child (7),/* Split Line */
#appmenu_savePage,/* Save page as */
#appmenu_sendLink,/* Send page */
#appmenu_print,/* print */
#appmenuPrimaryPane > Menuseparator:nth-child (11),/* Split Line */
#appmenu_webDeveloper,/* Web Developer */
#appmenuPrimaryPane > Menuseparator:nth-child (13),/* Split Line */
#appmenu_fullScreen,/* fullscreen */
#sync-setup-appmenu,/* Set Sync */
#sync-syncnowitem-appmenu,/* Sync */
#appmenu-quit,/* exit */
/* #javascriptConsole,/* Error console added by script */
/* #sanitizeItem,/* Empty recent history added by script */

/* Right Sidebar */
#appmenu_bookmarks,/* bookmarks */
#appmenu_history,/* History * *
#appmenu_downloads,/* Download */
#appmenuSecondaryPane-spacer,/* Blank right column */
#appmenu_addons,/* add-ons */
#appmenu_customize,/* option */
/* #appmenu_preferences,/* option */
/* #appmenu_customizeMenu > Menuseparator:nth-child (2),/* Split Line 1 */
/* #toggle_toolbar-menubar,/* menu Bar */
/* #toggle_nav-bar,/* navigation toolbar */
/* #toggle_PersonalToolbar,/* Bookmarks Toolbar */
/* #toggle_addon-bar,/* Add-ons bar */
/* #appmenu_customizeMenu > Menuseparator:nth-child (7),/* Split Line 2 */
/* #appmenu_toggleTabsOnTop,/* Tab Top */
/* #appmenu_toolbarLayout,/* Toolbar layout */

Original: http://sunbox.cc/firefox-menu-id.html

DIY Gospel: Firefox menu and right-click menu ID Daquan

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.