Skip to content

Instantly share code, notes, and snippets.

@vsg24
Last active September 30, 2022 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsg24/481ac4fd6744f7afa67c87926f0928f5 to your computer and use it in GitHub Desktop.
Save vsg24/481ac4fd6744f7afa67c87926f0928f5 to your computer and use it in GitHub Desktop.
Thelocal.dk paywall remover for Tempermonkey
// ==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