Recommended Posts

  beckkeong said:

Just wondering. .is there a way to trim off unwanted options that appear with the context menu that appears when i right click on a tab in firefox?

ive already d/led the Menu editor extension but it dosent give me the option of removing or editing stuff such as reload tabs etc

Go to your Firefox Profile directory (for me it's C:\Documents and Settings\Chris\Application Data\Mozilla\Firefox\Profiles\3s1g687z.default) and open the chrome folder

Open the userChrome-example.css file (or userChrome.css if you've already edited it once before) and then cut and paste the following at the end of that file

/***** Menus and Context menus *****/

/* Hide Context Menuitems */

#context-back,

#context-forward,

#context-reload,

#context-stop,

#context-viewsource,

#context-openlink,

#context-openlinkintab,

#context-viewpartialsource-selection,

#context-selectall,

menuitem[label=View Background Image],

menuitem[label=Reload Tab],

menuitem[label=Reload All Tabs],

menuitem[label=Close Tab] { display: none !important; }

menuitem[label=Open],

menuitem[label=Open in New Tab],

menuitem[label=Expand],

menuitem[label=Manage Folder],

menuitem[label=New Folder...],

menuitem[label=Show Only This Frame],

menuitem[label=Open in New Window],

menuitem[label=JavaScript Console],

menuitem[label=Reload Frame],

menuitem[label=Bookmark 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; }

Obviously, remove the items from this list that you wish to remain in the context menu by putting a "#" in fron of them. Most extensions have their own context items too but they can generally switched off/edited via the specific extensions options.

Don't forget to rename the userChrome-exanple.css to userChrome.css for it to be active for your profile.

Hope this helps.

Edited by shirike
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I assume he would make the same statement in those cases as well.
    • Looks like an alien. Probably is an alien. First it was aaaaallll Azure and drop everything else. Now its aaaaallll AI and drop everything else. Narrow-minded. I really loathe this guy. He's good for shareholders but absolutely nothing else. Dry as desert sand and evil to the bone.
    • Don’t care about a wrestling union. No normal person should care. 
    • Limassol, Cyprus. Just south of Turkey. NOT Russia.
    • Hello, Given the reports of Chinese Mini PCs shipping with malware, I would recommend wiping the machine and performing a clean install of Windows on it before use.  From what I can infer from the reports, the Mini PCs that shipped with malware were not the result of targeted purposeful action on the part of the device manufacturers (which is something that has happened with low-cost Android smartphones and TV boxes from China) but rather due to lax security in the manufacturing process.   Getting back to the subject at hand, there are a few steps you will want to go through before wiping the Mini PC: You can start preparing even before the Mini PC arrives.  Once you have ordered it and know the brand and model, go to the manufacturer's website and download all of the latest device drivers, BIOS (UEFI) firmware updates, machine-specific software (if any), and manuals.  Many Mini PC manufacturers do not do a lot of customization of their device drivers, just shipping whatever device drivers the the silicon vendors provide.  I still recommend downloading them, though, just in case there are some customizations or for initial install since those are the drivers you know the manufacturer validated for the Mini PC.  Store these in a safe place, so you have them ready when the Mini PC arrives. Use Microsoft's Windows Media Creation Tool to create an installation USB.  You can also create a directory on installation USB--like C:\DRIVERS\ or whatnot--and store the extracted device drivers there in case you need them while or after installing Windows. Once the Mini PC arrives, and you have your Windows installation USB available, you can proceed with wiping the PC and doing the clean install.  Here's how you do that, step-by-step: Check the computer and make sure you know how to boot it from a USB flash drive (may be a specific key you have to press when the computer is powered on, or a change to the BIOS (UEFI) firmware settings.  The PC may tell you what key combination you need to press to boot from another drive, or the manual for the PC may it. Plug the USB flash drive into the computer and power it up using the means to have it boot from the Windows install USB. Once the computer finishes booting, it should be at a Windows installation screen. Do not agree to any prompts, copyright licenses, or click on any buttons. Press the Shift + F10 keys together to open a Command Prompt. Run DISKPART to start the command-line disk partitioning utility. The command line prompt will change to DISKPART>. At the DISKPART> prompt, type LIST DISK to get the numbers of all drives installed in the system. Make a note of what number is assigned to what drive (if the Mini PC has more than one drive).  At the DISKPART> prompt, type SEL DISK n  where n is the number of the drive containing Windows. At the DISKPART> prompt, type CLEAN and this will erase the GPT/MBR code from the beginning of the drive. *WARNING:* After performing the clean operation, the drive now be blank/erased, and everything on it will be gone (all files, etc.).  You can exit DiskPart and just continue with the Windows installation as you normally would.  If needed, you can install the device drivers you put on the Windows install media to get your network connection up and running, and from there run Windows Update to get the operating system and device drivers up to date Regards, Aryeh Goretsky
  • Recent Achievements

    • Week One Done
      cac1lll earned a badge
      Week One Done
    • One Month Later
      Falcon.ai earned a badge
      One Month Later
    • Week One Done
      Falcon.ai earned a badge
      Week One Done
    • Dedicated
      EYEREX earned a badge
      Dedicated
    • First Post
      Electronic Person earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      628
    2. 2
      ATLien_0
      237
    3. 3
      Xenon
      166
    4. 4
      neufuse
      143
    5. 5
      +FloatingFatMan
      123
  • Tell a friend

    Love Neowin? Tell a friend!