Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2009, 05:02 PM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default Need a bookmarklet ? Ask !

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 :
  • Translate selected text from any language to any language.
  • Search selected text on a website.
  • Change how a page looks (background, font color,etc..)
  • Use your imagination and suggest something !

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-16-2009, 06:33 PM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

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());})())
Translate current page to english :
(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");})())
Image search selection:
Code:
javascript:void((function(){window.open("http://images.google.com/images?hl=en&q="+document.getSelection().toString());})())
Google define selection:
Code:
javascript:void((function(){window.open("http://www.google.com/search?q=define:%20"+document.getSelection().toString());})())
Any bugs / comments / suggestions are welcome !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-16-2009, 06:36 PM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,415
Send a message via MSN to StevePaul
Default

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 ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-16-2009, 07:41 PM
Luc VN's Avatar
Senior Member
 
Join Date: Sep 2008
Location: Belgium - Europe
Posts: 673
Default

@ 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-17-2009, 01:33 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,415
Send a message via MSN to StevePaul
Default

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 ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-19-2009, 07:57 AM
Luc VN's Avatar
Senior Member
 
Join Date: Sep 2008
Location: Belgium - Europe
Posts: 673
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 04-19-2009, 03:33 PM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,415
Send a message via MSN to StevePaul
Default

Not a problem ...

Regards
S P :-D
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 04-20-2009, 01:24 AM
Clouds's Avatar
Senior Member
 
Join Date: Apr 2009
Location: in a box
Posts: 180
Send a message via MSN to Clouds
Default

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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 04-20-2009, 01:27 AM
Stamga's Avatar
Super Moderator/Designer
 
Join Date: Mar 2009
Location: Qc, Canada
Posts: 599
Send a message via MSN to Stamga
Default

Quote:
Originally Posted by Clouds View Post
And since they're easy to make can you please teach me how?
Actually Kyrax, it would be a nice post to see on Chrome Plugins' blog (How to make a search bookmarklet)
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 04-20-2009, 04:38 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Quote:
Originally Posted by Stamga View Post
Actually Kyrax, it would be a nice post to see on Chrome Plugins' blog (How to make a search bookmarklet)
Well.. i won't go into a tutorial on javascript. Not only I don't feel like writing one, but also i do not think I'm the most qualified on the subject.

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");})())
Searches Google, Live, Ebay.com and Download.com ..

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);})())
Ebay.com
Code:
javascript:void((function(){var a=document.getSelection().toString();window.open("http://shop.ebay.com/items/?_nkw="+a);})())
Download.com
Code:
javascript:void((function(){var a=document.getSelection().toString();window.open("http://download.cnet.com/1770-20_4-0.html?query="+a+"&searchtype=downloads");})())
Also, i suggest that if you want to learn how to make simple bookmarklets, you should look at the code. It's easy to see a pattern here

Feel free to ask for more !

Kyrax

Last edited by Kyrax; 04-20-2009 at 04:48 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 04:01 PM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John