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

Function hasFirefoxNewRootBehavior

src/generators/css-filter.ts:39–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 * switched over as well.
38 */
39export function hasFirefoxNewRootBehavior(): boolean {
40 return Boolean(
41 isFirefox &&
42 compareChromeVersions(firefoxVersion, '102.0') >= 0
43 );
44}
45
46export default function createCSSFilterStyleSheet(config: Theme, url: string, isTopFrame: boolean, fixes: string, index: SiteFixesIndex): string {
47 const filterValue = getCSSFilterValue(config)!;

Callers 1

Calls 1

compareChromeVersionsFunction · 0.90

Tested by

no test coverage detected