Enhanced Corrupt Dailymotion Ads

Corrupts ads on Dailymotion by blocking playback

ผู้เขียน
Cloudy.Days
จำนวนติดตั้งประจำวัน
1
จำนวนติดตั้งทั้งหมด
44
คะแนน
0 0 0
เวอร์ชัน
2.0
สร้างเมื่อ
23-09-2024
อัปเดตเมื่อ
23-09-2024
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

Script Title: Enhanced Corrupt Dailymotion Ads

Description

This userscript enhances the Dailymotion video experience by corrupting and blocking the playback of ads. It effectively identifies common ad sources and prevents their playback, allowing users to enjoy uninterrupted content. The script also suppresses specific console warnings to enhance the overall user experience.

Features

  • Ad Blocking: Monitors video elements on Dailymotion and blocks playback for sources identified as ads, including various ad networks and tracking services.
  • Dynamic Detection: Utilizes a MutationObserver to continuously check for new video elements added to the DOM, ensuring ads are blocked in real-time.
  • Error Handling: Rejects the playback promise for detected ads, simulating a connection issue to prevent the ad from being displayed.
  • Console Warning Suppression: Suppresses specific console warnings related to cross-site cookie access, keeping the console output clean and focused.

Installation

  1. Install Tampermonkey or a similar userscript manager in your browser.
  2. Create a new script and copy-paste the provided code into the editor.
  3. Save the script and navigate to Dailymotion to start blocking ads.

Usage

Simply visit Dailymotion after installing the script. The script will automatically begin blocking ad playback without any additional setup required.