footer.js

来自「一个jpeg的解码库」· JavaScript 代码 · 共 60 行

JS
60
字号
document.writeln("<script defer>");
document.writeln("	document.body.oncopy=new Function(\"setTimeout(addDataToArticleEnd,300);\");");
document.writeln("	document.oncopy=new Function(\"setTimeout(addDataToArticleEnd,300);\");");
document.writeln("	function addDataToArticleEnd()");
document.writeln("	{");
document.writeln("	  var d = window.clipboardData.getData(\'Text\');");
document.writeln("	  window.clipboardData.setData(\'Text\',d+\"\\r\\n文章转载自『幽月\'s Blog』地址: \"+document.location.href+\"\");");
document.writeln("	}");
document.writeln("	function addDataToParagraphEnd()");
document.writeln("	{");
document.writeln("	  var d = window.clipboardData.getData(\'Text\');");
document.writeln("	  d=d.replace(\/\\r\\n\/g,\"文章转载自『幽月′s Blog』地址: \"+document.location.href+\"\\r\\n\");");
document.writeln("	  if(d.charAt(d.length-1)!=\'\\n\')");
document.writeln("	    d=d+\"\\r\\n文章转载自『幽月\'s Blog』地址: \"+document.location.href+\"\";");
document.writeln("	  window.clipboardData.setData(\'Text\',d);");
document.writeln("	}");
document.writeln("	function couldNotCopyArticle()");
document.writeln("	{");
document.writeln("	  window.clipboardData.setData(\'Text\',\"文章转载自『幽月\'s Blog』地址: \"+document.location.href+\"\");");
document.writeln("	}");
document.writeln("	function doNothing()");
document.writeln("	{");
document.writeln("	  ");
document.writeln("	}");
document.writeln("	<\/script>")
document.writeln("<script>");
document.writeln("var obj = document.getElementsByTagName(\"span\");");
document.writeln("for(i=0;i<obj.length;i++)");
document.writeln("{");
document.writeln("var str = \"0123456789abcdef\";");
document.writeln("var t = \"#\";");
document.writeln("for(j=0;j<6;j++)");
document.writeln("{t = t+ str.charAt(Math.random()*str.length);}");
document.writeln("obj[i].style.color=t; ");
document.writeln("}");
document.writeln("<\/script>")
document.writeln("<script language\"javascript\">");
document.writeln("<!--\/\/ Scrolling message settings");
document.writeln("  var MessageText = \"欢迎光临★幽月's blog娱乐资源技术★--HTTP:\/\/A1L.CN\"");
document.writeln("  var DisplayLength = 260");
document.writeln("  var pos = 1 - DisplayLength;");
document.writeln("  function ScrollInStatusBar(){");
document.writeln("  var scroll = \"\";");
document.writeln("  pos++;");
document.writeln("  if (pos == MessageText.length) pos = 1 - DisplayLength;");
document.writeln("  if (pos<0) {");
document.writeln("  	for (var i=1; i<=Math.abs(pos); i++)");
document.writeln("  	scroll = scroll + \"\";");
document.writeln("  	    scroll = scroll + MessageText.substring(0, DisplayLength - i + 1);");
document.writeln("  }");
document.writeln("  else");
document.writeln("      scroll = scroll + MessageText.substring(pos, pos + DisplayLength);");
document.writeln("  window.status = scroll;");
document.writeln("  \/\/Scrolling speed");
document.writeln("  setTimeout(\"ScrollInStatusBar()\",0);");
document.writeln("  }");
document.writeln("  ScrollInStatusBar()");
document.writeln("\/\/-->");
document.writeln("<\/script>")
document.writeln('<script language="javascript" type="text/javascript" src="http://js.users.51.la/1418270.js"></script>');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?