Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==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