Auto-Click Blogger Sensitive Content Button

Automatically clicks through sensitive content warnings on Blogger

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Molly Harris
今日安裝
0
安裝總數
141
評價
0 0 0
版本
1.0
建立日期
2025-01-04
更新日期
2025-01-04
尺寸
2.2 KB
授權條款
CC BY-NC-SA 4.0
腳本執行於

This script automatically bypasses the sensitive content warning pages that appear on Blogger and Blogspot sites. It works by detecting and clicking the "I UNDERSTAND AND I WISH TO CONTINUE" button when these warning pages appear.

Features

  • Works on both blogger.com and blogspot.com domains
  • Multiple detection methods to handle different page layouts
  • Retries up to 5 times if initial attempts fail
  • Uses a MutationObserver to handle dynamically loaded content
  • Times out after 10 seconds to prevent endless waiting
  • No external dependencies required

Technical Details

The script employs three methods to locate and click the warning button:

  1. CSS selectors targeting specific button classes
  2. Text content matching
  3. XPath selection as a fallback method

Configuration

The script includes three configurable constants:

  • MAX_ATTEMPTS: Number of retry attempts (default: 5)
  • ATTEMPT_INTERVAL: Milliseconds between attempts (default: 1000)
  • MAX_OBSERVE_TIME: Maximum time to observe DOM changes (default: 10000)

These values can be adjusted in the script code if needed.