Auto-Click Blogger Sensitive Content Button

Automatically clicks through sensitive content warnings on Blogger

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
Molly Harris
Günlük kurulumlar
1
Toplam kurulumlar
150
Değerlendirmeler
0 0 0
Versiyon
1.0
Oluşturulma
04.01.2025
Güncellenme
04.01.2025
Boyut
2,22 KB
Lisans
CC BY-NC-SA 4.0
Geçerli

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.