@ -35,10 +35,10 @@
window.open = function() {
return originalOpen('', '_self');
};
// 可选:点击后提示用户已禁用弹窗
// 点击后隐藏按钮
alert('Pop-ups have been disabled for this page.');
button.style.display = 'none';
});
// 挂载按钮到页面
document.body.appendChild(button);
})();