FallUp / JVStagiaire

// ==UserScript==
// @name         JVStagiaire
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  FUCK LE STAGIAIRE
// @author       FallUp
// @match        http://www.jeuxvideo.com/forums/42*
// @match        http://www.jeuxvideo.com/forums/0*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    //setInterval(function(){
        var oldLinks = document.querySelectorAll('link[href^="//static.jvc.gg/"]');

        [].forEach.call(oldLinks, function(elem) {
            document.querySelector("head").removeChild(elem);
        });

        var cssfiles = ["http://fallup.alwaysdata.net/jvstagiaire/skin-common.jvc.css", "http://fallup.alwaysdata.net/jvstagiaire/skin-forum.jvc.css"];

        cssfiles.forEach(function(href) {
            var link = document.createElement("link");
            link.href = href;
            link.type = "text/css";
            link.rel = "stylesheet";

            document.querySelector("head").appendChild( link );
        });
    //}, 200);
})();