隱藏網頁要求通知權限

自動拒絕所有網頁的通知權限要求。

Auteur
Scottdoha
Nombre d'installations quotidiennes
0
Nombre d'installations
171
Évaluations
0 0 0
Version
0.8
Créer
2024-05-20
Mis à jour
2024-05-20
Licence
MIT
S'applique à
Tous les sites

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.