Jump to content

User:Kaniivel/IPLabeller

From Wikipedia, the free encyclopedia
User script
IPLabeller
DescriptionEnables user to set labels and/or background colors to anonymous IP addresses
Author(s)Kaniivel
StatusStable
UpdatedApril 25, 2015; 9 years ago (2015-04-25)
BrowsersFirefox, Chrome, Internet Explorer
SkinsVector
SourceUser:Kaniivel/IPLabeller.js

IPLabeller makes it possible to set labels and/or background colors to anonymous IP address user accounts. It works in various listings: Recent changes list, Page history, etc. The original purpose of the script was to make noticing vandalizing IP-s in Recent changes list easier. This can be done, for example, by setting background color of frequently vandalizing IP-s to red. IP addresses with decent contributions can be set to green in turn. However, the other use of the script is to identify specific IP addresses on various Wikipedia pages over time by attaching a label to them.


To use this script: Copy the line below, then click here, paste the line, and hit the save button.

  • {{subst:iusc|User:Kaniivel/IPLabeller.js}}


Here you can see one IP address marked with green, one just given label "John Doe", and one given label "Vandal" and marked red. The IPLabeller form is open at the top right.

Optional: If you want to set your own markup colors for the script, add the following code into your common.js file

var colorCodes = {
        1:"#FC8888",  // red
        2:"#ffe299",  // yellow
        3:"#99FF33"   // green
};

and change the Hex codes of the colors as desired. You can use W3Schools HTML Color Picker to get Hex codes.

Updates

[edit]
  • 2015/04/25
Updated CSS, changed from em units to px units, so that scaling up browser font size wouldn't break the div box.
Text input field has bigger font size now, better readable.
Replaced the text "Label deleted" with "Label removed".
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy