The apple has been bad already.
当前为
// ==UserScript==
// @name AppleDaily No Member
// @version 0.2
// @namespace http://tampermonkey.net/
// @description The apple has been bad already.
// @author Anti-Apple
// @run-at document-end
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @match *://*.appledaily.com/*
// @match *://*.nextmedia.com/*
// @match *://*.nextdigital.com.hk/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.ureadLoad = window.ureadCheckCookie = function() {
window.omo_currentuser = {
isLoggedIn: true,
currentAccount: null,
currentProfile: null,
currentCdnToken: null,
snsTokens: Array(0)};
window.omo_userentitled = true;
};
window.isBlockedContentPromise = function() {
if (isBlockedContent === null) {
// hard content
var isBlockedPromise = isBlockedHardContentPromise(OMOSDK);
return new Promise(function(resolve, reject) {
isBlockedPromise
.then(function(blocked) {
isBlockedContent = false;
resolve(isBlockedContent);
})
.catch(function(err) {
isBlockedContent = false;
resolve(isBlockedContent);
});
});
} else {
return Promise.resolve(isBlockedContent);
}
};
window.isCurrentVideoHasPrerollAd = function() {
return false;
}
window.isNextVideoHasPrerollAd = function() {
return false;
}
window.setInterval(function() {
$(".adaver_box").remove();
$("#div-ad-top").remove();
$("#adHeaderTop").remove();
$("#adFlashLink").remove();
$("*[id^='adRectangle']").remove();
$("#adTextLink").remove();
$("*[id^='divSkyscraper']").remove();
$("*[id^='div-ad-']").remove();
$("*[id^='google_ads']").remove();
$(".anv-ad-content").remove();
}, 100);
})();