Tip Details Add a Related Tip

Rate as: Positive Negative

Copying text from web pages that block copying

Some websites don't allow you to copy content from them. When you put your mouse on the page you can't select anything. There are two ways around this.

You can view the source of the page and then copy the text from there. In Firefox you can view the source by going to View > Page Source and in IE you can go to View > Source. Once you are viewing the source, you can copy to your hearts content.

If you want something slicker, you can overwrite the javascript that the site is using to block you from copying content. Once you are on the site go to the address bar and enter the following: javascript:void(document.onselectstart=null)

Once you enter it, hit the Enter key. You'll then be able to copy from the web page.
Rating: 100% positive, 1 Vote
Categories: web copy-and-paste javascript
Added: on Dec 02, 2008 at 12:43 pm
Added By: an anonymous user
Searches: web page source javascript view

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Detecting if a variable exists in Javascript

100% positive, 2 comments - last added on Oct 21, 2009 at 2:29 pm
– Tip added by an anonymous user on Jul 22, 2008 at 8:31 am

Telling when an iframe is done loading

85% positive, 3 comments - last added on May 16, 2009 at 7:48 am
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am

Length of associative arrays in Javascript

100% positive, 0 comments
– Tip added by an anonymous user on Nov 04, 2008 at 10:13 am

Enabling right click on web pages

Categories: javascript web security
100% positive, 0 comments
– Tip added by an anonymous user on Jul 19, 2008 at 6:37 am

Don't use onChange events for checkboxes

Categories: HTML DOM javascript web
100% positive, 0 comments
– Tip added by an anonymous user on Oct 01, 2007 at 4:01 pm

reading select element values in javascript in IE7

100% positive, 0 comments
– Tip added by an anonymous user on Jul 17, 2009 at 1:28 pm

Optional parameters in javascript functions

100% positive, 0 comments
– Tip added by an anonymous user on Jul 30, 2008 at 10:44 am

Javascript variable naming

100% positive, 1 comment - last added on Jul 22, 2008 at 8:33 am
– Tip added by an anonymous user on Sep 30, 2007 at 7:28 am

Getting pages to render correctly in IE8

Categories: IE8 web css javascript HTML
100% positive, 0 comments
– Tip added by an anonymous user on Jul 23, 2009 at 10:13 pm

Keep websites from disabling right-click menus

100% positive, 0 comments
– Tip added by an anonymous user on Jan 20, 2009 at 8:08 am

Checking for undefined variables in Javascript

100% positive, 1 comment - last added on Jul 14, 2009 at 5:13 pm
– Tip added by an anonymous user on Jan 14, 2009 at 9:47 am

Viewing CSS and Javascript files

100% positive, 0 comments
– Tip added by an anonymous user on Aug 20, 2008 at 7:27 am

compressing javascript

100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 3:02 pm

Wrap web text to any shape

100% positive, 0 comments
– Tip added by an anonymous user on Dec 16, 2007 at 10:35 am

Code for creating Javascript CSS charts

100% positive, 0 comments
– Tip added by an anonymous user on Aug 21, 2007 at 12:23 pm

Declaring variables in Javascript

Categories: javascript web
100% positive, 1 comment - last added on Aug 17, 2007 at 8:08 am
– Tip added by an anonymous user on Aug 16, 2007 at 9:54 am

How to impress the judges of 2009 Calling All Innovators Contest

no ratings, 0 comments
– Tip added by alvinmood on Jun 12, 2009 at 6:05 am

detecting if a user is logged into Twitter

no ratings, 0 comments
– Tip added by an anonymous user on Jan 07, 2009 at 1:08 pm

attaching events to nodes in Javascript

no ratings, 0 comments
– Tip added by an anonymous user on Aug 18, 2008 at 11:23 am

animating elements with jQuery

0% positive, 0 comments
– Tip added by an anonymous user on Aug 04, 2008 at 1:46 pm