7 Ways To Copy Text From Right-Click Disabled Webpage

INTRODUCTION

ROUNDABOUT WAY TO COPY

Welcome to a guide on how to copy text from a right-click disabled webpage. So you have found this awesome webpage with all the answers that you need, but there is a slight problem – The owner has put on some protection, and it is impossible to copy the text straight from the webpage.

While it may seem to be hopeless at first, there are actually various ways to overcome these “protection”; They are mostly set in place using Javascript and CSS, and all we have to do is to disable or bypass them in creative ways – Read on to find out how!

 

 

1) PRINT TO PDF FILE & COPY FROM THERE

This is probably one of the most reliable ways to bypass the “copy protection” across all different web browsers and platforms.

  • Simply print the webpage.
  • Select “Save as PDF” as the destination.
  • Hit “More settings” and tweak further if you want – Remove the images, add page number, remove the URL, etc…
  • Open the PDF file on your computer, and copy the text.

If you do not have the option to print to PDF, or cannot open PDF files on your PC –  Download and install Adobe Acrobat Reader first.

 

2) “TEXT ONLY” BROWSER EXTENSION

This is probably the next best and easier option when it comes to copying from a “protected” webpage. There are a lot of “text-only” browser extensions that can extract the text and images, minus all the scripts, styles, and advertisements. Once they have been extracted – We can easily copy-and-paste the contents.

 

 

3) EXTENSION TO ENABLE RIGHT CLICK 

So… If the right-click is disabled using Javascript, what is the best way to counter it? Renable it using Javascript. 🙄 Yep, this one is kind of Captain Obvious, but to the folks who don’t speak Javascript – There are also browser extensions to do that:

 

4) DISABLE JAVASCRIPT FOR THE WEBSITE

If Javascript is the one that puts the lock on, then the best way to remove it is not to allow Javascript to run on the page at all. Read this guide on WebNots on how to disable Javascript in Chrome, Firefox, Safari, and Edge.

But please take note that it may not be the best idea, as some websites rely on Javascript to build the contents… Once Javascript is disabled, certain parts of the webpage may no longer look right or load properly anymore.

 

 

5) DISABLE CSS FOR THE WEBSITE

If Javascript is already disabled, right-click is working, but you somehow still cannot highlight a block of text for copying – Then it is probably another “protection mechanism” done with Cascading Style Sheet (CSS). In layman terms, CSS is the cosmetics part of a webpage.

A simple “CSS hack” can be applied to prevent content highlighting, or a simple trick to show “invisible highlighting” to trick users into believing that the text cannot be highlighted. Just like Javascript, there are ways to turn off the stylesheets too, but the visuals might go off:

 

6) VIEW THE SOURCE CODE

Moving on, we have now arrived at the more “hardcore” solutions. When it comes to visiting webpages – Many people probably don’t know that we are actually just downloading scripts (HTML, CSS, Javascript) from the server – What we see in the browser is a nice complete render of all the downloaded scripts.

So essentially, we have access to all the raw scripts when a webpage is fully loaded – We can copy text and contents directly from the source code instead of fighting with the protection on the rendered page.

  • To see the scripts in their “raw HTML” form, hit CTRL-U (shortcut key for view source code).
  • The raw scripts can be pretty hard to read, so just do a CTRL-F (shortcut key for search), and find the paragraph that you want.
  • Simply highlight the chunk that you want and copy it.

You might have noticed that there are quite a lot of HTML tags like <p> <div> <table> – To remove those quickly, just use any of the free online HTML strippers – Copy from the source code, paste it into the online tool to filter out the text.

 

 

7) SAVE THE WEBPAGE

Finally, this method is kind of the most “difficult” one to do, but it is totally “hacker-ish” cool.

  • First, save (CTRL-S) the entire webpage to your computer.
  • If you just want all the images – Most browsers will also save it into your specified folder.
  • If you want to copy the text, simply open the saved .html with any text editor – The default Windows Notepad or Mac TextEdit will do.
  • Search, copy, and paste as usual.

Yep, you now have an offline copy of the webpage to mess with anytime.

 

EXTRA – WHAT ARE EXTENSIONS, ARE THEY SAFE?

Just what are those browser extensions? Simply put, they are “plugins” to add features to the browser, which would otherwise be unavailable. Nope, they are not some hacker stuff, and they are officially supported.

The Chrome Web Store is run by Google, and Firefox Add-ons run by Mozilla. All the submitted extensions will have to be screened and approved before they are available for download. So you don’t have to be too worried about getting the funky viruses from these extensions.

 

 

EXTRA – PLEASE RESPECT THE OTHERS

That is all to the possible methods, and at least one of them should have helped you to copy out the stuff that you want. But before you go around to copy entire webpages, and misuse them on your own website – here is a gentle reminder on “be nice to the others”. Yes, it may seem like a stupid thing to disable copying on the Internet.

But if someone goes through all the pains to implement it, there must be a good reason behind why. One common occurrence on the Internet is content theft, where an a**hole copies the entire article, paste it on their own website and claim it to be their own. So if you want to paste a paragraph on your website, please do remember to credit them. I.E. Source: Some Website.

P.S. To the folks who are thinking to apply this “genius copy-and-paste strategy” on your website – Do some of your own research on DMCA protection, and how the world is fighting against content theft.

 

CLOSING

WHAT’S NEXT?

Thank you for reading, and we have come to the end of this guide. I hope this has helped you, and if you have anything to share with this guide, please feel free to comment below. Good luck and may the cyber force be with you.

Leave a Comment

Your email address will not be published.