mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 01:59:58 +00:00
Hide cast and browser default menu items in extension pages
This commit is contained in:
@@ -361,3 +361,9 @@ window.addEventListener("load", () => {
|
||||
<PopupApp />
|
||||
, document.querySelector("#root"));
|
||||
});
|
||||
|
||||
window.addEventListener("contextmenu", () => {
|
||||
browser.menus.overrideContext({
|
||||
showDefaults: false
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user