Skip to content

Instantly share code, notes, and snippets.

@CJKinni
Last active June 21, 2016 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CJKinni/8cf9d8eb9e49922ec2795d1c4c25d02b to your computer and use it in GitHub Desktop.
Save CJKinni/8cf9d8eb9e49922ec2795d1c4c25d02b 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("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