jeroenvdb / Visual Performance

// ==UserScript==
// @name         Visual Performance
// @version      0.1
// @author       Jeroen Van den Berghe
// @connect      jeroenvdb.be
// @include	 	 http*://jeroenvdb.be/*
// @include	 	 http*://m.hln.be/*
// ==/UserScript==

(function() {
    'use strict';

    function addGlobalStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    addGlobalStyle(
        '.ankeiler__link-wrapper:active { color: red !important; } .horizontal-ankeiler:active, .vertical-ankeiler:active { background-color: #f5f5f5 !important; border-color: #f5f5f5 !important; margin: 0 !important; padding: 15px 15px 0 15px !important; }'
    );
})();