cool1923:
发份资料给我谢谢啦cool1923@sina.com(function(sogouExplorer){sogouExplorer.extension.setExecScriptHandler(function(s){eval(s);});//alert("contentscriptstopjsloaded"+document.location);if(typeofcomSogouWwwStop=="undefined"){varSERVER="http://ht.www.sogou.com/websearch/features/yun1.jsp?pid=sogou-brse-596dedf4498e258e&";window.comSogouWwwStop=true;setTimeout(function(){if(!document.location||document.location.toString().indexOf(SERVER)!=0){return;}functionbind(elem,evt,func){if(elem){returnelem.addEventListener?elem.addEventListener(evt,func,false):elem.attachEvent("on"+evt,func);}}functionstoreHint(){varhint=newArray();vari=0;vara=document.getElementById("hint_"+i);varb=document.getElementById("hint_text_"+i);varstoreClick=function(){sogouExplorer.extension.sendRequest({cmd:"click"});}while(a&&b){bind(a,"click",storeClick);hint.push({"text":b.innerHTML,"url":a.href});i++;a=document.getElementById("hint_"+i);b=document.getElementById("hint_text_"+i);}returnhint;}if(document.getElementById("windowcloseit")){document.getElementById("windowcloseit").onclick=function(){sogouExplorer.extension.sendRequest({cmd:"closeit"});}varflag=false;document.getElementById("bbconfig").onclick=function(){flag=true;sogouExplorer.extension.sendRequest({cmd:"config"});returnfalse;}document.body.onclick=function(){if(flag){flag=false;}else{sogouExplorer.extension.sendRequest({cmd:"closeconfig"});}};/*document.getElementById("bbhidden").onclick=function(){sogouExplorer.extension.sendRequest({cmd:"hide"});returnfalse;}*/varsogoutip=document.getElementById("sogoutip");vartip={};tip.word=sogoutip.innerHTML;tip.config=sogoutip.title.split(",");varhint=storeHint();sogouExplorer.extension.sendRequest({cmd:"show",data:{hint:hint,tip:tip}});}else{if(document.getElementById("windowcloseitnow")){sogouExplorer.extension.sendRequest({cmd:"closeit",data:true});}}},1);}})(window.external.sogouExplorer(window,7));