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");

}