📄 advancedscramble.htm
字号:
<html> <head> <title>yCode JavaScript Advanced Scramble</title> </head> <script src="checkBrowser.js"> </script> <script src="keywords.js"> </script> <script src="simpleHashtable.js"></script> <script src="scramble.js"> </script> <body onload="x944344473926()"> <p><a href="http:\\www.yCode.com" target="_top">yCode Home</a> <a href="scramble.htm">Simple Scramble<a> </p> <font face="Helvetica"> Please select the number of files you'd like to scramble: <select id="NumberFiles" size="1" onchange="x944344473931(this.value)"> <option value="1">1</option> <option selected value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> </form> <p> <font size="-1"> <b>NOTES:</b> <li>"function" keyword, function name, and arguments should be on the same line; arguments should be comma separated; the function body should be on the new line</li> <li>variables should be declared on a separate line using "var" keyword and should be comma separated</li> <li>program statements should be on separate lines and should be terminated with ";" (since white space is removed)</li> <li>javascript keywords will not be scrambled</li> <li>comments are removed; therefore, if comment characters (<i>/</i><i>/</i> and <i>/</i><i>*</i>) are part of a string, convert them as follows: var myString="<i>/</i><i>/</i>"; becomes var myString="/" + "/"; and href="http:<i>/</i><i>/</i>www.yCode.com" becomes href="http:\\www.yCode.com"</li> <li>only up to 2000 characters can be scrambled in the free demo version</li> <li>Click <a href="scramble_example.htm" target="_blank"><b>here</b></a> to see an example</li> <br><br> <b>OPTIONS:</b> <li>if you don't want to encode "this.<i>variable_name</i>", clear this checkbox <input type="checkbox" ID="encodeThisCB" checked> </li> <li>if you don't want to remove white space, clear this checkbox <input type="checkbox" ID="removeWhiteSpaceCB" checked > </li> </font> </p> <table> <tr> <td colspan="2"><table id="MainTableID" border="1" cellpadding="10"> </table> </td> </tr> <tr> <td> <br> <input type="button" name="button" value="Scramble" onclick="x944344473940();"> </td> <td align="right"> <br> <input type="button" name="button" value="Clear All" onclick="x944344473935();"> </td> </tr> </table> <p> <div id="ScrambledValuesDIV" Style="display='none';"> <table> <tr> <td colspan="2"> <b>Scambled Values:</b> </td> </tr> <tr> <td colspan="2"> <textarea id="scrambledValuesTA" rows="10" cols="60" READONLY></textarea> </td> </tr> <tr> <td><input type="button" name="select" value="Select" onclick="document.all.scrambledValuesTA.select(); document.all.scrambledValuesTA.focus();"> <td align="right"> <input type="button" name="clear" value="Clear" onclick="document.all.scrambledValuesTA.value = ''"> </td> </tr> </table> </div> </p> <p> <b>Note:</b> the source code for this page is <a href="http:\\www.yCode.com/yCode/copyright.html">copyrighted<a>. </p><p> Please follow the link to <a href="http:\\www.yCode.com\Scramble\buy_scramble_frameset.htm" target="_top"><b>BUY</b><a> the source code for $15 (USD)<br> (Purchase securely through <a href="http:\\www.ibill.com" target="_blank">ibill</a>, our authorized sales agent). </p> </font> <p><a href="http:\\www.yCode.com" target="_top">yCode Home</a> <a href="scramble.htm">Simple Scramble<a> </p> </body> <SCRIPT> var x944344473925 = 10; function x944344473926() { var x944344473927; var x944344473928; var x944344473929; var x944344473930; for (x944344473930=0; x944344473930 < x944344473925 ; x944344473930++) { x944344473927 = "\ <td><table> \ <tr> \ <td colspan=3> \ <textarea id=\"sourceTA" + x944344473930+ "\" rows=\"4\" cols=\"40\"></textarea> \ </td> \ </tr> \ <tr> \ <td> \ <input type=\"button\" name=\"select\" value=\"Select\" \ onclick=\"document.all.sourceTA" + x944344473930 +".select(); document.all.sourceTA" + x944344473930 + ".focus();\"> \ </td> \ <td align=\"center\"> <b>" + (x944344473930+1) + "</b></td> \ <td align=\"right\"> \ <input type=\"button\" name=\"clear\" value=\"Clear\" \ onclick=\"document.all.sourceTA" + x944344473930 +".value=''; document.all.sourceTA" + x944344473930 + ".focus();\"> \ </td> \ </tr> \ </table> \ </td> "; x944344473928 = document.all.MainTableID.insertRow(); if (x944344473930 > (document.all.NumberFiles.value-1)) { x944344473928.style.display="none"; } x944344473929 = x944344473928.insertCell(); x944344473929.innerHTML = x944344473927; if ((x944344473930 % 2) != 0) { x944344473928.style.background = "#DFDFDF"; } } } function x944344473931(x944344473932) { var x944344473933; var x944344473934 = document.all.MainTableID.rows; for (x944344473933=0; x944344473933 < x944344473932; x944344473933++) { x944344473934[x944344473933].style.display = ""; } for (x944344473933=x944344473932; x944344473933 < x944344473925; x944344473933++) { x944344473934[x944344473933].style.display = "none"; } } function x944344473935() { var x944344473933; for (x944344473933=0; x944344473933 < x944344473925; x944344473933++) { document.all["sourceTA" + x944344473933].value = ''; } document.all.scrambledValuesTA.value = ''; } </SCRIPT> </html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -