Created
November 17, 2015 01:10
-
-
Save Mumfrey/55cdb94ab8e24664e0d3 to your computer and use it in GitHub Desktop.
FuckYouAnotherBadlyPhotoshoppedPhotoofMichaelCeraEveryday.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name FuckYouAnotherBadlyPhotoshoppedPhotoofMichaelCeraEveryday | |
// @namespace eq2.co.uk | |
// @description Fuck You AnotherBadlyPhotoshoppedPhotoofMichaelCeraEveryday | |
// @include http://imgur.com/gallery/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener("DOMNodeInserted", function check(evt) { | |
var postAcc = $(".post-account"); | |
if (postAcc != null && postAcc.length > 0) { | |
$('body')[0].style.backgroundColor = /AnotherBadlyPhotoshoppedPhotoofMichaelCeraEveryday$/.test(postAcc[0].href) ? "#660000" : "#121211"; | |
} | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment