<BODY>
<SCRIPT LANGUAGE="JavaScript">
var a="fdjsaklfjdl";
function test(){}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
alert(document.scripts[0].text);
</SCRIPT>
</BODY>

解决方案 »

  1.   

    SCRIPT标签有text属性   :D
      

  2.   

    SCRIPT--------------------------------------------------------------------------------DescriptionSpecifies a script for the page that will be interpreted by a script engine. ResCode within the SCRIPT block that is not contained within a function is executed immediately as the page is loaded. To keep scripts from being displayed on down-level browsers, the SCRIPT block should be nested within a comment block. This element is a block element. PropertiesclassName, defer, document, event, htmlFor, id, innerHTML, innerText, isTextEdit, language, parentElement, parentTextEdit, readyState, sourceIndex, src, style, tagName, text, title, type Methodscontains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, setAttribute Eventsonerror, onload, onreadystatechange HTML ElementSCRIPT 
      

  3.   

    倒,我给你的第一个回复你试了没?那个可以啊,让你看看效果来着SCRIPT标签有text属性可以把它读出来,你要是看到乱码的话,可能是人家加密了的
      

  4.   

    ttyp:谢谢,已经解开了。不过,能帮我解释一下原理么?谢谢!