MCPcopy Index your code
hub / github.com/darkreader/darkreader / getPriority

Function getPriority

src/inject/dynamic-theme/modify-css.ts:45–47  ·  view source on GitHub ↗
(ruleStyle: CSSStyleDeclaration, property: string)

Source from the content-addressed store, hash-verified

43}
44
45function getPriority(ruleStyle: CSSStyleDeclaration, property: string) {
46 return Boolean(ruleStyle && ruleStyle.getPropertyPriority(property));
47}
48
49function canFilterImage(url: string): boolean {
50 if (url.startsWith('data:')) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected