Skip to content

Instantly share code, notes, and snippets.

@kane-t
Forked from CJKinni/Morrichris.js
Last active June 21, 2016 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kane-t/5af42e7b7589859cf464a32781ff22cd to your computer and use it in GitHub Desktop.
Save kane-t/5af42e7b7589859cf464a32781ff22cd to your computer and use it in GitHub Desktop.
// ==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("bio")[0].innerText = "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