Some sites block right-click, text selection, or copy shortcuts to protect content or reduce scraping. Banks sometimes do it on payment pages. For normal reading and research, these blocks are easy to bypass in your own browser.
Pair this with our best Chrome extensions list, useful bookmarklets, and how to access blocked websites when a site limits more than copying.
Ways to restore right-click and copy
1. Block JavaScript for one site
Built-in
Most copy blocks listen for the contextmenu, copy, or selectstart events in JavaScript.
- Click the padlock or site-info icon left of the address bar.
- Open Site settings.
- Set JavaScript to Block.
- Reload the page and try right-click or copy again.
To block JavaScript everywhere, open chrome://settings/content/javascript and choose Do not allow sites to use JavaScript, then add exceptions for sites you trust.

2. Use a browser extension
Easiest
Extensions override the handlers sites attach at load time. Most toggle right-click and text selection together.
- Chrome: Enable Right Click and Copy
- Firefox: Absolute Enable Right Click & Copy
Turn the extension on only for the tab you need, then disable it elsewhere. See extensions that work in Incognito if you browse in private mode.
3. Run a bookmarklet
No install
A bookmarklet is JavaScript saved as a bookmark. Drag this link to your bookmarks bar, open the blocked page, then click it:
javascript:void(document.oncontextmenu=null)To reset a body attribute some sites set:
javascript:void(document.body.removeAttribute("oncontextmenu"))
4. Paste code in DevTools Console
One-off
Press F12 (or Ctrl+Shift+J / Cmd+Option+J), open the Console tab, paste, and press Enter:
document.oncontextmenu=null
document.onselectstart=null
document.oncopy=nullThis lasts until you reload. Use it when you do not want to install an extension for a single paragraph.
5. Inject fixes with User JavaScript and CSS
Per-site rules
The User JavaScript and CSS extension runs your own snippets on matching URLs.
Example URL patterns:
www.example.com/*(all pages on one host)*.example.com/*(include subdomains)*(every site, use sparingly)
Add the console lines from method 04 as JS, or pair with the CSS below for sites that block highlighting with user-select: none.

More detail in our guide to add CSS and JavaScript to any webpage.
6. Override CSS user-select
Text highlight
When you can right-click but cannot highlight text, the page CSS may set user-select: none. Inject:
* {
-webkit-user-select: text !important;
user-select: text !important;
}Use the User JavaScript and CSS extension above, or any stylesheet injector you already trust.
Why do websites disable right-click?
Is it legal to bypass copy protection on a website?
Will disabling JavaScript always work?
Which method is safest for banking sites?
Do bookmarklets work in Firefox and Edge?
Why does copy work until I refresh?

Amit loves new tech and apps that make life easier, he writes about apps, games and useful websites on TheTechBasket.






