删除B站推荐的逆天玩意儿

针对的就是“被这个反智视频笑死”这个逆天的鬼东西

// ==UserScript==
// @name         删除B站推荐的逆天玩意儿
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  针对的就是“被这个反智视频笑死”这个逆天的鬼东西
// @author       狗
// @license 狗
// @match        https://www.bilibili.com/video/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
// @run-at document-end
// @grant GM_setValue
// @grant GM_getValue
// ==/UserScript==

$(document).ready(function() {
    deleteRetard();
});

function deleteRetard() {
    console.log('?');
    const element = document.getElementsByClassName('video-page-operator-card-small')[0];
    const text = element.innerText;
    if(text.includes('被这个反智视频笑死')) {
        element.style.display = 'none';
        console.log('移除成功!');
    }
}