I'm using a website that uses the following code in their html source (as discussed here on Stack Overflow), as a way to disable right-clicking on the web page:
<body oncontextmenu="return false;">
I am assuming the easiest way to permanently and automatically bypass it (using Chrome or Firefox) - without turning off javascript altogether - is to create a simple userscript to remove this string of html code from the page (as doing so with Developer tools confirms it removes the restriction), so in the userscript effectively have it replace this string:
oncontextmenu="return false;"
with nothing - no characters as its replacement.
Is this the best way to bypass this restriction without turning off javascript entirely (including other actually useful scripts on the domain), and if so what would be the code to do it?