Skip to content

Commit 45dbb14

Browse files
committed
Release ChromeXt v3.8.1
Current update fixes bugs related to the changes in the chromium source code base. No new features are implemented yet. Here is the summary: 1. Fix content menu hook and crashes for Samsung browsers 2. Fix support of huge UserScripts for Chromium browsers 3. Suport Cốc Cốc and Mi (global version) browsers
1 parent 72b8462 commit 45dbb14

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ android {
1111
defaultConfig {
1212
applicationId = "org.matrix.chromext"
1313
minSdk = 21
14-
targetSdk = 34
15-
versionCode = 14
16-
versionName = "3.8.0"
14+
targetSdk = 35
15+
versionCode = 15
16+
versionName = "3.8.1"
1717
}
1818

1919
buildFeatures { buildConfig = true }

app/src/main/java/org/matrix/chromext/MainHook.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class MainHook : IXposedHookLoadPackage, IXposedHookZygoteInit {
8686
WebViewHook.WebView = Chrome.load("com.miui.webkit.WebView")
8787
WebViewHook.ViewClient = Chrome.load("com.android.browser.tab.TabWebViewClient")
8888
WebViewHook.ChromeClient = Chrome.load("com.android.browser.tab.TabWebChromeClient")
89-
initHooks(WebViewHook, ContextMenuHook)
89+
hookWebView()
9090
return
9191
}
9292

@@ -110,9 +110,10 @@ class MainHook : IXposedHookLoadPackage, IXposedHookZygoteInit {
110110
if (WebViewHook.ChromeClient == null || WebViewHook.ViewClient == null) return
111111
if (WebViewHook.WebView == null) {
112112
runCatching {
113-
WebViewHook.WebView = WebView::class.java
114-
WebView.setWebContentsDebuggingEnabled(true)
115-
}
113+
WebViewHook.WebView = WebView::class.java
114+
WebView.setWebContentsDebuggingEnabled(true)
115+
}
116+
.onFailure { if (BuildConfig.DEBUG) Log.ex(it) }
116117
}
117118
initHooks(WebViewHook, ContextMenuHook)
118119
}

0 commit comments

Comments
 (0)