lt;/script> <img src=".." onload = "DrawImage(this)">
//细线SELECT
<span style="border:1px solid #000000; position:absolute; overflow:hidden;" > <select style="margin:-2px;"> <option>1111</option> <option>11111111111111</option> <option>111111111</option> </select></span>
//Import
function Import() { for( var i=0; i<arguments.length; i++ ) { var file = arguments[i]; if ( file.match(/\.js$/i)) document.write(''<script type=\"text/javascript\" src=\"'' + file + ''\"></sc'' + ''ript>''); else document.write(''<style type=\"text/css\">@import \"'' + file + ''\" ;</style>''); } };
//js枚举
function getComputerName() { var objWMIService = GetObject("Winmgmts:root\cimv2"); for(e = new Enumerator(objWMIService) ; !e.atEnd() ; e.moveNext()) { var getComputer = e.item(); return getComputer.Name; } }
//条件编译
<script language=javascript> /*@cc_on @*/ /*@if (@_win32 && @_jscript_version>5) function window.confirm(str) { execScript("n = msgbox(''"+ str +"'', 257)", "vbscript"); return(n == 1); } @end @*/ </script>
//取得innerText
<SCRIPT LANGUAGE="JavaScript"> <!-- var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.4.0"); var currNode; xmlDoc.async = false; xmlDoc.async = false; xmlDoc.loadXML("<TABLENAME> 你好你阿三 大法 司法等四 </TABLENAME>"); currNode = xmlDoc.documentElement; var s = currNode.xml; var r = /\<([^\>\s]*?)[^\>]*?\>( |