NBA2K1
0a634ab32f
Revert "fix(http): align extension requests with WebView cookies and harden Cloudflare detection"
...
This reverts commit 2c4a4c688b .
2026-04-04 02:29:27 +02:00
MorningOctober
2c4a4c688b
fix(http): align extension requests with WebView cookies and harden Cloudflare detection
...
Problem
- Genz Updates could still return 403/Cloudflare in extension requests even when the same site worked in WebView.
- The extension HTTP path primarily used cached cookies from settings instead of reliably using the current WebView cookie jar.
- Cloudflare challenge detection was too narrow (mostly English markers) and could misclassify localized challenge pages as resolved.
Solution
- Prefer live WebView cookies for outgoing extension HTTP requests, with settings cookies as fallback.
- Sync cookie + user-agent from embedded WebView on onLoadStop in addition to history updates.
- Expand challenge detection with additional multilingual and platform markers.
Implementation Details
- Updated `MCookieManager.interceptRequest` to read cookies from `CookieManager.getCookies()` and use them as the request `Cookie` header when available.
- Added `_syncCookieAndUaFromWebView()` in `MangaWebView` and invoked it from both `onLoadStop` and `onUpdateVisitedHistory` to persist fresh clearance cookies immediately.
- Introduced a centralized `_cloudflareChallengePattern` in `m_client.dart` and reused it in `_containsCloudflareChallengeHtml` and `_isCloudflareChallengePage` for consistent challenge detection.
2026-03-28 18:17:13 +01:00
NBA2K1
8444e308ad
Fix Riverpod lifecycle error
...
By moving provider-dependent init to didChangeDependencies. (dependOnInheritedWidget)
2026-01-08 21:47:51 +01:00
Moustapha Kodjo Amadou
fc49b33826
feat(user-agent): add default user agent setting
2025-12-10 14:14:51 +01:00
Moustapha Kodjo Amadou
8213a36895
Update
2025-10-29 13:25:52 +01:00
Moustapha Kodjo Amadou
430e81e021
Refactor and update dependencies for Isar and Riverpod
2025-10-29 13:08:42 +01:00
Moustapha Kodjo Amadou
d18d83a7c5
Fix null safety issues
2025-10-22 11:08:35 +01:00
Schnitzel5
790519fcae
fixed ShareX for iPad
...
https://github.com/fluttercommunity/plus_plugins/tree/main/packages/share_plus/share_plus#ipad
2025-08-27 01:40:31 +02:00
NBA2K1
00462f3066
dispose!
2025-07-13 01:24:14 +02:00
Moustapha Kodjo Amadou
80efee40d1
dart format
2025-05-30 17:43:42 +01:00
Enbiya Olgun
2446756552
moved super() call of initState to top of method
2025-04-22 04:57:52 +02:00
Moustapha Kodjo Amadou
3e401c8af2
dart format
2025-02-23 15:31:49 +01:00
Moustapha Kodjo Amadou
3eeb4777a6
feat: improve chapter download
2025-01-30 15:09:47 +01:00
kodjomoustapha
37d1dd9aa9
fix #319
2024-12-17 18:04:54 +01:00
kodjomoustapha
32afc3c71e
add webview for linux
2024-11-13 10:53:36 +01:00
kodjomoustapha
f3597d7023
fix
2024-11-12 09:15:11 +01:00
kodjomoustapha
af6c409e26
#294
2024-11-11 17:32:50 +01:00
kodjomoustapha
c10f7d120a
control where to show cloudflare error message
2024-10-29 13:28:16 +01:00
kodjomoustapha
d6f4c99ea1
add show btn to resolve cloudflare challenge
2024-10-13 18:02:12 +01:00
kodjomoustapha
da63d64d4d
fix webview
2024-10-01 12:45:34 +01:00
kodjomoustapha
d177900394
fix get cookie, fix filter
2024-08-08 12:56:39 +01:00
kodjomoustapha
935d8ba8eb
rm
2024-05-27 12:44:31 +01:00
kodjomoustapha
cbd4519d08
feat: Add a button to delete all cookies #174
2024-05-09 18:06:46 +01:00
kodjomoustapha
d49de188a4
rename
2024-03-14 17:46:53 +01:00
kodjomoustapha
bdbd738f04
add popupAnimationStyle
2024-02-20 12:57:01 +01:00
kodjomoustapha
86902d862c
fix set cookie
2024-02-08 14:41:42 +01:00
kodjomoustapha
46b7f4d3c5
+
2024-02-08 09:21:13 +01:00
kodjomoustapha
88fa089727
+
2024-02-07 23:50:22 +01:00
kodjomoustapha
9217bc6a3b
fix
2024-02-07 15:19:26 +01:00
kodjomoustapha
e0b770d2a8
Upgrade
2024-02-06 17:27:34 +01:00
kodjomoustapha
e33b1b55f0
++
2024-02-05 19:56:44 +01:00
kodjomoustapha
ca81405f43
refactor & some fix
2024-02-03 17:58:11 +01:00
kodjomoustapha
455752423a
Rollback flutter_inappwebview version
2024-01-29 12:04:59 +01:00
kodjomoustapha
792f8059a0
Added fullscreen mode for reader, code refactor
2024-01-28 16:49:22 +01:00
kodjomoustapha
3422076fa5
Upgrade flutter_inappwebview
2024-01-27 18:44:14 +01:00
kodjomoustapha
64b1f91dce
Refactor
2024-01-06 12:52:18 +01:00
kodjomoustapha
01477e4f4c
Fix
2023-11-17 18:33:33 +01:00
kodjomoustapha
0024980e47
fix
2023-11-17 16:51:57 +01:00
kodjomoustapha
31b3f96729
- fix : #25 can't download any anime
...
- code refactor
2023-09-19 20:17:40 +01:00
kodjomoustapha
499002751c
Revert "Revert "code refactor , deobfuscator method , extension preferences""
...
This reverts commit 530763dafe .
2023-09-11 18:05:31 +01:00
kodjomoustapha
530763dafe
Revert "code refactor , deobfuscator method , extension preferences"
...
This reverts commit 3ff647bb01 .
2023-09-11 18:04:49 +01:00
kodjomoustapha
3ff647bb01
code refactor , deobfuscator method , extension preferences
2023-09-11 18:01:47 +01:00
kodjomoustapha
959156443a
add workflow
2023-08-08 22:24:19 +01:00
kodjomoustapha
b21a9409af
added new anime servers extractors
2023-07-30 21:10:44 +01:00
kodjomoustapha
648efe00f5
added multi language support
2023-07-11 17:40:18 +01:00
kodjomoustapha
b38f737c96
Big changes ( added support for external sources )
2023-07-07 22:38:49 +01:00
kodjomoustapha
eb6fa6d26f
fix madara chapter list parse crash on windows
2023-06-20 16:04:16 +01:00
kodjomoustapha
69374dff86
+
2023-05-29 18:39:17 +01:00
kodjomoustapha
6c67cecf4b
Add webview for desktop
2023-05-26 08:04:34 +01:00
kodjomoustapha
03c4ab56e7
rename views to modules
2023-05-19 16:11:03 +01:00