隐藏网页请求通知权限

自动隐藏所有网页的通知权限请求。

作者
Scottdoha
日安装量
1
总安装量
181
评分
0 0 0
版本
0.8
创建于
2024-05-20
更新于
2024-05-20
许可证
MIT
适用于
所有网站

1.功能描述:
自動隱藏所有網頁彈出的通知權限請求框,不再受到網頁彈出通知的干擾。

2.運作原理:
此腳本通過替換瀏覽器原生的 Notification.requestPermission() 函數,當網頁彈出通知權限請求時,將彈出的通知視窗自動隱藏。腳本會檢測瀏覽器的語言設置,並根據不同語言顯示對應的隱藏提示信息。

3.免責聲明:
使用者明確同意,該腳本僅用於阻止網頁彈出的通知權限請求框,並無其他用途。開發者不對使用該腳本可能導致的任何後果負責,包括但不限於導致網站功能異常、信息丟失等問題。使用者需自行承擔風險並謹慎使用。




1.Feature Description:
This script automatically hides notification permission request pop-ups on all webpages, preventing users from being interrupted by notification requests.

2.How It Works:
The script works by replacing the native Notification.requestPermission() function of the browser. When a webpage triggers a notification permission request, the pop-up notification window is automatically hidden. The script detects the browser's language settings and displays corresponding hidden notification messages.

3.Disclaimer:
By using this script, the user explicitly agrees that it is solely intended to block notification permission request pop-ups on webpages and has no other purpose. The developer is not responsible for any consequences that may arise from using this script, including but not limited to website malfunctions or loss of information. Users are advised to use it at their own risk and discretion.