Removing annoying click-handling logic from websites
Solution 1
I have found all these extensions for Chrome. One of them surely will work for you:
- Enable Copy (300,000+ users)
- Absolute Enable Right Click & Copy (80,000+ users)
- Enable Right Click (60,000+ users)
- Allow Right-Click (2,000+ users)
(Seems like this annoyance has motivated many developers.)
Solution 2
I have been using the FF version of this extension and it works fine:
Absolute Enable Right Click & Copy
Solution 3
As part of uBlock Origin
which many (over 10 million) people are using (including myself) and is the de-facto best ad-blocker available. You can simply disable javascript for the site, which allows you to select and copy-paste the text.
Solution 4
If you don't mind removing all event listeners from the current page:
- Open Chrome Dev Tools (Ctrl+Shift+I) and select Console
- Type the following to remove all event listeners:
$("*").off();
- Alternatively, to remove all right-click listeners:
$("*").off("contextmenu");
It's a good way to do that particular task without installing any 3rd party add-ons.
Solution 5
NoScript should help you with most websites which mess with context menus and other annoying things that mess with website experience. It auto-blocks all scripts which it considers unsafe. You can also manually experiment with it for specific sites. This should also prevent clipboard modification.
You can individually prevent specific scripts from running on each site with this extension. It works on next-pro pretty well.
ScriptSafe is another alternative with a different UI.
Comments
-
Ram Rachum over 1 year
There are a lot of websites out there that block your ability to right click or select text. I believe it's done as a sort of half-assed security measure to prevent people from copying text or images. Of course, it's always possible to circumvent that by using DevTools, it's just more time-consuming and annoying.
Here are a couple of examples, sorry for the Hebrew:
-
On this store, I wanted to select and copy the product name (Behringer MicroMix MX400), but there's "protection" against marking text, right-clicking and possibly copying.
-
On my broker's website I wanted to right-click the username field so I could do "inspect element" on it, but it won't let me. I was still able to find the element manually in DevTools, but it took more time.
-
Some websites do let you copy text, but they add their own custom text snippets to the text you copy, usually with a link to that site. Very annoying.
I assume that these "protections" are implemented by listening to events such as clicks and ctrl-C.
Is there a solution for disabling all these annoying "protections" from websites? (specifically in Chrome).
-
-
TJL almost 4 yearsFF version: addons.mozilla.org/en-US/firefox/addon/…
-
Tuomas Valtonen almost 4 yearsOnly works with websites which uses jquery and exposes it as $
-
Dwhitz almost 4 yearsYou can automate this behaviour using something like tampermonkey (that manage userscripts) and then you can create your own userscript that load jquery if not present and then do that trick for you.