Resolve Page Cannot copy text

Source: Internet
Author: User

You will typically add one or more of the following code to the page code <body >:

Onpaste= "return false" no paste

Oncopy= "return false;" no copying.

Oncut= "return false;" Prevent clipping

Onselectstart = "return false" is not allowed to choose

For example: <body onselectstart = "return false"; Onpaste= "return false";

This is a typical statement that does not let you choose to copy.

The first step: Open the site you want to copy

Second step: Save the page to your computer (file | Save As)

Step three: Open the page you just saved with Notepad and find <body onselectstart = "return false"; Onpaste= "return false" > this piece of code (not necessarily exactly),

You put the inside of the code (except body) all deleted, and finally left <body> Save the file.

Fourth step: Double-click the file you just saved, and then open your page.

Many informative web articles often prohibit the use of "copy" and "Paste" commands on Web pages.

The hack method is simple: Click IE's Tools-Internet Options-security, set the security level of the Internet to the highest level, and then refresh the page after OK.

Principle: When the security level is highest, all the controls and scripts cannot be run, and the powerful web-restricting means are all voided.

Resolve Page Cannot copy text

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.