您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
small script to remove chat on page load
- // ==UserScript==
- // @name geniuschatremover
- // @description small script to remove chat on page load
- // @description:en small script to remove chat on page load
- // @version 3
- // @author nnmrts
- // @match http://genius.com/*
- // @match https://genius.com/*
- // @grant none
- // @require http://code.jquery.com/jquery-3.1.1.min.js
- // @namespace https://greasyfork.org/users/86510
- // ==/UserScript==
- (function(){
- $( document ).ready( function () {
- if ($("chat")[0]) {
- $("chat")[0].parentNode.removeChild($("chat")[0]);
- }
- if ($("#chat")[0]) {
- $("#chat")[0].parentNode.removeChild($("#chat")[0]);
- }
- if ($(".chat")[0]) {
- $(".chat")[0].parentNode.removeChild($(".chat")[0]);
- }
- });
- }());