Javascript Checkup
Posted: Mon Oct 17, 2005 7:28 pm
Hi,
I just created kind of a simple Javascript Plugin. Imagine someone blogs about a term you do not understand. Now you could just go, open a new window and research the term yourself. Instead I created a javascript that will check the current selection and query e.g. google or wikipedia in a new browser window. If you like to include it in your sidebar do the following:
1. open the administration panel and go to Configure Plugins.
2. Click on install new Sidebar Plugin.
3. Select HTML Nugget and install it
4. <b>Leave the Title Window empty</b>
5. paste the script you find here into the main window
6. <b>optionally</b> Read the top of the script and change any configuration variable you like (e.g. enable/disable additional search engines)
7. Ensure that <i>Perform Markup Transformations </i> is set to no
8. click on save.
9. Enjoy
I just created kind of a simple Javascript Plugin. Imagine someone blogs about a term you do not understand. Now you could just go, open a new window and research the term yourself. Instead I created a javascript that will check the current selection and query e.g. google or wikipedia in a new browser window. If you like to include it in your sidebar do the following:
1. open the administration panel and go to Configure Plugins.
2. Click on install new Sidebar Plugin.
3. Select HTML Nugget and install it
4. <b>Leave the Title Window empty</b>
5. paste the script you find here into the main window
6. <b>optionally</b> Read the top of the script and change any configuration variable you like (e.g. enable/disable additional search engines)
7. Ensure that <i>Perform Markup Transformations </i> is set to no
8. click on save.
9. Enjoy