Skip to content

Instantly share code, notes, and snippets.

@magiccyril
Last active February 20, 2023 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magiccyril/d411de5fb8a91c2ed2029fdbd696a04e to your computer and use it in GitHub Desktop.
Save magiccyril/d411de5fb8a91c2ed2029fdbd696a04e to your computer and use it in GitHub Desktop.
SoPremium
// ==UserScript==
// @name SO Premium
// @namespace http://tampermonkey.net/
// @version 0.6
// @description try to take over the world!
// @author You
// @match https://www.sudouest.fr/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.document.styleSheets[0].insertRule('body .visible-premium, body .article-content { display: block !important; height: auto !important; }', 0);
window.document.styleSheets[0].insertRule('body .visible-not-premium, #poool-widget { display: none !important; }', 0);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment