Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias Protocol.CSS.StyleSheetOrigin
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { StyleSheetOrigin } = Protocol.CSS;

Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.

definition:
| "injected"
| "user-agent"
| "inspector"
| "regular"