GM_addStyle_shim

This is just a shim to add back in GM_addStyle for scripts in @grant none mode, or that run on benighted engines without native GM_addStyle support.

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greatest.deepsurf.us/scripts/44560/271595/GM_addStyle_shim.js을(를) 사용하여 포함하는 라이브러리입니다.

function GM_addStyle (cssStr) {
    var D               = document;
    var newNode         = D.createElement ('style');
    newNode.textContent = cssStr;

    var targ    = D.getElementsByTagName ('head')[0] || D.body || D.documentElement;
    targ.appendChild (newNode);
}