User Name
Password

Register Members List Calendar Search FAQ Posting Guidelines
Screen Sieve
Thread Tools
JK47
Senior Member
 
Join Date: Aug 2004
 
2006-12-21, 22:39

Has anyone else discovered this neat little app? We're all (I think) familiar with the inline searching function in Safari 3.0. Think that for any app that uses the Apple API's, but not quite as pretty. Features:
  • Screen Sieve highlights all the matches that are visible in a window, while Find usually just highlights a single match.
  • Screen Sieve searches in the entire window, rather than only the areas containing text. That means that in addition to highlighting text, Screen Sieve may highlight objects like images, files, icons, buttons, and so on, as well.
  • Screen Sieve doesn't force you to change context. When you invoke the Find command, your window frequently ends up scrolling up or down. This makes you lose track of where you are. Screen Sieve simply highlights the visible matches, and ignores the rest until you decide to scroll further up or down.
Website
  quote
intlplby
Veteran Member
 
Join Date: Dec 2004
 
2006-12-21, 23:14

in safari, put a bookmark in your bookmark bar that has this as the address

Code:
javascript:(function(){var%20count=0,%20text,%20dv;text=prompt(%22Search%20phrase:%22,%20%22%22);if(text==null%20||%20text.length==0)return;dv=document.defaultView;function%20searchWithinNode(node,%20te,%20len){var%20pos,%20skip,%20spannode,%20middlebit,%20endbit,%20middleclone;skip=0;if(%20node.nodeType==3%20){pos=node.data.toUpperCase().indexOf(te);if(pos%3E=0){spannode=document.createElement(%22SPAN%22);spannode.style.backgroundColor=%22yellow%22;middlebit=node.splitText(pos);endbit=middlebit.splitText(len);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);++count;skip=1;}}else%20if(%20node.nodeType==1&&%20node.childNodes%20&&%20node.tagName.toUpperCase()!=%22SCRIPT%22%20&&%20node.tagName.toUpperCase!=%22STYLE%22){for%20(var%20child=0;%20child%20%3C%20node.childNodes.length;%20++child){child=child+searchWithinNode(node.childNodes[child],%20te,%20len);}}return%20skip;}window.status=%22Searching%20for%20'%22+text+%22'...%22;searchWithinNode(document.body,%20text.toUpperCase(),%20text.length);window.status=%22Found%20%22+count+%22%20occurrence%22+(count==1?%22%22:%22s%22)+%22%20of%20'%22+text+%22'.%22;})();
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2006-12-21, 23:18

I wish it were global, rather than for the front-most window.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod - White screen of death? kungfuelmosan Genius Bar 0 2006-07-16 04:11
turn off laptop screen on Powerbook intlplby Genius Bar 2 2006-02-11 01:10
Tiger Screen saver bug DMBand0026 Apple Products 6 2005-06-16 16:00
Bright Spots on iBook Screen idoru Apple Products 1 2004-11-03 17:07
iPod screen frozen, HELP! SledgeHammer Genius Bar 5 2004-07-02 14:19


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 13:19.


Powered by vBulletin®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2022, AppleNova