Greasy Fork

来自缓存

Greasy Fork is available in English.

Remove Brainless

Remove blank quotations from adnmb

当前为 2020-04-25 提交的版本,查看 最新版本

// ==UserScript==
// @name         Remove Brainless
// @namespace    https://adnmb2.com/
// @version      0.1
// @description  Remove blank quotations from adnmb
// @author       FBTo3is
// @match        https://adnmb2.com/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    "use strict";
	var htmlCollection = document.getElementsByClassName("h-threads-content");
    var array = [].slice.call(htmlCollection);
    for (var i = 0; i < array.length; i++) {
        if ((array[i].textContent.includes(">>No.")) && (array[i].textContent.length == 58)) {
            array[i].parentElement.parentElement.remove();
        }
    }
})();