| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#1
| |||
| |||
| 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('_',' '));})()) 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 05:58 PM.. Reason: Added a video |
|
#2
| ||||
| ||||
| Wow! You did a very good job on it. Very useful for finding definitions |
|
#3
| |||
| |||
| 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
| |||
| |||
| Quote:
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
| ||||
| ||||
| Well impressed :-D :-D |
|
#6
| |||
| |||
| is there any possibility to change an icon of this bookmarklet? fe. change script somehow? |
|
#7
| |||
| |||
| 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
| ||||
| ||||
|
__________________ We should not confuse information with knowledge... (T.S. Eliot) |
|
#9
| |||
| |||
| That's a nice one, chef! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 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 |