ContentBlocker
public struct ContentBlocker
Represents a base ruleset combined with a list of exceptions.
-
Generated ID of this content blocker. Based on the base ruleset and an exceptions added.
Declaration
Swift
public let id: String
-
The base ruleset used to generate the content blocking json
Declaration
Swift
public let baseRuleset: Ruleset
-
The content blocking json in Apples content blocking format. This can be passed to either a content blocking extension or Webkit for blocking.
Declaration
Swift
public let rulesetData: String
-
Exceptions applied to the content blocker.
Declaration
Swift
public let exceptions: [BlockingException]