How to Copy Protected Text by Disabling JavaScript
Have you ever tried to copy text from a website, only to find that right-clicking and text selection are completely blocked?
It’s incredibly frustrating when websites prevent you from copying content or saving images.
The good news?
These restrictions are implemented using JavaScript, which means you can easily bypass them by disabling JavaScript in your browser.
In this guide, I’ll show you how to disable JavaScript in Chrome to copy protected text and download images from any website.
Step 1: Open Developer Tools
Click the three-dot menu button in the top-right corner of Chrome.
Navigate to More Tools → Developer Tools.
💡 Pro Tip: Use keyboard shortcuts for faster access:
- Windows/Linux: Press F12 or Ctrl+Shift+I
- macOS: Press Option(⌥)+Command(⌘)+I
Step 2: Disable JavaScript
Once the Developer Tools panel opens, it might look overwhelming—but don’t worry! We only need one setting.
- Look for the gear icon (⚙️) in the top-right corner of the Developer Tools panel
- Click it to open the Settings
- Scroll down to the Debugger section
- Check the box next to “Disable JavaScript”
That’s it! You should now be able to drag, select text, and right-click on the website immediately.
How Does This Work?
Web browsers like Chrome naturally support text selection and right-clicking as core features. However, some websites use JavaScript code to block these default functions.
When you disable JavaScript, these blocking scripts can’t run, which means all the browser’s original features work normally again—including copying text and right-clicking to save images.
⚠️ Important Note: Remember to re-enable JavaScript when you’re done! Many modern websites rely on JavaScript to function properly, so leaving it disabled may cause issues on other sites.
To re-enable JavaScript, simply uncheck the “Disable JavaScript” option in Developer Tools settings.
See ya~