Skip to content

Instantly share code, notes, and snippets.

@G3ronim0
Created September 21, 2015 09:25
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 G3ronim0/9f12ba2857c12b26fde3 to your computer and use it in GitHub Desktop.
Save G3ronim0/9f12ba2857c12b26fde3 to your computer and use it in GitHub Desktop.
Premium SO
// ==UserScript==
// @name Premium SO
// @namespace pso
// @include http://www.sudouest.fr/*
// @grant none
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js
// ==/UserScript==
window.setTimeout(
function(){
if ($(".short").css("display") == "block") {
$(".short").attr("style", "display: none;");
$(".long").attr("style", "display: block;");
}
$(".ad-box").css("display", "none");
$("#ad-purl-bloc").css("display", "none");
$("#ad-purl-footer").css("display", "none");
$("#pub_dfp_banniere_haute").css("display", "none");
$("#pub_dfp_banniere_basse").css("display", "none");
$(".footer-premium").css("display", "none");
}, 3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment