Skip to content

Commit 9764320

Browse files
authored
1.8.1 hotfix
1 parent 8da8b64 commit 9764320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Weave/BrowserView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ struct BrowserView: View {
5858
`;
5959
document.head.appendChild(adBlockStyle);
6060
"""
61-
let adBlockInject = WKUserScript(source: adBlockerScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
61+
let adBlockInject = WKUserScript(source: adBlockerScript, injectionTime: .atDocumentEnd, forMainFrameOnly: false)
6262
webView.configuration.userContentController.addUserScript(adBlockInject)
6363

64-
let CSSInject = WKUserScript(source: styleSheet, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
64+
let CSSInject = WKUserScript(source: styleSheet, injectionTime: .atDocumentEnd, forMainFrameOnly: false)
6565
webView.configuration.userContentController.addUserScript(CSSInject)
6666

6767
// Loads URL when app opens

0 commit comments

Comments
 (0)