本来是要收费才能移除的,我嫌烦查了位置用油猴移除了
在油猴里面新建脚本贴下列代码保存即可
// ==UserScript==
// @name Remove Outlook Live Ad
// @namespace
http://tampermonkey.net/// @version 0.1
// @description Remove the ad block on Outlook Live
// @author Your Name
// @match
https://outlook.live.com/mail/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
function removeAd() {
const adDiv = document.querySelector('.GssDD');
if (adDiv) {
adDiv.remove();
}
}
// Attempt to remove the ad immediately
removeAd();
// In case the ad loads later, keep checking every 1 second
setInterval(removeAd, 1000);
})();
适合懒人
--
FROM 58.147.226.*