1. Disable copying (copy), disable right mouse button! <SCRIPT> // Join page protection function rf() {return false; } = rf function keydown() {if( ==true || ==93 || ==true){return false;} } =keydown function drag() {return false;} =drag function stopmouse(e) { if ( == 'Netscape' && ( == 3 || == 2)) return false; else if ( == 'Microsoft Internet Explorer' && ( == 2 || == 3)) { alert("Copyright does not have, but don't copy :)"); return false; } return true; } =stopmouse; if () (); =stopmouse; </SCRIPT> <script language="javascript"> function JM_cc(ob){ var obj=MM_findObj(ob); if (obj) { ();js=();("Copy");} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=("?"))>0&&) { d=[(p+1)].document; n=(0,p);} if(!(x=d[n])&&) x=[n]; for (i=0;!x&&i<;i++) x=[n]; for(i=0;!x&&&&i<;i++) x=MM_findObj(n,); if(!x && ) x=(n); return x; } </script> 2. JS and HTML are transferred ~~~~~~~~~~ <body> <style> body{font-size:9pt} textarea {color="#707888";font-family:"verdana"} .inputs {color="#707888";border:1px solid;background:#f4f4f4} </style> Enter the format you need to convert here, either JavaScript or DHtml. <br> <textarea style="width:730;height:300"> </textarea> <br> <button class="inputs"> Clear output </button> <button class="inputs"> Select all code </button> <button class="inputs"> Copy code </button> <button class="inputs"> Paste code </button> <button class="inputs"> Js to Html </button> <button class="inputs"> class="inputs"> Html to Js </button> <button class="inputs"> Click to display the source file </button> <button class="inputs"> Preview code [F12] </button> <br> This is the window of the output format: <br> <textarea style="width:730;height:300"></textarea> <br> A bad news: This Js to Html part now only supports generated by this program <br> Author: FlashSoft2000 QQ:14433548 <input style='display:none'> <script> //Define title="multifunction web page conversion" //Show web page source file function writes() { =; } //Clear the output window function clears() { =''; } //Replace specific characters //n1 string, the word to be replaced by n2, and the word to be replaced by n3 function commute(n1,n2,n3) { var a1,a2,a3=0,a0='' a1=; a2=; for(x=0;x<=(a1-a2);x++) { if(x,a2)==n2) { a0+=(a3,x); a0+=n3; x+=(a2-1); a3=x+1; } } if(a3<a1)a0+=(a3,a1) { return a0; } } //Convert JavaScript to DHtml function js2html() { = =commute(,'\\"','"'); =commute(,'("',''); =commute(,'")',''); =commute(,'<script>',''); =commute(,'<\/script>',''); =commute(,'<\/script>',''); =commute(,'<\/script>',''); =commute(,'<\/script>',''); =commute(,'"++"\")<\/script>" } //Preview code function seeHtm() { open().("<title>test code window</title>"+); } //Preview with the shortcut key F12 =seeHtms function seeHtms() { if((==123)) { open().("<title>test code window</title>"+); } } //Select code all function ta() { () } //Copy code function tc() { ("Copy") } //Paste code function tp() { () ("Paste") } </script>
Previous page12345Next pageRead the full text