Three.Three.js: Particles with a Custom Particle System.Author admin Posted on JJCategories Firefox, Web Tags firefox, firefox extension, firefox extension development Post navigation There are many reasons why you may be facing the Firefox right-click menu not working error, and here I will discuss some of them. That’s how you create a context menu item! Firefox has many context menus available to customize so this is a broad technique that would improve many extensions. The affected users have reported that they cannot right-click in Mozilla Firefox at all, but the right-click functionality works fine everywhere else. When clicked, it should open the link in a muted tab to the right of the current tab. You should see the menu option pop up at the bottom of the context menu with other extension items. Find a website with links to open, and right-click.
Step 3: TestĪdd the extension in about:debugging. It first checks if the menu item that was clicked is our own and then opens the linkUrl in a new tab. The onClicked listener code adds an async function as a listener. For other properties available for menu items, such as icons, refer to Mozilla’s documentation on menus. The menu item also has an id, which allows us to filter onClicked events to only those from our item. Note that Firefox has many different right-click menus available to add actions to, so think carefully about which context(s) your action is applicable to and add them to the contexts array. This code first creates the context menu item, and places it on the context menu for links.