{find+} 的評論
{find+} 作者: Brandon Richardson
6 筆評論
- 評價 3 分,滿分 5 分來自 Firefox 使用者 17096977,4 年前It's good for regex search.
But for some reason, this add-on takes over whenever you use the search bar for anything beginning with 'find'. You can only use it to see how many matches are on the page. Annoying and useless feature. - 評價 3 分,滿分 5 分來自 asg aesgasgea sg,4 年前this is too buggy and slow. use a bookmarklet instaed. make a new bookmark call it whatever you want and add as link: "javascript:(function(){var count=0, text, regexp;text=prompt("Search regexp:", "");if(text==null || text.length==0)return;try{regexp=new RegExp("(" + text +")", "i");}catch(er){alert("Unable to create regular expression using text '"+text+"'.\n\n"+er);return;}function searchWithinNode(node, re){var pos, skip, spannode, middlebit, endbit, middleclone;skip=0;if( node.nodeType==3 ){pos=node.data.search(re);if(pos>=0){spannode=document.createElement("SPAN");spannode.style.backgroundColor="yellow";middlebit=node.splitText(pos);endbit=middlebit.splitText(RegExp.$1.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else if( node.nodeType==1 && node.childNodes && node.tagName.toUpperCase()!="SCRIPT" && node.tagName.toUpperCase!="STYLE"){for (var child=0; child < node.childNodes.length; ++child){child=child+searchWithinNode(node.childNodes[child], re);}}return skip;}window.status="Searching for "+regexp+"...";searchWithinNode(document.body, regexp);window.status="Found "+count+" match"+(count==1?"":"es")+" for "+regexp+".";})();" without the first and last ""
- 評價 3 分,滿分 5 分來自 Firefox 使用者 13593990,5 年前Is there a way to make this automatically highlight certain values on a particular page every time it loads with 0 input from the user?