PageSourceSearch

https://movie.foshang.org/static/js/IE6Top.js

js foshang.org collected 2026-10-09 05:15:11 UTC 6,986 bytes, 165 lines download raw bytes

1//复制网页内容,粘贴就自动加上网址
2var Sys = {};
3  var ua = navigator.userAgent.toLowerCase();
4  if (window.ActiveXObject){
5    document.body.oncopy=function(){
6	  event.returnValue=false;
7	  var t=document.selection.createRange().text;
8	  var s="本文来自:"+document.location.href+" ; 原文链接:"+document.location.href+" ";
9	  clipboardData.setData('Text',t+'\r\n'+s);
10	}
11  }
12  else {
13	function addLink() {
14      var body_element = document.getElementsByTagName('body')[0];
15      var selection;
16	  selection = window.getSelection();
17	  var pagelink = " 本文来自: 佛商网/www.foshang.org ; 原文链接:"+document.location.href+" ";
18	  
19	  var copytext = selection + pagelink;
20	  var newdiv = document.createElement('div');
21	  newdiv.style.position='absolute';
22	  newdiv.style.left='-99999px';
23	  body_element.appendChild(newdiv);
24	  newdiv.innerHTML = copytext;
25	  selection.selectAllChildren(newdiv);
26	  window.setTimeout(function() {
27	    body_element.removeChild(newdiv);
28	  },0);
29	}
30	  document.oncopy = addLink;
31  }
32
33
34//微信
35
36document.writeln("<style type=\"text\/css\">");
37document.writeln(".toolbar-wrap{position: fixed;top: 0px;right: 0px;z-index: 9;width: 35px; height: 100vh;}");
38document.writeln(".toolbar{position: absolute;right: 0px; top: 0px; width: 29px; height: 100%; border-right: 6px solid #AF7942;}");
39document.writeln(".toolbar-tabs{position: absolute;top: 50%;left: 0px;width: 35px;margin-top: -61px;}");
40document.writeln("#wxcode,#code_hover,#gotop{position: relative; width: 35px; height: 35px; margin-bottom:3px; cursor: pointer; color: rgb(102, 102, 102); display: inline-block;background-color: rgb(175, 121, 66);  background-image:url('https:\/\/www.foshang.org\/statics\/images\/toolbar-icons.png'); border-radius: 3px 0px 0px 3px;  font: 12px/150% Arial, Verdana, 宋体;    background-repeat: no-repeat;}");
41document.writeln("#wxcode{background-position:-50px -50px; }");
42document.writeln("#code_hover{background-position:-50px -50px;background-color: #683a0c}");
43document.writeln("#wxcode_img{ width:270px; height:355px; background:url(https:\/\/www.foshang.org\/statics\/images\/Weixin.png) -4px -3px no-repeat; position:fixed; right:35px; top:calc(50% - 73px); cursor:pointer; display:none;_position:absolute;_bottom:auto;_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))); _margin-bottom:67px;}");
44document.writeln("#gotop{background-position:-50px -250px;bottom:0;position: fixed;margin-bottom: 0px;}");
45document.writeln(".tab-text{width: 62px;height: 35px;line-height: 35px;color: #FFF;text-align: center;font-family: 'microsoft yahei'; position: absolute;z-index: 1;left: 35px;top: 0px;background-color: #AF7942;border-radius: 3px 0px 0px 3px;transition: left 0.3s ease-in-out 0.1s;font-style: normal;margin: 0px;padding: 0px;cursor: pointer;}");
46document.writeln("#gotop .tab-text{width: 50px;}");
47document.writeln(".tbar-tab-selected{background-color: #683a0c !important;}");
48document.writeln(".tbar-tab-hover{left: -60px;background-color: #683a0c;}");
49document.writeln(".tbar-tab-gotop-hover{left: -48px;background-color: #683a0c;}");
50document.writeln("@media screen and (max-width: 1023px){.toolbar{border-right: 0px solid #AF7942;}#wxcode,#wxcode_img,#gotop .tab-text{display: none}#gotop{right: -4px;bottom:80px}.tbar-tab-selected{background-color: rgb(175, 121, 66) !important;}}");
51document.writeln("@media screen and (max-width: 768px){.toolbar-wrap,.toolbar{width:0px}#wxcode,#wxcode_img,#gotop .tab-text{display: none}#gotop{right: -4px;bottom:80px}.tbar-tab-selected{background-color: rgb(175, 121, 66) !important;}}");
52document.writeln("<\/style>");
53
54function b(){
55	h = $(window).height();
56	t = $(document).scrollTop();
57	if(t > h){
58		$('#gotop').show();
59	}else{
60		$('#gotop').hide();
61	}
62}
63$(document).ready(function(e) {
64	b();
65	$('#gotop').bind("click",function(){
66		$('body,html').animate({ scrollTop: 0}, 500);
67		$(this).removeClass();
68		$(this).find('.tab-text').removeClass("tbar-tab-gotop-hover"); 
69	})
70	$('#wxcode').hover(function(){
71			$(this).attr('id','code_hover');
72			$('#wxcode_img').show();
73		},function(){
74			$(this).attr('id','wxcode');
75			$('#wxcode_img').hide();
76	})
77	$('.toolbar-tab').hover(function(){
78			$(this).attr('id','code_hover');
79			$('#wxcode_img').show();
80		},function(){
81			$(this).attr('id','wxcode');
82			$('#wxcode_img').hide();
83	})
84	$('#gotop').hover(function (){
85		$(this).find('.tab-text').addClass("tbar-tab-gotop-hover"); 
86		$(this).addClass("tbar-tab-selected");
87		},function(){
88		$(this).find('.tab-text').removeClass("tbar-tab-gotop-hover");
89		$(this).removeClass("tbar-tab-selected"); })
90});
91
92$(window).scroll(function(e){
93	b();		
94})
95document.writeln("<div class=\"toolbar-wrap\">");
96document.writeln("<div class=\"toolbar\">");
97document.writeln("<div class=\"toolbar-tabs\">");
98document.writeln("<div id=\"wxcode\"><\/div>");
99document.writeln("<div id=\"wxcode_img\"><\/div>");
100document.writeln("<div id=\"gotop\"><em class=\"tab-text \">顶部<\/em><\/div>");
101document.writeln("<\/div>");
102document.writeln("<\/div>");
103document.writeln("<\/div>");
104
105/*底部当前年份*/
106
107function getCurDate()
108{
109 var d = new Date();
110 var years = d.getFullYear();
111 var ndate = years;
112 NowYear.innerHTML= ndate;
113}
114
115function add_zero(temp){
116 if(temp < 10) return "0" + temp;
117 else return temp;
118}
119
120setInterval("getCurDate()",100);
121
122$(function(){
123$("#icpnumber").html("&nbsp;&nbsp;鲁ICP备11007690号-10");
124})
125document.writeln("<div style='display:none'><script type='text/javascript' src='https://www.foshang.org/statics/js/tongji.js'></script></div>");
126
127//clear Ucbrowser Inlink 20190710 by miaojingyun
128function ClearUcInlink(){
129    $("a").each(function(index, element) {
130        try{
131            var thishref=$(this).attr("href");
132            var thisText=$(this).html();
133            if(thishref.indexOf("uc.cn")>=0){
134                $(this).replaceWith(thisText);
135            }
136        }
137        catch(e){
138        }
139    });
140    $("script").each(function(index, element) {
141        try{
142            var thissrc=$(this).attr("src");
143
144            if(thissrc.indexOf("ucbrowser")>=0){
145                $(this).remove();
146            }
147        }
148        catch(e){
149        }
150    });
151}
152
153$(function () {
154    var pageDATA_ua = window.navigator.userAgent.toLowerCase();
155    if (pageDATA_ua.indexOf('ucbrowser') >= 0) {
156        setInterval("ClearUcInlink();", 1000);
157
158    }
159});
160//屏蔽UC 猜你喜欢代码
161document.writeln("<style type=\"text\/css\">");
162document.writeln("iframe[id^='head__'] { display: none !important;}");
163document.writeln("iframe[src*='ucweb.com'] { display: none !important; }");
164document.writeln("<\/style>");
165//clear Ucbrowser Inlink End

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.