User:Arendedwinter/whoisinfo

From Wikipedia, the free encyclopedia

Now available for IE7 users!!

This is a simple script that adds an extra link to any page that contains anon IPs' that lead to a WHOIS search, making things a lot quicker when you need to work out who someone is.

There are now two versions of this script available. One for Mozilla-based browsers and one for IE7 (probably works on IE6 using gm4ie, but I haven't tested it). It should however work on all Wiki sites, and on all pages.

If you would like to install it, you can either copy and paste the code below, or get it from;

[edit] IE7 (requires IE7 Pro. Get it here)

http://www.iescripts.org/view-scripts-189p1.htm

[edit] Mozilla-based browsers (requires Greasemonkey)

http://userscripts.org/scripts/show/13393.

(Note - if you use the code from below, make sure the last edit to this page was by Arendedwinter, as someone may have altered it. If in doubt, use the link provided above this notice and install the script directly.)


  • Current Version 1.4 - Changed IP regex to match on octets of 0.

Version 1.3 - Filters out external links. I noticed that certain articles contain text similar to IPs' (eg: anything that has an Enzyme Commission code). If the href doesn't link to Wikipedia, we don't want a WHOIS for it.

version 1.2 - Fixed Special Contribs links (when text was shown as textContent)

Version 1.1 - Fixed a bug with User talk links. Shouldn't include text in URL now.