JavaScript Masking class

Source: Internet
Author: User

Block the top right corner of the browser "minimize" "Maximize" "Close" key

Or use full screen to open the page

Note: Add onbeforeunload= "Javascript:return false" to the body tag//so that the window cannot be closed

Five, shielding F5 key

Six, block IE back button when you link to use www.82676666.com

Seven, the Screen main window scroll bar in the body tag plus style= "Overflow-y:hidden"

Eight, shielded copy screen, constantly emptying the Clipboard in the body tag plus onload= "SetInterval (' Clipboarddata.setdata (\ ' text\ ', \ ' \ ') ', 100)"

Nine, shielding the printing function of the website

Ten, shielding IE6.0 pictures automatically appear on the Save Icon method one:

Method Two:

Xi. all script in the screen page

One, shielding keyboard all keys

Second, the right mouse button shield

Add Oncontextmenu=self.event.returnvalue=false to the body tag or:

function Nocontextmenu ()

{

if (document.all) {

Event.cancelbubble=true;

Event.returnvalue=false;

return false;

}

}www.hrbfc120.com

Or:

Third, shielding CTRL + N, SHIFT+F10, F5 refresh, backspace key

JavaScript Masking class

Related Article

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.