Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 9 of 9

This is a discussion on Wiki-it! Bookmarklet within the Chrome Plugins section, part of the Google Chrome category: Here is a simple and quite useful bookmarklet What it does : This bookmarklet allows you to quickly reach the ...


  1. #1
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Arrow Wiki-it! Bookmarklet

    Here is a simple and quite useful bookmarklet

    What it does :
    This bookmarklet allows you to quickly reach the wikipedia page of any given subject.

    Video demonstration : http://www.youtube.com/watch?v=vXzGt4Fd2mU

    How to install it :
    Simply right click your bookmark bar.
    Click "add page".
    Under name, type "Wiki-it!".
    Under URL, copy and paste the following :
    Code:
    javascript:void((function(){var%20a=document.getSelection().toString();window.open("http://en.wikipedia.org/wiki/"+a.replace('_',' '));})())
    That's it !

    How to use it :
    While reading any sort of document, select some text ( highlight it as you would do in order to copy/paste it ) and simply press the Bookmarklet.

    You can also select multiple adjacent words. Try it on this : Albert Einstein.
    Simply highlight everything that is bold, click the bookmarklet and the string will be parsed correctly.

    How to change the language :
    If you would like to change the language of the wikipedia used, change the "en" in the bookmark "http://en.wikipedia.org/" to "http://fr.wikipedia.org" ( this would change it to the french wikipedia.

    Use
    "de" for deutsch,
    "fr" for french,
    "es" for spanish,
    etc..

    Question/Comments :
    Please post any question / comments / bugs in this forum thread.
    Feel free to share this bookmarklet with anyone !

    Please tell me what you think !

    Of course, as any bookmarklet you need Chrome 2.0+
    Last edited by Kyrax; 04-16-2009 at 04:58 PM. Reason: Added a video

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

    Default

    Wow! You did a very good job on it. Very useful for finding definitions


  3. #3
    freesky is offline Junior Member
    Join Date
    Apr 2009
    Posts
    1

    Default

    I already followed all the instruction... but it seems not working for me..
    Nothing happened when I started to click the Wiki-it tab after highlited the words..

    Anybody would give me a clue

    thx

  4. #4
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Quote Originally Posted by freesky View Post
    I already followed all the instruction... but it seems not working for me..
    Nothing happened when I started to click the Wiki-it tab after highlited the words..

    Anybody would give me a clue

    thx
    Could you go to "Wrench menu -> About Google Chrome" and give us your version number ?

    You need to be using Chrome 2.0+, which is only available on the dev channel.
    Switching to the dev channel is easy : http://dev.chromium.org/getting-involved/dev-channel

    Hope this helps,
    Kyrax

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

    Default

    Well impressed :-D :-D

  6. #6
    cinn is offline Junior Member
    Join Date
    Sep 2009
    Posts
    1

    Default

    is there any possibility to change an icon of this bookmarklet?
    fe. change script somehow?

  7. #7
    NicholasPufal is offline Senior Member
    Join Date
    Jun 2009
    Location
    Porto Alegre, Brazil
    Posts
    109

    Default

    You would require an extension for that.

    This is just a bookmarklet, which means it's just a piece of Javascript (code) that grabs the selected text and redirect you to the Wikipedia page, passing that selection.

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

    Default

    @cinn

    Have a look at Cleeki http://www.cleeki.com/chrome.html

    A lot more than just Wikipedia l-)

  9. #9
    Xristos is offline Junior Member
    Join Date
    Nov 2009
    Posts
    8

    Default

    That's a nice one, chef!

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