-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove all ES6 JS code when API <= 20 (Android 4.4 KitKat) implications: * JS Sandbox is disabled equivalent to: @Flag noJsSandbox * window.GM is undefined because: window.Promise is undefined notes: * tested and confirmed to work in Android 4.4 KitKat * Android 5.0 and higher supports an upgradeable System WebView
- Loading branch information
1 parent
7fc3c12
commit 687d698
Showing
6 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
android-studio-project/libs/webview-gm-lib/src/main/res/raw/js_closure_2_es5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
var window = self = globalThis = unsafeWindow; | ||
|
||
var userscript_wrapper = function(){ |
File renamed without changes.