|
|
Use Safari's bookmark bar to simulate Camino keywords
This is apparently broken in Safari v4b.
Use Safari's bookmark bar to simulate Camino keywords
Actually, it apparently works if you use window.location.href before anything else:
This doesn't work: javascript:q=prompt('Word:%20','');location.href='http://dictionary.reference.com/search?q='+q';
But this works: javascript:window.location.href='http://dictionary.reference.com/search?q='+escape(prompt('Search%20for%20word%20on%20Reference.com:'));
This also works: javascript:window.location.href='http://us.imdb.com/find?s=all&q='+escape(prompt('Search%20IMDb:'));
Hope this helps!
Use Safari's bookmark bar to simulate Camino keywords
So it seems that some Javascript works, some doesn't... found you don't have to have window.location.href before anything else; for example...
These also work: javascript:void(q=prompt('Search%20YouTube:',getSelection()));if(q)void(location.href='http://www.youtube.com/results?search_query='+escape(q)+'&search_sort=video_view_count')
javascript:void(q=prompt('Enter%20text%20to%20search%20Amazon.',getSelection()));if(q)void(location.href='http://www.amazon.co.uk/exec/obidos/external-search/?keyword='+escape(q)+'&mode=blended&tag=blogography-21&Go=Go')
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|