let cookies = await dataStore.httpCookieStore.allCookies() for cookie in cookies { await dataStore.httpCookieStore.deleteCookie(cookie) print("Cookie deleted: \(cookie)") }
Web Extension ͷ ʮCreating a content blockerʯͱ͍͏ υΩϡϝϯτʹهड़͕͋Γɺಉ͡Α͏ʹWKWebViewͰར༻Ͱ͖Δ https://developer.apple.com/documentation/safariservices/creating-a-content-blocker
url: URL? { get } open var isLoading: Bool { get } open var estimatedProgress: Double { get } open var hasOnlySecureContent: Bool { get } open var serverTrust: SecTrust? { get } open var canGoBack: Bool { get } open var canGoForward: Bool { get } open var cameraCaptureState: WKMediaCaptureState { get } // @available(iOS 15, *) open var microphoneCaptureState: WKMediaCaptureState { get } // @available(iOS 15, *) open var themeColor: UIColor? { get } // @available(iOS 15, *) @NSCopying open var underPageBackgroundColor: UIColor? { get } // @available(iOS 15, *) open var fullscreen: Bool { get } // @available(iOS 16, *)