New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Safari Search While Typing plugin?


Post Reply New Thread Subscribe

 
Thread Tools
jcksnps4

 
Member Since: Jun 30, 2007
Posts: 3
jcksnps4 is on a distinguished road

jcksnps4 is offline
Hey all,

Not sure where to put this exactly, but does anyone know of a Safari plugin that activates the Find On Page (cmd+f) feature upon typing text (like the Firefox option)?

TYIA
QUOTE Thanks
VegasGeorge

 
VegasGeorge's Avatar
 
Member Since: Sep 23, 2006
Location: Las Vegas, NV USA
Posts: 893
VegasGeorge is a jewel in the roughVegasGeorge is a jewel in the rough
Mac Specs: iMac, and Macbook Pro

VegasGeorge is offline
I don't know if this is close enough to what your looking for to help you or not. I use a java bookmarklet to Highlight specified search terms on web pages. Here is the java script. Just create a dummy bookmark in your bookmark bar, right click it, and replace the URL with the java in the address section. Name it as you wish.

javascriptfunction(){var%20count=0,%20text,%20dv ;text=prompt(%22Search%20phrase:%22,%20%22%22);if( text==null%20||%20text.length==0)return;dv=documen t.defaultView;function%20searchWithinNode(node,%20 te,%20len){var%20pos,%20skip,%20spannode,%20middle bit,%20endbit,%20middleclone;skip=0;if(%20node.nod eType==3%20){pos=node.data.toUpperCase().indexOf(t e);if(pos%3E=0){spannode=document.createElement(%2 2SPAN%22);spannode.style.backgroundColor=%22yellow %22;middlebit=node.splitText(pos);endbit=middlebit .splitText(len);middleclone=middlebit.cloneNode(tr ue);spannode.appendChild(middleclone);middlebit.pa rentNode.replaceChild(spannode,middlebit);++count; skip=1;}}else%20if(%20node.nodeType==1&&%20node.ch ildNodes%20&&%20node.tagName.toUpperCase()!=%22SCR IPT%22%20&&%20node.tagName.toUpperCase!=%22STYLE%2 2){for%20(var%20child=0;%20child%20%3C%20node.chil dNodes.length;%20++child){child=child+searchWithin Node(node.childNodes[child],%20te,%20len);}}return%20skip;}window.status=%22S earching%20for%20'%22+text+%22'...%22;searchWithin Node(document.body,%20text.toUpperCase(),%20text.l ength);window.status=%22Found%20%22+count+%22%20oc currence%22+(count==1?%22%22:%22s%22)+%22%20of%20' %22+text+%22'.%22;})();

Oops! Replace the frowning face with the characters "" without the quotes.

Darn! It did it again. The characters are :&( without the & between them.
QUOTE Thanks
cuhnool

 
cuhnool's Avatar
 
Member Since: Jun 02, 2008
Location: Louisville
Posts: 1,502
cuhnool is a jewel in the roughcuhnool is a jewel in the rough
Mac Specs: MacBook 2.1GHz Core 2 Duo | 1GB RAM | OS X 10.6.3 | 250GB External HD | 8GB iPod Touch 1st Gen 3.1.3

cuhnool is offline
Just wondering, why do you need to have that functionality? I'm trying to think of a practical use to have such a plug-in, but I fail to see one. Could you describe the usefulness the plug-in would serve?

QUOTE Thanks
Aqua

 
Aqua's Avatar
 
Member Since: Sep 05, 2007
Location: Canada
Posts: 452
Aqua has a spectacular aura about
Mac Specs: Macbook Pro, 2.4GHz Core2 Duo 10.6.8, MacMini

Aqua is offline
Why wouldn't you use the find feature? It does work a little different, but I think it's the same keys to activate it on Safari as it is in Firefox...


Oops Sorry, guess I didn't read your question properly.

invincible ignorance is an example of ignorance that can not be removed by any amount of evidence. It's now a widespread form of pollution. (Revised quote) An apple a day, keeps the psychiatrist away.. If you play a Windows install CD backwards it has satanic verses
QUOTE Thanks

Post Reply New Thread Subscribe


« Mail Inbox Purging | Hello! I am new here. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Covert Safari Plugin won't load or uninstall Dingosnow OS X - Operating System 3 11-25-2009 10:27 AM
Safari search box plugins query growlgrowl OS X - Apps and Games 3 09-30-2009 03:11 PM
divx web player plugin not working in Safari mikey.b@gmx.com OS X - Operating System 2 09-06-2009 07:43 PM
Help with Safari Toolbar Please. JKim123123 OS X - Apps and Games 5 06-01-2008 09:46 AM
Switch to Safari: A look at Safari for Windows (Personal blog post) goobimama Schweb's Lounge 4 03-22-2008 01:56 PM

All times are GMT -4. The time now is 07:43 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?