Skip to content

Instantly share code, notes, and snippets.

@OlleMattsson
Last active October 16, 2018 20:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save OlleMattsson/3ea9d1aa021d1495f6cf3e7ddee7447c to your computer and use it in GitHub Desktop.
Save OlleMattsson/3ea9d1aa021d1495f6cf3e7ddee7447c 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