leonardo.corsettigmail.com / Semplifica articoli Curiosity

// ==UserScript==
// @name         Semplifica articoli Curiosity
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Semplifica articoli Curiosity
// @author       You
// @match        https://curiosity.com/topics/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    
    //funzione utile all'inserimento di uno stile CSS nella pagina
    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('.col-xs-12.col-lg-10.col-lg-offset-1 {display: none;}');
    
    addGlobalStyle('.image-header {display: none;}');
    addGlobalStyle('.left-col-sticky {display: none;}');
    
    
    addGlobalStyle('.col-sm-3.col-md-4.col-lg-4.hidden-xs.right-col-wrapper {display: none;}');
    addGlobalStyle('.col-xs-12.col-sm-9.col-md-8.col-lg-7.col-lg-offset-1 { width: 90%;}');
    
    
    

    
    
})();