MCPcopy Index your code
hub / github.com/XIU2/UserScript / insStyle

Function insStyle

Autopage.user.js:2338–2341  ·  view source on GitHub ↗
(style)

Source from the content-addressed store, hash-verified

2336 }
2337 // 插入 <Style>
2338 function insStyle(style) {
2339 if (style.indexOf('{') === -1){style += '{display: none !important;}'}
2340 document.documentElement.appendChild(document.createElement('style')).textContent = style;
2341 }
2342
2343
2344 // 获取元素(CSS/Xpath)来自:https://github.com/machsix/Super-preloader

Callers 5

setDBSiteFunction · 0.85
getRulesUrl_Function · 0.85
Autopage.user.jsFile · 0.85
waterfallStyleFunction · 0.85
windowScrollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected