Removing context menu entries
Firsh last edited by Firsh
I'm using VivaldiHooks and already found that to remove unnecessary entries from the context menu I could call chrome.contextMenus.remove(); however I'm not sure where and when to call it, and how to know the ID of the element I'm trying to remove.
I'm a developer and I often bring up dev tools by clicking the (usually) bottom entry in the menu which was called Inspect. Now there is the (for me) useless Validate and Fullscreen entries, which I'd use far less often than Inspect. It would be easier if Inspect was at the bottom and/or Validate & Fullscreen was removed. For now I can bring up the console with F12 that's no problem, but it takes additional steps to actually inspect the element I wish to inspect -.-
What I tried with no luck:
dLeon last edited by dLeon
On last day Snapshot 1.8.755.3, "Inspect" already moved at most bottom.
You don't need to do anything more.
Anyway, isn't it "Ctrl+Shift+I" (default) will brought you directly using Inspect?
LonM last edited by
chrome.contextMenus.remove("ID")where ID is one of:
ID Item searchWebFor Search selection with default engine selectSearchEngine Choose which to search with
Unfortunately, I don't know of any others and outside of somehow checking every string in the browser source bundle, I can't think of a better way to find them as chrome doesn't offer a