Last active
October 16, 2018 20:46
-
-
Save OlleMattsson/3ea9d1aa021d1495f6cf3e7ddee7447c to your computer and use it in GitHub Desktop.
user.js
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 DN Reader | |
// @namespace http://dn.se/ | |
// @version 0.1 | |
// @description Tear down this wall. | |
// @author olmen | |
// @match https://www.dn.se/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$(window).load(function () { | |
$('.article__premium-content').show(); | |
$('.js-paywall').hide(); | |
$('.article__lead').css({ | |
'overflow': 'auto', | |
'position': 'inherit', | |
'max-height': 'none' | |
}); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment