Skip to content

Commit f28e070

Browse files
committed
Fix issues
1 parent 2717434 commit f28e070

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/src/main/java/com/duckduckgo/app/browser/BrowserTabFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3206,6 +3206,7 @@ class BrowserTabFragment :
32063206
WebViewCompat.addDocumentStartJavaScript(webView, script, setOf("*"))
32073207

32083208
webView.safeAddWebMessageListener(
3209+
webViewCapabilityChecker,
32093210
"ddgBlobDownloadObj",
32103211
setOf("*"),
32113212
object : WebViewCompat.WebMessageListener {

content-scope-scripts/content-scope-scripts-impl/src/main/java/com/duckduckgo/contentscopescripts/impl/WebViewCompatContentScopeJSReader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class RealWebViewCompatContentScopeJSReader @Inject constructor(
3737

3838
override suspend fun getContentScopeJS(): String {
3939
if (!this@RealWebViewCompatContentScopeJSReader::contentScopeJS.isInitialized) {
40-
contentScopeJS = loadJs("contentScope.js")
40+
contentScopeJS = loadJs("adsjsContentScope.js")
4141
}
4242
return contentScopeJS
4343
}

0 commit comments

Comments
 (0)