1. OncontextMenu = Window.event.returnValue = false will completely shield the right mouse button
<Table Border OnContextMenu = Return (FALSE)> <TD> No </Table> Can be used for Table
2. <body onselectstart = Return false> Cancel selection and prevent copy
3. OnPaste = Return false is not allowed to paste
4. Oncopy = Return false; oncut = Return false;
5. <link REL = SHORTCUT ICON HREF = Favicon.ico> IE Address Board to your own icon
6.
7. <input style = IME-MODE: Disabled> Close the input method
8. You will always bring a framework
<script language = javascript> <!-
if (Window == Top) Top.Location.href = Frames.htm; //Frames.htm is the framework webpage
// -> </script>
9. Prevent people from Frame
<script language = javascript> <!-
if.Location! = Self.Location) Top.Location = Self.Location;
// -> </script>
10. <noscript> <iframe src =*. Html> </iframe> </noScript> The webpage will not be stored separately as
11. <input type = Button value = View web source code
Onclick = window.Location = 'View-source:'+ 'HTTP://www.csdn.net/'>
12. How to check whether the visitor uses an agent through the ASP method
<% if request.servervariables (http_x_Forwardeded_For) <> THEN
Response.write <font color =#ff0000> You have passed the proxy server, & _
The real IP is & Request.servervariables (http_x_Forwards_For)
end if
%>