Encounter some websites, webmaster banned the right button, or other methods to copy the text of the Web page, get a good annoying ah, although this is a trick, but more or less caused some inconvenient, a few days ago found this solution can not reproduce the problem of small methods, a line of code that is done, is the following line:
Common Solutions
One is to save the page, and then copy
Second, in view-the original code-look at but the text you want
Three, is changed the browser, want to know to disable script, you change a browser on OK
Workaround one, use the command to prohibit JS
The code is as follows |
Copy Code |
Javascript:alert (Document.onselectstart = Document.oncontextmenu = Document.onmousedown = Document.onkeydown = function () {return true;}); |
Use the method, copy this line of code to the Address bar, and then enter. Again to copy the text of the page, Magic Bar, text can be copied ~ to tell your friends this method.
Workaround two, browser disables script
1.
browser using the IE kernel , 360 browsers to use
compatibility mode , open the Internet Properties page.
2. Select
"Custom Level" to find the following settings
3. Set Java
"applet script" and
"Active Scripting " to disable and then OK, and finally refresh the page all ok!