Inconsistency: Right-click missing Options
menu item for the browser extension
#219
Labels
inconsistency
Inconsistent behavior across browsers
When you install a browser extension and pin its icon to the toolbar of your web browser. For example, with the Turn Off the Lights browser extension, you will see the gray lamp button in your toolbar. If you right-click on the gray lamp button, you will get the context menu of this browser extension.
Missing menu items
However, there is a huge inconsistency in the menu items. In Firefox, there is no menu item
Options
, so the user cannot quickly access the Options page of this browser extension. But in the Google Chrome web browser there is a menu itemOptions
. As a developer, we have to create separate code to detect which web browser the user is using and then show this other menu itemOptions
.Other menu items are not visible such as "Report Extension", "This can read and change site data", "Unpin", etc.
Note: The
Manage extension
menu item is not the opening of the Options page. But the overview page of all your installed browser extensions with the "Turn Off the Lights" description/permission panel open. Such as in Google Chrome chrome://extension and Firefox about:addons.Missing Icons
Furthermore, Firefox has an icon in the menu item. But Google Chrome, Microsoft Edge, and Safari do not have this icon.
Note: In the previous Safari web browser, it did have support for a custom icon to the left of the menu item. However, that support has been removed with the new release of Safari App Extension -> and Safari Web Extension.
Source: https://www.turnoffthelights.com/blog/apple-safari-support-is-dead/
Screenshots of each web browser
Google Chrome (= Microsoft Edge = Opera)
Firefox
Safari
Conclusion
Make the right-click menu items the same for all web browsers. So if the developer has an Options page, add this menu item to the context menu. That is to make the browser extension code universal for all web browsers.
Resources:
The text was updated successfully, but these errors were encountered: