click-n-hold

By 2x Last update Mar 9, 2010 — Installed 456 times. Daily Installs: 1, 0, 2, 0, 0, 0, 0, 0, 0, 1, 2, 3, 0, 1, 1, 0, 0, 0, 2, 1, 16, 9, 3, 2, 1, 2, 1, 2, 1, 1, 4
Script Summary:
Quick access to some search services after click-n-holding the left mouse button for 0.6 sec
Recently Updated TopicsPosts
A screenshot?2

this script has 1 topic, 2 posts

Review Summary
5 stars
0 reviews (0)
4 stars
1 reviews (1)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review

First: I don't know what is it good for. Seemed like a good idea, so I did it.

The searching services are hard-coded, but simple to change. Besides, i cannot figure out how to make different ways to build the requests simply configurable. At to moment implemented are: Google (also restricted to the site), Wikipedia(en), Wolfram|Alpha, Wiktionary(en), Google Translate (auto-detect to English), Google Docs (if held over a link), and CVE identifiers (on cve.mitre.org).

Click-n-holding on a link will use the link text contents (doesn't work on image links yet), the link target is copied. If a plain text of the selection looks like a link, a small "[Link]" A-tag is inserted before the text in the popup, with href containing the selection contents. Useful for links as text.

Clicking on search services icons will open a new window, as well as clicking on a copied link. Useful for laptop touchpads, btw (to avoid using Ctrl/Shift/Alt while reading in bed).

The text of the selection used to access the services stays on the screen, sticking to the absolute document position. The text can be moved and resized.

Also, drag-n-dropping a link confuses the scripts timers, and new notes get created spontaneously.

Almost works in Google Chrome (click-n-holding over a link doesn't work, for reasons undiscovered).