PageSourceSearch

https://www.dingcheng.gov.cn/free_Web/free_Web_FPing.js?i=4

js dingcheng.gov.cn collected 2026-10-02 17:07:39 UTC 7,838 bytes, 1 lines download raw bytes

1free_Web.Function.Fping={Config:{tools:[{id:"Br_Fping",fun:"javascript:free_Web.Function.Fping.Start();",title:"开启显示屏",minTitle:"显示屏",entitle:"关闭显示屏",img:"Br_Fping.png",key:"Shift+P",dir:"",keycode:80},{id:"Br_Fping_opensetting",fun:"javascript:free_Web.Function.Fping.down();",title:"开启显示屏设置",entitle:"关闭显示屏设置",img:"Br_Selectcolor.png",dir:"Br_Fping_opensetting",key:"Shift+O",keycode:79}],setting:[{id:"Fpbar_jt",fun:"javascript:free_Web.Function.Fping.FontYs(0);",title:"简体",key:"Shift+I",keycode:73},{id:"Fpbar_ht",fun:"javascript:free_Web.Function.Fping.FontYs(1);",title:"繁體",key:"Shift+U",keycode:85},{id:"Fpbar_py",fun:"javascript:free_Web.Function.Fping.FontYs(2);",title:"拼音",key:"Shift+Y",keycode:89}],menuBoxid:"Br_Fping_setting",Fpbar:function(){var n="<div class='browserObj_Fpbar'>";return n+="<div  class='Fpbar_r'><ul>",n+="<li><a href='javascript:free_Web.Function.Fping.Start();' title='关闭辅屏浏览'>关闭<\/a><\/li>",n+="<\/ul><\/div>",n+="<div  id='Fpbar_l'>",n+='<table width="100%" cellspacing="0" cellpadding="0">',n+="<tbody><tr>",n+='<td align="center" id="tooltips_show" valign="middle" style="line-height: 130%; font-size: 32px;"><\/td>',n+="<\/tr><\/tbody><\/table>",n+="<\/div><\/div>",$(n)}},toolhtml:function(){s="<ul>";for(var n=0;n<this.Config.tools.length;n++)s+="<li><a id='"+this.Config.tools[n].id+"' href='"+this.Config.tools[n].fun+"' title='"+this.Config.tools[n].title+"("+this.Config.tools[n].key+")'><img src='/free_Web/images/"+this.Config.tools[n].img+"' dir='"+this.Config.tools[n].dir+"'><\/a><\/li>";return s+="<li class='Br_CName'>显示屏<\/li><\/ul>",$(s)},menutoolhtml:function(){s="<div id='"+this.Config.menuBoxid+"' ><ul>";for(var n=0;n<this.Config.setting.length;n++)s+=this.ItemNum==n?"<li class='active'><a id='"+this.Config.setting[n].id+"' href='"+this.Config.setting[n].fun+"' title='"+this.Config.setting[n].title+"("+this.Config.setting[n].key+")'>"+this.Config.setting[n].title+"<\/a><\/li>":"<li><a id='"+this.Config.setting[n].id+"' href='"+this.Config.setting[n].fun+"' title='"+this.Config.setting[n].title+"("+this.Config.setting[n].key+")'>"+this.Config.setting[n].title+"<\/a><\/li>";return s+="<\/ul><\/div>",$(s)},show:function(){var n=$("#Br_Fping"),t=$("#Fpbar_En");this.status?(n.attr("title","关闭显示屏("+this.Config.tools[0].key+")"),n.addClass("active")):(n.attr("title","开启显示屏("+this.Config.tools[0].key+")"),n.removeClass("active"));this.IStransEn?t.removeClass("en"):t.addClass("en");$("#"+this.Config.menuBoxid).find("li").removeClass("active");$("#"+this.Config.menuBoxid).find("li").eq(this.ItemNum).addClass("active")},ISItemsShow:!1,ISMenuAdd:!1,ISBoxAdd:!1,status:!1,ItemNum:0,IStransEn:!1,up:function(){$("#"+this.Config.menuBoxid).slideUp(300);this.ISItemsShow=!1},clear:function(){this.status=!1;$("#browserObj_Fpbar_mian").remove();$("#browserObj_Fpbar_mianShow").remove();$("#Br_Fping_setting").slideUp(300);this.ISItemsShow=!1;this.show()},down:function(){this.ISItemsShow?(free_Web.Function.audioplay.audio("您已关闭显示屏设置开关"),this.up()):(this.ISMenuAdd||(this.menutoolhtml().appendTo(free_Web.tool_Box),this.ISMenuAdd=!0),$("#"+this.Config.menuBoxid).css("left",$("#Br_Fping").offset().left-2+"px").css("top",$("#Br_Fping").offset().top-$(document).scrollTop()+$("#Br_Fping").height()+3+"px").slideDown(300),this.ISItemsShow=!0,free_Web.Function.audioplay.audio("您已打开显示屏设置开关"));this.show()},FontYs:function(n){if(this.ItemNum!=n){switch(n){case 0:free_Web.Function.audioplay.audio("您显示屏已选择简体模式");break;case 1:free_Web.Function.audioplay.audio("您显示屏已选择繁体模式");break;case 2:this.IStransEn=!1;free_Web.Function.audioplay.audio("您显示屏已选择拼音模式")}this.ItemNum=n}$("#Br_Fping_setting").slideUp(300);this.ISItemsShow=!1;this.show()},Start:function(){if(free_Web.Function.show.status)if(this.status)this.clear(),free_Web.Function.audioplay.audio("您已关闭显示屏功能"),free_Web.Function.Bridge.switchFunction("free_Web.Function.Fping.down");else{if(free_Web.IsInsideLabel||free_Web.Function.InsideLabel.init(
1),this.status=!0,!isInIframe()){$('<div id="browserObj_Fpbar_mianShow"><\/div>').css("height","120px").appendTo(document.body);var n=$('<div id="browserObj_Fpbar_mian"><\/div>').appendTo(document.body);this.Config.Fpbar().appendTo(n);$("#Fpbar_l").css("width","94%")}this.registerFPing("voice.Shimen-Pointer-Label",function(n){var t=$(n).html();return $(n).parent()[0].nodeName=="A"&&(t="链接:"+t),t});this.registerFPing(".IMG-Shimen-Pointer-Label",function(n){var t=$(n).attr("alt");return t||(t=$(n).attr("title")),t||(t=""),t="图片:"+t,$(n).parent()[0].nodeName=="A"&&(t="链接 "+t),t});this.registerFPing(".VIDEO-Shimen-Pointer-Label",function(n){var t=$(n).attr("title");return t||(t=""),t="视频:"+t,$(n).parent()[0].nodeName=="A"&&(t="链接 "+t),t});this.registerFPing(".AUDIO-Shimen-Pointer-Label",function(n){var t=$(n).attr("title");return t||(t=""),t="音频:"+t,$(n).parent()[0].nodeName=="A"&&(t="链接 "+t),t});this.registerFPing(".INPUT-Shimen-Pointer-Label",function(n){var t=$(n).val();return t||(t=$(n).attr("placeholder")),t||(t=""),$(n).attr("type")=="button"&&(t="按钮:"+t),$(n).parent()[0].nodeName=="A"&&(t="链接 "+t),($(n).attr("type")=="submit"||$(n).attr("type")=="image")&&(t="提交按钮:"+t),$(n).attr("type")=="text"&&(t="输入框:"+t),$(n).attr("type")=="checkbox"&&(t="复选框:"+t),$(n).attr("type")=="radio"&&(t="单选按钮:"+t),$(n).attr("type")=="file"&&(t="文件上传:"+t),$(n).attr("type")=="password"&&(t="密码输入框:"+t),$(n).attr("type")=="reset"&&(t="重置表单按钮:"+t),t});this.registerFPing(".SELECT-Shimen-Pointer-Label",function(n){var t="选项:"+$(n).text();return $(n).parent()[0].nodeName=="A"&&(t="链接 "+t),t});free_Web.Function.audioplay.audio("您已开启显示屏功能");free_Web.Function.Bridge.switchFunction("free_Web.Function.Fping.Start");this.show()}},set:function(n){if(n.length>0){n.length<16?$("#tooltips_show").css("font-size","80px"):n.length<23?$("#tooltips_show").css("font-size","60px"):n.length<35?$("#tooltips_show").css("font-size","45px"):n.length<45?$("#tooltips_show").css("font-size","36px"):$("#tooltips_show").css("font-size","30px");switch(this.ItemNum){case 0:this.IStransEn=!0;$("#tooltips_show").html(n);break;case 1:this.IStransEn=!0;$("#tooltips_show").html($.simplified2traditional(n));break;case 2:$("#tooltips_show").css("font-size","40px");$("#tooltips_show").html(this.trans(n))}}else $("#tooltips_show").html(n);this.show()},trans:function(n){for(var u,i="<div><ul>",r,t=0;t<n.length;t++){if(i+="<li>",free_Web.pydic.indexOf(n.charAt(t))!=-1&&n.charCodeAt(t)>200){for(r=1,u="";free_Web.pydic.charAt(free_Web.pydic.indexOf(n.charAt(t))+r)!=",";)u+=free_Web.pydic.charAt(free_Web.pydic.indexOf(n.charAt(t))+r),r++;i+="<span>"+u+"<\/span>";i+="<span>"+n.charAt(t)+"<\/span>"}else i+="<span><\/span>
1",i+="<span>"+n.charAt(t)+"<\/span>";i+="<\/li>"}return i+"<\/ul><\/div>"},transEn:function(){if(this.ItemNum!=2&&this.IStransEn){$("#tooltips_show").css("font-size","36px");var n=$("#tooltips_show").html();n.length>0&&$.ajax({url:"/free_Web/trans.aspx",type:"get",data:{q:encodeURI(n)},dataType:"json",success:function(t){t.trans_result&&(n=t.trans_result[0].dst,$("#tooltips_show").html(n))}});this.IStransEn=!1;this.show()}},registerFPing:function(n,t){$(n).each(function(){$(this).mouseenter(function(){if(free_Web.Function.Fping.status){var i=this,n=t(i);window.top.free_Web?window.top.free_Web.Function.Fping.set(n):free_Web.Function.Fping.set(n)}});$(this).mouseout(function(){window.top.free_Web?window.top.free_Web.Function.Fping.set(""):free_Web.Function.Fping.set("")})})}};

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.