Skip to content

Instantly share code, notes, and snippets.

@Joseluis2018
Forked from OlleMattsson/dn-reader.js.user.js
Created December 15, 2017 21:53
Show Gist options
  • Save Joseluis2018/c3ed8f494e5d64180e04d82735210302 to your computer and use it in GitHub Desktop.
Save Joseluis2018/c3ed8f494e5d64180e04d82735210302 to your computer and use it in GitHub Desktop.
user.js
// ==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