Welcome guest, is this your first visit? Create Account now to join.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

This is a discussion on Need a bookmarklet ? Ask ! within the Chrome Plugins section, part of the Google Chrome category: Hey everyone, I have some free time these days and I feel like writing some bookmarklets. These are pretty easy ...


  1. #1
    Kyrax is offline 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 !



  2. #2
    Kyrax is offline 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 !

  3. #3
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    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 ...

  4. #4
    Luc VN's Avatar
    Luc VN is offline Senior Member
    Join Date
    Sep 2008
    Location
    Belgium - Europe
    Posts
    758

    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

  5. #5
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    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 ...

  6. #6
    Luc VN's Avatar
    Luc VN is offline Senior Member
    Join Date
    Sep 2008
    Location
    Belgium - Europe
    Posts
    758

    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

  7. #7
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    Not a problem ...

    Regards
    S P :-D

  8. #8
    ducktape is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    213

    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 ducktape; 04-20-2009 at 12:27 AM.

  9. #9
    Stamga's Avatar
    Stamga is offline Super Moderator/Designer
    Join Date
    Mar 2009
    Location
    Qc, Canada
    Posts
    601

    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)


  10. #10
    Kyrax is offline 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 03:48 AM.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Google Translate Selected to Any Language - Bookmarklet
    By vietnam in forum Chrome Tips & Tricks
    Replies: 4
    Last Post: 12-10-2010, 11:23 AM
  2. Wiki-it! Bookmarklet
    By Kyrax in forum Chrome Plugins
    Replies: 8
    Last Post: 11-15-2009, 10:47 PM
  3. Bookmarklet for PageRank
    By woz2 in forum Chrome Plugins
    Replies: 6
    Last Post: 04-15-2009, 01:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •