Skip to content

Releases: warren-bank/Android-WebMonkey

v04.02.01

07 Dec 10:48
Compare
Choose a tag to compare
release build: v04.02.01

fix:   GM_setUserAgent
issue: the Preference was saved, but not immediately applied.

v04.02.00

07 Dec 06:02
Compare
Choose a tag to compare
release build: v04.02.00

add legacy API methods:
  GM_getUserAgent
  GM_setUserAgent
  GM_removeAllCookies

add corresponding GM 4 API methods:
  GM.getUserAgent
  GM.setUserAgent
  GM.removeAllCookies

add API-level permission groups:
  1. GM_setUserAgent
     GM.setUserAgent
  2. GM_removeAllCookies
     GM.removeAllCookies

v04.01.01

06 Dec 10:43
Compare
Choose a tag to compare
release build: v04.01.01

fix: remove call to method added in API 23

syntactic sugar:
  replaced:
    Fragment.getContext()
  with:
    Fragment.getActivity().getApplicationContext()

v04.01.00

06 Dec 09:30
Compare
Choose a tag to compare
release build: v04.01.00

v04.00.04

05 Dec 22:54
Compare
Choose a tag to compare
release build: v04.00.04

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

v04.00.03

02 Dec 10:50
Compare
Choose a tag to compare
release build: v04.00.03

fix: loading URLs that contain a #hash

notes:
* v02.00.02
  - #hash worked
  - didn't include any code to override URL loading
* v03.00.00
  - #hash did not work
  - broken by commit: 8a8eeb3581d7337975a6ea5e67cebfb8b6e7eb6b
  - purpose: detect URL navigation originating from JS by History API
  - issue: #hash was (intentionally) removed

v04.00.02

26 Nov 21:10
Compare
Choose a tag to compare
release build: v04.00.02

update how encoding/decoding of cookie values should be handled

previous:
=========

* v04.00.00
  - URL encode cookie values when set: no
  - URL decode cookie values when get: yes
* v04.00.01
  - URL encode cookie values when set: yes
  - URL decode cookie values when get: yes

now:
====

* removes encoding/decoding from Java
* adds encoding/decoding to the Javascript API,
  as new optional `details` attributes
  - the API method signatures remain unchanged:
    * `GM_cookie.set(details, callback)`
      - if `details.encode` is truthy:
        ```javascript
          details.value = encodeURIComponent(details.value)
        ```
    * `GM_cookie.list(details, callback)`
      - if `details.decode` is truthy:
        ```javascript
          for (cookie of cookies) cookie.value = decodeURIComponent(cookie.value)
        ```
* default:
  - no encoding or decoding is performed
  - input and output cookie values are verbatim

v04.00.01

26 Nov 11:28
Compare
Choose a tag to compare
release build: v04.00.01

v04.00.00

25 Nov 20:44
Compare
Choose a tag to compare
release build: v04.00.00

update: 'at.pardus.android.webview.gm.run.WebViewClientGm'

add implementation for methods:
  GM_cookie.delete
  GM_cookie.list
  GM_cookie.set

add v4 polyfill for methods:
  GM.cookie.delete
  GM.cookie.list
  GM.cookie.set
  GM.cookies.delete
  GM.cookies.list
  GM.cookies.set

v03.00.01

06 Jul 03:15
Compare
Choose a tag to compare
release build: v03.00.01