ycktw / Apple Daily NO AD

// ==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();
});