Greasy Fork is available in English.

高端影视

低端影视 屏蔽广告插件 故写此脚本

// ==UserScript==
// @name        高端影视
// @namespace   Violentmonkey Scripts
// @match       https://ddrk.me/*
// @grant       none
// @version     0.0.3
// @author      -
// @description 低端影视 屏蔽广告插件 故写此脚本
// ==/UserScript==
(function() {
    'use strict';

    // Your code here...
    var killAll = true;

    setInterval(function () {
      if(killAll && document.getElementsByTagName("img")){
      var ads = document.getElementsByTagName("img");
      for (var i = 0; i < ads.length; i++){
        if (ads[i].src.startsWith("https://ddrk.me/mtp/") || ads[i].src.startsWith("https://ddrk.me/pbw/") || ads[i].src.startsWith("https://ddrk.me/owu/")) {
            ads[i].parentNode.removeChild(ads[i]);
        }
      }
        killAll = false;
      }
        
    },100);
    
})();