Mask right-click
Web screen security
Function screensave () {
Test.Value ;
IF (Test.Value == 5) {
Test.style.display = 'none';
Document.all [4] .bgcolor = 'black';
}
}
Function screenopen () {
Test.value = 0;
Test.Style.Display = '';
Document.all [4] .bgcolor = '';
}
script>
5 seconds protection
Define the size of the start window while opening the web page
WINDOW.RESizeto (500, 300)
script>
Enter the letter and number of regular expressions
The same button in a form submits two pages
Function testform () {
WINDOW.OPEN ('', 'T1');
Form1.action = '1.htm';
Form1.target = 'T1';
Form1.submit ();
WINDOW.OPEN ('', 'T2');
FORM1.Action = '2.htm';
Form1.target = 'T2';
Form1.submit ();
WINDOW.OPEN ('', 'T3');
Form1.action = '3.htm'; form1.target = 't3';
Form1.submit ();
}
script>