Have you ever tried to highlight text on a webpage to copy, only for nothing to happen? You would probably think that something is wrong with the webpage or your cursor/touchpad. When in fact it is the webpage itself that is blocking you.
Yes, some webpages may prevent you from copying their text. As annoying as it can be, there are ways you can avoid it. Here, we’ll explore five ways to copy webpage text when right-clicking isn’t an option.
Why doesn’t the webpage let you right-click on text?
There are many reasons why specific webpages prevent users from copying their text. The short answer is content theft. By doing this the website can keep its content secure. You may also experience this when trying to save images when you are not allowed to right-click.
But plagiarism of content will not be the only reason for blocking text copy. Some websites believe that disabling the right-click function can improve the user experience, such as preventing users from accidentally clicking links or buttons.
Despite this it may not be beneficial. In this case, you’re trying to copy text, but the website won’t allow you to. Fortunately, there are ways to bypass this.
1. Source Code
This method is best for someone who has a basic knowledge of HTML, which is the code used to create webpages. This method can be confusing for people who are unfamiliar with HTML.
You can view the source code by right-clicking on a webpage and clicking View Page Source from the context menu, or by pressing Ctrl+U. A new tab will open with the HTML code of the webpage.
Plain text will appear in black or white depending on your browser’s theme. Scroll down until you find the text you want to copy, or press Ctrl+F to quickly find it. There, you can click and highlight text and copy it.
Alternatively, you can copy all the HTML code and convert it to text using a conversion site like Word to HTML. Copy all the code and paste it in the HTML tab. The Clean button removes unnecessary code. The Word tab shows you all the contents of the webpage to copy.
2. Inspect Element
You can use the developer tools to copy the text, showing the sidebar with the code on the right and the webpage on the left. To do this, right-click anywhere on the webpage and click Inspect from the context menu.
The Developer Tools should open in the Elements section. If not, click on it from the toolbar at the top. Instead of scrolling, you can press Ctrl+F and start typing the text that will appear in the code for you to copy.
You can use the left icon in the top toolbar or press Ctrl+Shift+C, which allows you to click on an element on a webpage to reveal its location in the element code. If not, click the left arrow in the code to show the text. Now you can copy the text.
Supreme Copy: Enables right-click, context menu, and selection on websites. However, the extension will be disabled by default as it has the potential to break websites. Therefore, it will need to be enabled on a specific website.
5. Screenshot of the text
You can use the Snipping Tool to take a screenshot by pressing Win + Shift + S on Windows or ⌘ + Shift + 4 on Mac. Windows has four options for snipping, Mac has five options.
Don’t capture unnecessary text; Focus only on what you want. Once you draw a shape around the text, the screenshot will automatically be downloaded to your device.