User talk:Func/wpfunc/blockiphelp.js
From Wikipedia, the free encyclopedia
Block IP Help is a monobook.js script to add additional functionality to the Special:Blockip page. Currently, it only indicates if an IP belongs to AOL or not.
Contents |
[edit] Usage
You can simply add the following to your monobook.js page:
document.write(
'<script type="text/javascript" src="/w/index.php?title=' +
'User:Func/wpfunc/blockiphelp.js' +
'&action=raw&ctype=text/javascript&dontcountme=s"><'+'/script>'
);
Alternitively, you can simply copy the contents of User:Func/wpfunc/blockiphelp.js into your monobook.js page.
[edit] Functionality
Next to the field where you enter the IP address or the username, the following text will appear:
- (none)
- The field is empty.
- Not an IP.
- Username, (or ill-formed IP address). The expiry time is set to 24 hours.
- Unknown IP.
- The expiry time is set to 1 hour.
- AOL IP address.
- The expiry time is set to 15 minutes.
The message will also change when you enter a new IP or username, (after you tab away or click away from the field).
[edit] Bugs and feature requests
I haven't had a chance to test this on a Windows machine yet, so let me know how things go.

