Recently, I saw some annoying websites that were not allowed. Right-click the menu, and I didn't want to copy them. What is the secret of HTML?
To maintain justice .....
We have written a cracking script:
The method is to change the Javascript you have written into a line |, written in javascript: {alert (eval, note that no double quotation marks are allowed in the code, and then copy to the address bar for execution, you can operate on any object on the currently opened page. The principle and
<A href = "javascript: Alert ('OK');"> the same
There is also a written column below:
- Create a hook. js on your computer C: Drive (the content is below)
- Then open a webpage. After the webpage is fully opened, enter the following content in the IE Address Bar (enter is not allowed in the middle ):
In the pop-up window, press F11 to enterJavascript: {alert (eval ("Var J = document. createelement ('script'); J. src = 'C:/hook. js'; J. language = 'javascript '; document. body. appendchild (j); ") ;}< br/>
Scroll down the web page after running, and you can see the source code of the web page (and Haha at runtime, even if it is encoded as JS), and place it in the hook. how can you change JS? Anything you want to write can include making the banned button available ##$ % #"Hook. js" content
(Break [anti-right-click, anti-select], you can loop through all the frameworks, remove the annoying JS, and view the runtime source code, and make the scroll bar appear)Alert ('hook: '+ window. location); <br/> var killdocumentcount = 0; <br/> function funkilljsdocument (DOC) <br/>{< br/> Doc. body. scroll = 'yes' <br/> var H = Doc. createelement ('hr'); <br/> Doc. body. appendchild (h); <br/> var DL = Doc. createelement ('div '); <br/> DL. innertext = Doc. parentwindow. location; <br/> Doc. body. appendchild (DL); <br/> var d = Doc. createelement ('div '); <br/> D. style. verticalalign = "super"; <br/> D. style. textalign = "Left"; <br/> D. innertext = Doc. body. innerhtml; <br/> Doc. body. appendchild (d); <br/> Doc. oncontextmenu = new function () {return true ;}; <br/> Doc. onselectstart = new function () {return true ;}; <br/> try <br/>{< br/> var Len = Doc. frames. length; <br/> var I = 0; <br/> for (I = 0; I <Len; I ++) <br/>{< br/> funkilljsdocument(doc.frames.item(iyun.doc ument); <br/> killdocumentcount + = 1 <br/>}< br/> catch (E) <br/>{< br/> alert (E. message); <br/>}< br/> killdocumentcount = 1; <br/> funkilljsdocument (document ); <br/> alert ('hook end kill docment: '+ killdocumentcount );
If you want to loop through all the labels, everyone is a programmer and can modify them by themselves... there are a few alert users who hate to delete them.
Don't do anything illegal .....
If reproduced please inform the author, FlashElf@163.com, Qu bin 2006