Dodatek do IdoSell IAI - Panel

mail@pastecode.io avatar
unknown
css
2 years ago
665 B
1
Indexable
Never
// ==UserScript==
// @name         Dodatek do IdoSell IAI - Panel
// @version      0.1
// @description  Ukrywanie banerów
// @author       MroźnyHipis
// @match        https://mi-store.pl/panel/*
// @run-at       document-end
// @license      GNU GPL
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

var css = `
.super-shop, #bgrowth-home-photo {
    display:none !important;
}`

addGlobalStyle(css);