| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#1
| |||
| |||
| Hey everyone, I have some free time these days and I feel like writing some bookmarklets. These are pretty easy to do so if you need one, please post here ! I'll gladly help you as fast as i can .Here are a couple of things bookmarklets can do for you :
|
|
#2
| |||
| |||
| Here are some bookmarklets.. pretty simple ones but someone might find them useful ! ![]() Translate selection (any language) to english : (Simply change "|en|" to "|fr|" or "|es|" to translate to french or spanish, etc.. Code: javascript:void((function(){window.open("http://translate.google.com/translate_t#auto|en|"+document.getSelection().toString());})()) (Simply change =en to =fr or =es for another language) Code: javascript:void((function(){window.open("http://translate.google.com/translate?js=n&u="+location.href+"&sl=auto&tl=en");})()) Code: javascript:void((function(){window.open("http://images.google.com/images?hl=en&q="+document.getSelection().toString());})()) Code: javascript:void((function(){window.open("http://www.google.com/search?q=define:%20"+document.getSelection().toString());})()) |
|
#3
| ||||
| ||||
| Don't need a bookmarklet for searching for text it already exists in Chrome ... Ctrl + F gets you there ... I think some one has already written one for translation ... |
|
#4
| ||||
| ||||
| @ stevePaul: Why are you sort of negative to someone offering to actually program something for others? Plus: I do not get your "ctrl-F" comment... none of the bookmarklets proposed by Kyrax are a "ctrl+F" substitution Plus: "someone has already... blabla" serves really no purpose... I normally don't rant but your comment got me there! Furious Luc VN |
|
#5
| ||||
| ||||
| LVN ... Firstly, I was responding to Kyrax original post 'Need a Bookmarklet' so in between me posting and it landing here they'd subsequently added to the post (ie the Bookmarklets).... Hence also your confusion about the Ctrl+F for 'search selected text on a web page'. Those that have seen my posts on this forum previously know that I am a great advocate of innovation having been responsible for finding solutions to several problems\issues myself ... Finally (again people know this about me) the one thing that infuriates me more than anything else (not only on this forum !!) is people not bothering to search for an answer to their problem or issue (or solution) before posting a question or solution here ... In the meantime enjoy the forum :-D PS Hope you've calmed down now ... |
|
#6
| ||||
| ||||
| Thanks StevePaul: cooled off now I suspect I had a bad day... Not really like me to post with "Furious Luc VN" as a signature. Rgds, Luc VN |
|
#7
| ||||
| ||||
| Not a problem ... Regards S P :-D |
|
#8
| ||||
| ||||
| Can you please write these bookmarklets for me: A bookmarklet that can search the highlighted terms on Google, live, ebay, and download.com. And since they're easy to make can you please teach me how? Last edited by Clouds; 04-20-2009 at 01:27 AM.. |
|
#9
| ||||
| ||||
| Actually Kyrax, it would be a nice post to see on Chrome Plugins' blog (How to make a search bookmarklet) |
|
#10
| |||
| |||
| Quote:
Also, there are tons of tutorials on Javascript.. just use google ! ![]() I'm going to post the bookmarklet for Cloud's request shortly. EDIT: Here it is.. Code: javascript:void((function(){var a=document.getSelection().toString();window.open("http://www.google.com/search?q="+a);window.open("http://search.live.com/results.aspx?q="+a);window.open("http://shop.ebay.com/items/?_nkw="+a);window.open("http://download.cnet.com/1770-20_4-0.html?query="+a+"&searchtype=downloads");})()) If you don't want all of them, here's the individual versions : Live : Code: javascript:void((function(){var a=document.getSelection().toString();window.open("http://search.live.com/results.aspx?q="+a);})()) Code: javascript:void((function(){var a=document.getSelection().toString();window.open("http://shop.ebay.com/items/?_nkw="+a);})()) Code: javascript:void((function(){var a=document.getSelection().toString();window.open("http://download.cnet.com/1770-20_4-0.html?query="+a+"&searchtype=downloads");})()) ![]() Feel free to ask for more ! Kyrax Last edited by Kyrax; 04-20-2009 at 04:48 AM.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wiki-it! Bookmarklet | Kyrax | Chrome Plugins | 8 | 11-15-2009 10:47 PM |
| Bookmarklet for PageRank | woz2 | Chrome Plugins | 6 | 04-15-2009 02:35 AM |
| Google Translate Selected to Any Language - Bookmarklet | vietnam | Chrome Tips & Tricks | 3 | 04-10-2009 03:06 PM |