Horje
tampermonkey custom css Code Example
tampermonkey custom css
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.replace(/;/g, ' !important;');
    head.appendChild(style);
}
/*  this only works, if you use the function instead of GM_addStyle
 the output of this "addGlobalStyle('body { color: white; background-color: black; }');",

will be "body { color: white !important; background-color: black !important; }');" */






Css

Related
css nested class Code Example css nested class Code Example
hover effects css Code Example hover effects css Code Example
css grid take 2 columns Code Example css grid take 2 columns Code Example
mettre un element en avant css Code Example mettre un element en avant css Code Example
twig date modify Code Example twig date modify Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11