Skip to main contentdfsdf

Find It

from web site

Search Bookmarklets

javascript:var AlwaysAsk=0,ShowFollowUp=1,UseCookies=1,ShowStats=1;var gCount,gText,gKeywords,gRE;var d1=new Array(),d2=new Array(),d3=new Array();var colors=new Array('#ff6','#A0FFFF','#9f9','#f99','#f6f','coral','lime','chartreuse','deepskyblue','fuchsia','gold','indianred','silver','lightsteelblue','olive','orange','lightblue');function hhGoto(here){var a=document.getElementById('anch'+d1[here]);a.href='#g7z'+d1[here]+d3[here];a.childNodes[1].firstChild.data=' / '+(d3[here]+1);d3[here]++;if(d3[here]>=d2[here])d3[here]=0;}function hhCloseDiv(){if(ar=document.getElementById('divz7rx8v')){if(window.opera){ar.removeNode(true)}else{var arL=ar.childNodes.length;for(i=0;i';divel.id='divz7rx8v';divel.style.position='fixed';divel.style.top=0;divel.style.right=0;divel.style.padding='5px 14px';divel.style.backgroundColor='#fff';divel.style.border='1px solid #aaa';divel.style.zIndex=9000;bza+='new / close / exit'+br;for(i=0;i')+d1[i]+' : '+d2[i]+'%C2%A0'+(d2[i]==0?'':'')+br;divel.innerHTML=bza;document.body.appendChild(divel);}}function hhGetCookie(){if(UseCookies){if(document.URL.indexOf('.google.')==-1){var search='AgoHighlight=';if(document.cookie.length>0){offset=document.cookie.indexOf(search);if(offset!=-1){offset+=search.length;end=document.cookie.indexOf(';',offset);if(end==-1)end=document.cookie.length;gText=decodeURIComponent(document.cookie.substring(offset,end));}}}}}function hhSetCookie(){if(UseCookies)document.cookie='AgoHighlight='+encodeURIComponent(gText)+';path=/;';}function CheckSearchString(text){var x=text;if(text==null)return;if(text.length==0)return;text='|'+text.replace(/([\x00-\x20\x28-\x29\x7B-\xBF]|\+)+/g,'|')+'|';text=text.replace(/\|+/g,'|');if(!text.length>1)return;gKeywords=null;gRE=null;gText=x;hhSetCookie();gCount=null;d1.length=0;d2.length=0;d3.length=0;text=text.substring(1,text.length-1).toLowerCase();gCount=text.split('|');gKeywords=text.split('|');for (var i=gCount.length-1;i>=0;i--){d1[i]=gKeywords[i];d2[i]=0;d3[i]=0;gKeywords[gKeywords[i]]=i;gCount[gCount[i]]=0;}try{temp='(('+gKeywords.join(')|(')+'))';temp=temp.replace(/\\/g,'\\\\');temp=temp.replace(/\-/g,'\\-');temp=temp.replace(/\*/g,'\\/');temp=temp.replace(/\$/g,'\\$');temp=temp.replace(/\^/g,'\\^');temp=temp.replace(/\./g,'\\.');gRE=new RegExp(temp,'i');}catch(er){alert('Unable to make regular expression with: '+text+'.\n\n'+er);return;}return true;}function ClearWindowHighlights(w){var i,result=false;if(framed){for (i=0;i|\)/gi,'');pos=tmpdata.search(gRE);if(pos>=0){match=RegExp.$1.toLowerCase();nkeyw=gKeywords[match];gCount[match]++;spannode=mydoc.createElement('SPAN');spannode.agohighlight=true;spannode.style.border='dashed black 1px';spannode.style.fontWeight='bold';spannode.style.color='black';spannode.style.backgroundColor=colors[nkeyw];middlebit=node.splitText(pos);endbit=middlebit.splitText(match.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);skip=1;if(ShowFollowUp){anch=mydoc.createElement('a');anch.class_gz5rt7vw='true';anch.id='g7z'+d1[nkeyw]+d2[nkeyw];spannode.parentNode.insertBefore(anch,spannode);d2[nkeyw]++;skip=2;}}}else if(node.nodeType==1&&node.childNodes&&node.tagName.toUpperCase()!='SCRIPT'&&node.tagName.toUpperCase!='STYLE'){for (var child=0;childdocument.getElementsByTagName('iframe').length))ShowFollowUp=0;if(ClearWindowHighlights(window)||document.getElementById('divz7rx8v')){hhCloseDiv();return;}if(gText==null)hhGetCookie();if(gText==null){if(document.referrer.indexOf('google')!=-1&&document.referrer.indexOf('q=')!=-1){var queryTermsRegExp=new RegExp('q=([^&]+)');if(queryTermsRegExp.test(document.referrer)){text=RegExp.$1.replace(/\+/g,' ');text=decodeURI(text);}}if(document.URL.indexOf('google')!=-1&&document.URL.indexOf('q=')!=-1){var queryTermsRegExp=new RegExp('q=([^&]+)');if(queryTermsRegExp.test(document.URL)){text=RegExp.$1.replace(/\+/g,' ');text=decodeURI(text);}}}text=(AlwaysAsk||!text)?prompt('Highlight keywords:',(gText==null?((text==null)?'':text):gText)):text;if(!CheckSearchString(text))return;ShowWindowHighlights(window);if(ShowFollowUp){hhCreateDiv();}else if(ShowStats){text='';for (i=0;i

< Previous 1 2

Would you like to comment?

Join Diigo for a free account, or sign in if you are already a member.

arowynd

Saved by arowynd

on Aug 24, 13