Advertisement
Motoo

新垃圾脚本

Jan 4th, 2013 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. <SCRIPT language=JavaScript>
  2.  
  3.  
  4. <!-- Begin
  5. var xPos = 20;
  6. var yPos = document.body.clientHeight;
  7. var step = 1;
  8. var delay = 30;
  9. var height = 0;
  10. var Hoffset = 0;
  11. var Woffset = 0;
  12. var yon = 0;
  13. var xon = 0;
  14. var pause = true;
  15. var interval;
  16. img.style.top = yPos;
  17. function changePos() {
  18. width = document.body.clientWidth;
  19. height = document.body.clientHeight;
  20. Hoffset = img.offsetHeight;
  21. Woffset = img.offsetWidth;
  22. img.style.left = xPos + document.body.scrollLeft;
  23. img.style.top = yPos + document.body.scrollTop;
  24. if (yon) {
  25. yPos = yPos + step;
  26. }
  27. else {
  28. yPos = yPos - step;
  29. }
  30. if (yPos < 0) {
  31. yon = 1;
  32. yPos = 0;
  33. }
  34. if (yPos >= (height - Hoffset)) {
  35. yon = 0;
  36. yPos = (height - Hoffset);
  37. }
  38. if (xon) {
  39. xPos = xPos + step;
  40. }
  41. else {
  42. xPos = xPos - step;
  43. }
  44. if (xPos < 0) {
  45. xon = 1;
  46. xPos = 0;
  47. }
  48. if (xPos >= (width - Woffset)) {
  49. xon = 0;
  50. xPos = (width - Woffset);
  51. }
  52. }
  53. function start() {
  54. img.visibility = "visible";
  55. interval = setInterval('changePos()', delay);
  56. }
  57. start();
  58. // End -->
  59. </SCRIPT>
  60. <TITLE>内部网站首页</TITLE>
  61.  
  62. <script language="javascript">
  63.  
  64.  
  65. document.write('<OBJECT CLASSID="CLSID:1828B33C-F643-4634-8D36-0C8DE5FE4DE9" CODEBASE="http://172.16.0.13/sep/CheckInstallLib.CAB#version=1,0,0,0" id="obj_checkinstall" style="LEFT: 0px; VISIBILITY: hidden; TOP: 0px;height:0px" >');
  66. document.write('</OBJECT>');
  67.  
  68. var res = "";
  69.  
  70. res = CheckInstall();
  71.  
  72.  
  73. function CheckInstall(){
  74. try {
  75.  
  76. new ActiveXObject("CheckInstallLib.CheckInstall");
  77. }catch(x){
  78. //return true;
  79. alert("请安装**整体防御系统ActiveX插件,请耐心等待30秒后点击确定,否则无法继续访问!安装完毕后请再次访问**内部网页面使插件生效。");window.location.href='http://172.16.0.13/sep/se.htm';
  80. }
  81. return true;
  82. }
  83.  
  84. function allowCheckInstall(){
  85. switch(res){
  86. case true:
  87. //alert("您已经安装 ");
  88. break;
  89. case null:
  90. alert("请安装控件!");
  91. break;
  92. case false:
  93. alert("控件加载出现错误");
  94. }
  95. }
  96.  
  97. allowCheckInstall();
  98.  
  99.  
  100. var i = obj_checkinstall.isInstall();
  101.  
  102. if (i=="1")
  103. {
  104.  
  105. }
  106. else
  107. {
  108. alert("请先安装**网络整体防御系统!确定将进入安装页面!");
  109. window.location.href='http://172.16.0.66';
  110. }
  111.  
  112. </script>
  113.  
  114.  
  115. <script src="../js/common.js"></script>
  116. <script src="../js/check.js"></script>
  117. <LINK href="../js/skin.css" rel=stylesheet type=text/css>
  118. </HEAD>
  119. <BODY topmargin="0" leftmargin="0" onload="openpopwin('');">
  120. <table style="table-layout:fixed" pagetitle="内部网站" bodybgpic="" popuvalue="" popuwidth="360" popuheight="200" width="774px" borderColor="#000000" id="tt" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff" poputext="" bodycolor=""><COLGROUP><col width="110px"/><col width="110px"/><col width="210px"/><col width="144px"/><col width="100px"/><col width="100px"/></COLGROUP><tr><td valign="top" phrow="1" phcol="1" rowspan="1" colspan="6"><P><EMBED src=../styleimages/swfman/201271884919.swf width=780 height=90 type=application/x-shockwave-flash wmode="transparent"></EMBED></P></td></tr><tr><td valign="top" phrow="2" phcol="1" rowspan="1" colspan="6" bgcolor="#FFFFFF" style="padding-right:4px;"><LINK href="/skin/stylelibrary/yuanjiao_danlan/style.css" rel=stylesheet type=text/css>
  121. <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="yuanjiao_danlan" id="341">
  122. <TR><td><img src="/skin/stylelibrary/yuanjiao_danlan/images/menuleft.gif"></td>
  123. <TD background="/skin/stylelibrary/yuanjiao_danlan/images/bg.gif" width="100%" class="skin_linklist" >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement