NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Apple Daily NO AD // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author ycktw // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js // @match http://www.appledaily.com.tw/realtimenews/article/* // @grant none // ==/UserScript== $("div").each(function() { var str = $(this).prop("id"); if (str === "") return true; if (str.indexOf("-ad") != -1 || str.indexOf("ad-") != -1 || str.indexOf("ad_") != -1) $(this).remove(); }); $("gwd-doubleclick").each(function() { $(this).remove(); }); $("section").each(function() { $(this).remove(); });