Last active
September 30, 2022 11:08
-
-
Save vsg24/481ac4fd6744f7afa67c87926f0928f5 to your computer and use it in GitHub Desktop.
Thelocal.dk paywall remover for Tempermonkey
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 Paywall Remover | |
// @namespace https://srizon.com/ | |
// @version 0.1 | |
// @description Remove Paywall from thelocal.dk and thelocal.de | |
// @author Afzal | |
// @match https://www.thelocal.dk/* | |
// @match https://www.thelocal.de/* | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none | |
// ==/UserScript== | |
$(document).ready(function() { | |
$('body').append('<input type="button" value="Remove Paywall" id="CP">') | |
$("#CP").css("position", "fixed").css("top", 0).css("left", 0).css("z-index",9999999); | |
$('#CP').click(function(){ | |
$(".tp-modal").remove(); | |
$(".tp-backdrop").remove(); | |
$("body").removeClass(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment