Commit graph

51 commits

Author SHA1 Message Date
arkon
558b18899c Migrate WebViewActivity to Compose 2022-04-24 10:22:22 -04:00
arkon
2a070c0b1e Add clear cookies option to WebView menu 2022-04-13 17:48:05 -04:00
arkon
52911539b8 Bump dependencies 2022-04-07 22:19:31 -04:00
arkon
996f770935 Override X-Requested-With header value in WebView requests (closes #6781) 2022-04-02 10:49:42 -04:00
Ivan Iskandar
dbad60d03b
Base activities cleanup (#6848)
* secure delegate

* theming delegate
2022-04-02 09:54:21 -04:00
arkon
c06ad8b87e Stop using custom tabs (closes #6821) 2022-03-26 15:45:58 -04:00
Ivan Iskandar
38d131be37
Workaround cleanup (#6350)
* Remove material-components workaround that was fixed upstream

* Remove unused toolbar workaround

* Fix cover dialog navigation icon
2021-12-17 09:32:42 -05:00
Ivan Iskandar
932c92412c
More themes cleanup (#5410)
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
2021-06-19 15:45:16 -04:00
arkon
71d225c562 Address some build warnings 2021-06-05 17:49:20 -04:00
Ivan Iskandar
ef8a87a30f
Bump compileSdk to 30 (#5140) 2021-05-22 14:48:27 -04:00
arkon
27cec697bf Avoid rare crash in WebViewActivity 2021-04-17 12:22:58 -04:00
arkon
f667f85fa5 More consistent injectLazy style 2021-01-17 15:40:26 -05:00
arkon
b18a794eca Use lifecycleScope directly 2021-01-07 19:12:30 -05:00
arkon
62ab70f889 Remove unnecessary BaseWebViewActivity class 2020-12-26 11:44:21 -05:00
arkon
6d403851cf Apply theme to OAuth login redirect activities 2020-12-14 23:00:01 -05:00
arkon
4880741b8b More crash fixes 2020-12-13 17:18:28 -05:00
arkon
fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
arkon
8ffd3a8ed2 Don't scroll to top when navigating back/forward in WebView 2020-12-10 09:15:09 -05:00
arkon
2bb7a33bc3 Use WebView auth flow for MAL (fixes #4100) 2020-12-08 22:21:23 -05:00
arkon
9920ff617b Clean up X-Requested-With change
This only really affects the initial request, subsequent requests may still use the package name.
2020-08-22 12:49:00 -04:00
armangido
3f1355c413
Update WebViewActivity.kt (#3617)
This code added is for some extension that blocks tachiyomi, by tricking it that it was sent by a android browser, nothing major changes,
2020-08-22 12:37:21 -04:00
arkon
4857073f30 Revert "Use AndroidX WebKit library"
This reverts commit 7e7eb9f39f.
2020-08-02 16:12:05 -04:00
arkon
ccc0a61158 Shift WebView checks to necessary places only to allow for basic usage 2020-07-31 14:27:35 -04:00
arkon
33e5fea96c Explicitly destroy webview on activity destroy 2020-07-26 17:47:43 -04:00
arkon
9e51d82154 Replace custom visibility extension functions 2020-07-25 12:00:27 -04:00
arkon
a928d9fa0b Enable more WebView settings to better mimic regular browser 2020-07-12 22:40:51 -04:00
arkon
e9fbdb660b Fix webview height issue
Collapsing toolbar doesn't work currently.
2020-06-13 15:56:40 -04:00
arkon
7e7eb9f39f Use AndroidX WebKit library 2020-06-10 23:01:11 -04:00
arkon
a106104027 Enable localStorage in WebView 2020-06-09 09:15:43 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
916c1c9de2 Add ability to inspect WebView in debug builds 2020-04-29 22:46:11 -04:00
arkon
6a3cd0054b Minor edits 2020-04-28 18:45:04 -04:00
arkon
902700e1f4 Minor edits 2020-04-25 11:05:29 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
df27138401 Fix webview back/forward button color 2020-04-10 18:07:23 -04:00
arkon
7c7d40ea44 Fix status/navigation bar colors (fixes #2858) 2020-04-10 18:07:09 -04:00
arkon
e5e14e1f9e Fix invisible back/forward webview icons in white them 2020-04-10 14:09:08 -04:00
arkon
51d93f0217 Open decode error pages in webview instead of browser 2020-04-10 11:49:51 -04:00
arkon
21c1a499ac Migrate to ViewBinding in WebviewActivity 2020-04-10 10:02:51 -04:00
arkon
0f2d480036 More linting fixes 2020-02-26 18:12:44 -05:00
arkon
5b24a8f21d Revert usage of AndroidX Webkit library (closes #2611) 2020-02-21 18:36:05 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
1b0c13a417 Show URL in Webview subtitle 2020-02-15 17:44:35 -05:00
arkon
abb2e231f6 Switch to AndroidX Webkit library 2020-02-15 17:30:30 -05:00
arkon
a50a3df716 Only show Webview update prompt if CF bypass fails 2020-02-11 18:36:51 -05:00
arkon
f515674dff Show message if WebView version is too low 2020-02-09 11:03:17 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
09e7d56ff2 Move "Open in browser" option to webview only 2020-01-16 22:13:34 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00