Greasy Fork is available in English.

绅士漫画头部广告

Remove ad div element from the webpage

// ==UserScript==
// @name         绅士漫画头部广告
// @namespace    http://tampermonkey.net/
// @version      1
// @description  Remove ad div element from the webpage
// @match        http://www.htmanga3.top/*
// @match        *://www.htmanga3.top/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var elements = document.querySelectorAll('img[alt="贤者同盟"][src="//img4.561245.xyz/data/game/202302/1371_19_贤者同盟_640X150_CN.gif"]');
    for (var i = 0; i < elements.length; i++) {
        var imgParent = elements[i].parentNode;
        imgParent.remove();
    }
})();