-
-
Save Joseluis2018/c3ed8f494e5d64180e04d82735210302 to your computer and use it in GitHub Desktop.
user.js
This file contains hidden or 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