Last active
June 21, 2016 12:39
-
-
Save CJKinni/8cf9d8eb9e49922ec2795d1c4c25d02b to your computer and use it in GitHub Desktop.
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 Morrichris | |
// @namespace cjk_cnc | |
// @description Swap Chris Thursten's Fase with Morrichris | |
// @include http://www.pcgamer.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
if (document.getElementsByClassName("author-block")[0].children[0].getAttribute('href') == "http://www.pcgamer.com/author/chris-thursten/"){ | |
document.getElementsByClassName("author-block")[0].children[0].children[0].setAttribute("style", "background-image: url('http://i.imgur.com/XFbqEla.jpg')") | |
document.getElementsByClassName("author-block")[0].children[3].innerHTML = "Chris is the editor of PC Gamer Pro. After many years spent turning beautiful trees into magazines, he now eats digital trees with tangos and reports his findings here." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment