(you need an account to see links)
(you need an account to see links)
It seems like some of the constructs that the script depends on like contextmenu and menuitem are now deprecated - that's probably the issue. I tried messing around with it and it seems like the script will always exit on line 24, here:
Code:
if (!("contextMenu" in document.documentElement &&
"HTMLMenuItemElement" in window)) return;
If I comment out that line of code, the script will successfully add the listener that executes initMenu() when right-clicking. From there, it is a matter of finding out another way to edit the context menu. I hope that gets you going in the right direction.