Greasy Fork is available in English.

웹 페이지 알림 권한 요청 숨기기

모든 웹 페이지에서 알림 권한 요청을 자동으로 숨깁니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
Scottdoha
일일 설치수
0
총 설치수
33
평점
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.