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

Function getCSS

Autopage.user.js:2345–2347  ·  view source on GitHub ↗
(css, contextNode = document)

Source from the content-addressed store, hash-verified

2343
2344 // 获取元素(CSS/Xpath)来自:https://github.com/machsix/Super-preloader
2345 function getCSS(css, contextNode = document) {
2346 return contextNode.querySelector(css);
2347 }
2348 function getAllCSS(css, contextNode = document) {
2349 return [].slice.call(contextNode.querySelectorAll(css));
2350 }

Callers 14

doesItSupportFunction · 0.85
setDBSiteFunction · 0.85
Autopage.user.jsFile · 0.85
discuzForumFunction · 0.85
discuzThreadMFunction · 0.85
discuz_Function · 0.85
waterfallStyleFunction · 0.85
nexusmods_nextLFunction · 0.85
mangabz_initFunction · 0.85
insIframeFunction · 0.85
getOneFunction · 0.85
customRulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected