Wikipedia:Tools/Snap Preview Anywhere

Snap Preview Anywhere is a script, written in JavaScript (source), that offers easy implementation of the Snap Search Engine feature by the same name. This service provides small dynamic popups on external links featuring a thumbnail image of the destination page.

Quick installation: add to your monobook.js (or equivalent file if you use a different skin). See below for full installation instructions.

Features

 * Replace external link icon with Snap Preview Anywhere icon.
 * Mouseover Snap Preview Anywhere icon to launch preview popups.

Installation
You must have a user account in order to install and use the Navigation popups feature. If you do not have an account you will need to create one and log in. The next step is to add  to your monobook.js page. This will add the following code to your .js file: // User:Zgreenberger/snap.js importScript('User:Zgreenberger/snap.js'); Note: If you are using a skin other than MonoBook (the default), the relevant file you will need to edit is listed below. After saving the page, clear your browser's cache (hold SHIFT key while reloading/refreshing page; on Mozilla Firefox Shift-Control-R). Assuming that you have not disabled Javascript in your browser, a popup should appear whenever you hover your mouse over an internal link in Wikipedia. If you use more than one web browser, or more than one PC, you may need to clear the caches for each so that the popup appears.
 * Classic skin: standard.js
 * Cologne Blue: cologneblue.js
 * Chick: chick.js
 * Simple: simple.js
 * Nostalgia: nostalgia.js
 * MySkin: myskin.js

To install the script on the commons or Wiktionary, repeat this procedure on those wikis.

To uninstall the script, delete the above lines from the same page and clear your browser's cache.

Translations
Snap Preview Anywhere does offer localized versions of the popup. Future versions will include the ability to pass in a localization code to customize the display language.

Feedback
Bugs, problems, suggestions and enhancements to Zgreenberger, please.

Development version
This tool remains under development. The very latest version is available at User:Zgreenberger/snap.js. If you do want to install it, you can type

User:Zgreenberger/snap.js

into your user javascript file.

Credits and external links
This tool depends on some other peoples' work:
 * User:Lupin provided the model I copied for customizing skin javascript with his excellent Tools/Navigation_popups.
 * User:Chuq pointed out that this tool is simliar to Tools/Navigation_popups
 * User:Nickj actually suggested I build this