Created
September 21, 2015 09:25
-
-
Save G3ronim0/9f12ba2857c12b26fde3 to your computer and use it in GitHub Desktop.
Premium SO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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