Pendoria - Hide Trade Channel

Hides the trade channel.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name Pendoria - Hide Trade Channel
// @namespace http://pendoria.net/
// @version 1.0.1
// @author Kidel
// @contributor Puls3
// @include /^https?:\/\/(?:.+\.)?pendoria\.net\/?(?:.+)?$/
// @icon https://pendoria.net/images/favicon.ico
// @grant none
// @run-at document-start
// @description Hides the trade channel.
// ==/UserScript==

window.addEventListener("DOMContentLoaded", () => {
    initiate();
})
 
function initiate() {
 
    const styleElement = document.createElement("style");
  
    styleElement.innerText =
      "[data-channel=\"/trade\"]{ display: none!important; }";
 
    document.head.append(styleElement);

    $("li:has(a[data-channel='/trade'])").css("display", "none");

}