User:Jeeputer/defconIndicator

the Defcon Indicator is a user script that shows a colored icon in the personal toolbar, next to the notification icons on top of the site indicating current vandalism level.

This script is actually a fork of User:Enterprisey/watchlist-notice.js.

Installation
Copy the following to your common.js page and click Save. You may need to clear your browser's cache after saving.

Description
The code relies on the vandalism level set on User:EnterpriseyBot/defcon and automatically checks for any changes to that page every 2 minutes. you can manually check for changes by clicking on the icon.

Levels

 * Ledred.png Vandalism level: 1
 * Ledorange.png Vandalism level: 2
 * Ledyellow.png Vandalism level: 3
 * Ledgreen.png Vandalism level: 4
 * Ledblue.png Vandalism level: 5

Bug reports and feature requests
You can report any bugs of request for new features on my talk page.