Help.Web/editor/scripts/moz/source_xhtml_full.htm
(开头部分) 19KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../style/editor.css" rel="stylesheet" type="text/css">
<script>
var sLangDir=window.opener.oUtil.langDir;
document.write("<scr"+"ipt src='../language/"+sLangDir+"/source_html.js'></scr"+"ipt>");
</script>
<script>writeTitle()</script>
<script>
var iconOffsetTop = -72;
var sBaseHREF="";
function doCmd(sCmd,sOption)
{
var idSource = document.getElementById("idSource").contentWindow;
idSource.document.execCommand(sCmd, false, sOption);
}
function bodyOnLoad()
{
var oEditor=window.opener.oUtil.oEditor;
//base handling
sHTML=window.opener.getOuterHTML(oEditor.document.documentElement);
var arrTmp=sHTML.match(/<BASE([^>]*)>/ig);
if(arrTmp!=null)sBaseHREF=arrTmp[0];
var arrBase = oEditor.document.getElementsByTagName("BASE");
if (arrBase.length != null) {
for(var i=0; i<arrBase.length; i++) {
arrBase[i].parentNode.removeChild(arrBase[i]);
}
}
//~~~~~~~~~~~~~
sHTML=recur(oEditor.document.documentElement,"");
//restore doctype (if any) & html
var obj = window.opener.oUtil.obj;
sHTMLDocType=obj.docType;
if(sHTMLDocType!="")
{
//sHTMLDocType=sHTMLDocType.replace(/DOCTYPE/g,"doctype");
sHTMLDocType=sHTMLDocType.replace(/</g,"<");
sHTMLDocType=sHTMLDocType.replace(/>/g,">");
sHTMLDocType="<font color='#000000'>"+sHTMLDocType+"</font>";
}
else sHTMLDocType="";
sHTMLOpenTag=obj.html;
sHTMLOpenTag=sHTMLOpenTag.replace(/HTML/g,"html");
sHTMLOpenTag=sHTMLOpenTag.replace(/</g,"<");
sHTMLOpenTag=sHTMLOpenTag.replace(/>/g,">");
sHTMLOpenTag="<font color='#000000'>"+sHTMLOpenTag+"</font>";
sHTMLCloseTag= "<font color='#000000'></html></font>";
//construct
后面还有 491 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
