NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name PassThePopcorn Avatar Dimmer
// @namespace PTP
// @description Replaces the default avatar on passthepopcorn to a darker version to reduce contrast.
// @include *passthepopcorn.me/*
// @version 1.04
//
// @history 1.04 Fix: include static. prefix.
// @history 1.03 Fix: include tls. prefix. Changed dark image host to imgur
// @history 1.02 Fix: changed include to .me
// @history 1.01 Change to .me
// @history 1.00 Initial release
// @updateURL https://openuserjs.org/meta/nascent/PassThePopcorn_Avatar_Dimmer.meta.js
// @downloadURL https://openuserjs.org/install/nascent/PassThePopcorn_Avatar_Dimmer.user.js
// @license GPL-3.0-or-later
// ==/UserScript==
//Default avatar
//https://passthepopcorn.me/static/common/avatars/default.png
for(var iAvatar=0;iAvatar<document.images.length;iAvatar++){
//http://img30.imageshack.us/img30/1200/passthepopcorndarkerdef.png
if(document.images[iAvatar].src == "http://passthepopcorn.me/static/common/avatars/default.png") document.images[iAvatar].src = "http://i.imgur.com/oaxgf.png";
if(document.images[iAvatar].src == "https://passthepopcorn.me/static/common/avatars/default.png") document.images[iAvatar].src = "http://i.imgur.com/oaxgf.png";
if(document.images[iAvatar].src == "https://tls.passthepopcorn.me/static/common/avatars/default.png") document.images[iAvatar].src = "http://i.imgur.com/oaxgf.png";
if(document.images[iAvatar].src == "http://static.passthepopcorn.me/static/common/avatars/default.png") document.images[iAvatar].src = "http://i.imgur.com/oaxgf.png";
if(document.images[iAvatar].src == "https://static.passthepopcorn.me/static/common/avatars/default.png") document.images[iAvatar].src = "http://i.imgur.com/oaxgf.png";
}