Skip to content

Commit 5c934cf

Browse files
committed
Fix issues
1 parent 2f4b48b commit 5c934cf

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
@@ -3190,6 +3190,7 @@ class BrowserTabFragment :
31903190
WebViewCompat.addDocumentStartJavaScript(webView, script, setOf("*"))
31913191

31923192
webView.safeAddWebMessageListener(
3193+
webViewCapabilityChecker,
31933194
"ddgBlobDownloadObj",
31943195
setOf("*"),
31953196
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)