Skip to content

Commit 91d1b26

Browse files
committed
Release 3.1
1 parent 0e0b667 commit 91d1b26

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# ChromeXt
22

3-
Add UserScript support to Chrome using Xposed framework
3+
Add UserScript and DevTools supports to Chrome using Xposed framework
44

55
## How does it work?
66

7-
We hook an `onUpdateUrl` function in [UserScript.kt](app/src/main/java/org/matrix/chromext/hook/UserScript.kt),
7+
We hook the `onUpdateUrl` function in [UserScript.kt](app/src/main/java/org/matrix/chromext/hook/UserScript.kt),
88
add URL comparison there and evaluate JavaScript using the `javascript:` scheme.
99

10-
We pay our main efforts to support the latest _stable_ version of Android Chrome.
11-
Please consider update your Android Chrome first before proceeding.
12-
1310
Chromium based browsers,
1411
[Bromite](https://github.com/bromite/bromite),
1512
[Thorium](https://github.com/Alex313031/thorium),
@@ -21,13 +18,10 @@ Due to different design ideas, supports for the following browsers are not perfe
2118

2219
## Usage
2320

24-
Currently, this project requires **Xposed framework** installed.
25-
~~However, it is possible to make Xposed framework optional.
26-
See related progress in the `Development plans` section.~~
27-
28-
You can try the following implements of it, depending on your Android version or whether having root enabled:
29-
[LSPosed](https://github.com/LSPosed/LSPosed) and
30-
[LSPatch](https://github.com/LSPosed/LSPatch) (technically not supported yet due to [isolated process issue](https://github.com/LSPosed/LSPatch/issues/190), we are working on it).
21+
Currently, this project requires **Xposed framework** installed, such as
22+
[LSPosed](https://github.com/LSPosed/LSPosed) for root users.
23+
For non-root users, unfortunately
24+
[LSPatch](https://github.com/LSPosed/LSPatch) is technically not supported yet due to [isolated process issue](https://github.com/LSPosed/LSPatch/issues/190); we are working on it.
3125

3226
Pick up the latest built APK from my repo's [GitHub Action](https://github.com/JingMatrix/ChromeXt/actions/workflows/android.yml) and install it.
3327
The author uploads releases to [Xposed-Modules-Repo](https://github.com/Xposed-Modules-Repo/org.matrix.chromext/releases) when needed, but not that frequently.
@@ -92,6 +86,10 @@ On other areas, only the system gesture is available.
9286
One can disable it through the `Developer options` menu.
9387
(Tap seven times on the Chrome version from the Chrome settings, you will see the `Developer options` menu.)
9488

89+
### Enable Reader Mode manually
90+
91+
ChromeXt adds a book icon in the page menu to enable reader mode manually.
92+
9593
### AD Blocker solution
9694

9795
For blocking network requests, I recommend to use `AdAway` or any proxy AD Blocker such as `clash`.
@@ -113,7 +111,7 @@ A valid User-Agent should contain only ASCII characters.
113111
Currently, ChromeXt only changes the `User-Agent` HTTP header, which
114112
works well but is [deprecated](https://wicg.github.io/ua-client-hints/#user-agent).
115113

116-
For the User-Agent spoofing to take effects, you might need to refresh the page using the reload button in the page menu.
114+
When the User-Agent spoofing is not working, refresh the page using the reload button in the page menu.
117115
(By contrast, a swipe refresh might be insufficient.)
118116

119117
Note that the DevTools can also change User-Agent.

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
applicationId = "org.matrix.chromext"
1313
minSdk = 21
1414
targetSdk = 33
15-
versionCode = 6
16-
versionName = "3.0.0"
15+
versionCode = 7
16+
versionName = "3.1.0"
1717
}
1818

1919
buildFeatures { buildConfig = true }

0 commit comments

Comments
 (0)