Every now and then I come across sites on the Internet that prevent you from copying some or all of the text displayed to the clipboard, or even selecting it in first place using the mouse or keyboard.

You are watching: How to copy and paste on apex learning

I noticed this on a bank"s site recently for example where I was not allowed to copy the bank account number to the clipboard.

This guide looks at methods to overcome the limitation put in place by websites on the Internet. But first, why do sites implement these restrictions in first place?

While reasons are provided by companies and individuals who implement the functionality on their web properties, the most likely reason is some form of copy protection.


ADVERTISEMENT

Method 1: Turn off JavaScript

*
*
*
*

Article Name
How to highlight and copy text on sites that block it
Description
Some sites block text selection and copying using JavaScript. This guide looks at three methods that allow you to copy text on these sites anyway.
Author
Martin Brinkmann
Publisher
dearteassociazione.org Technology News
Logo
*

Advertisement

About Martin Brinkmann


Martin Brinkmann is a journalist from Germany who founded dearteassociazione.org Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter
View all posts by Martin Brinkmann →

Related content


*

Brave Talk: Video Conferencing for the Brave Browser


*

Is Kape"s acquisition of ExpressVPN cause for concern?


*

Vivaldi 4.2 is out with improved text translation functionality


*

NordVPN vs. Private Internet Access Comparison


*

Microsoft Edge 93 released with Tab Groups and Vertical Tabs improvements


*

Google has added Presearch as a default option on Android devices in Europe


Previous Post: « Why you should delete cookies before signing in to Google or Facebook Next Post: « Check out the image quality of Mozilla"s Daala codec right now

Comments


Niks said on December 24, 2014 at 11:12 am
Reply
Disabling javascript can also help in copying/saving images where right click is disabled . I use this method to download images from instagram .


Paul(us) said on December 24, 2014 at 11:39 am
Reply

Martin, Thanks for again a really interesting to read and easy to understand article.

Niks is mention this above but not answering all of main question so here is main question to you Martin: The only question your article leaves me with is or the above mentioned programs and also your guide to the actions I can follow also works with saving pictures? I often encounter sites who forbid me to save a/the picture(‘s) from there website so I am wondering are there outer methods for saving pictures from those sites? Or is this method working whit who I can save pictures from websites who forbid me to do so?


Martin Brinkmann said on December 24, 2014 at 11:42 am
Reply

Yes disabling JavaScript will do that as well, provided that the images are still displayed after you disable it.


Doc said on December 24, 2014 at 5:45 pm
Reply

You can always view *all* images used in a webpage (except those displayed by plugins like Flash) in Firefox by choosing Tools -> Page Info -> Media tab. This will also allow you to save any images.


willnotbepublished said on December 24, 2014 at 11:57 am
Reply

Sometimes pressing shift, ctrl or alt is enough.

See more: Who Is Bethany Joy Lenz Husband, Children: Facts Surrounding Her Love Life


Anonymous said on October 1, 2019 at 11:36 pm
Reply

dude it worked LOL control shift that is…you rock!


toodess said on December 24, 2014 at 11:57 am
Reply

another method I use, just create a new bookmark, name it as you want and paste this line as URL : javascript:void(document.ondragstart=document.body.ondragstart=null,document.oncontextmenu=document.body.oncontextmenu=null,document.onselectstart=document.body.onselectstart=null,document.onclick=null,document.body.onclick=null,document.onmousedown=document.body.onmousedown=null,document.onmouseup=document.body.onmouseup=null,document.onbeforecopy=document.body.onbeforecopy=null,document.onbeforecut=document.body.onbeforecut=null,document.oncopy=document.body.oncopy=null);

usualiy it works well with Firefox, I don’t have to disable javascript, just send the instruction to re-enable features supposed locked on the Web page


Tom Hawack said on December 24, 2014 at 12:40 pm
Reply

Here I’ve bundled two scripts found on the Web into one and built a bookmarklet called whenever a page refuses right-click and/or refuses text copy. I haven’t yet encountered a page where the bookmarklet would be ineffective. Works with Firefox, elsewhere I don’t know. Bookmarklet’s script : http://pastebin.com/tYiV0UYZ

Copy the script, create a new bookmark, give it as url the script, as name as you wish, call that bookmark on those naughty pages (for those who ignore what a bookmarklet is)


Dwight Stegall said on December 24, 2014 at 2:59 pm
Reply

Reenable Right Click.

Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply


Reply




































































Email