Fulguris
Fulguris copied to clipboard
URL-Redirects are part of history
Description
If you use the non-javascript version of duckduckgo or any other site that uses URL redirects one needs to press back in a very quick sequence, making it very difficult to return to the linking page
Environment
- Device: Redmi Note 10 Pro
- OS: Android 12; M2101K6G Build/SQ3A.220705.003
- Version: 1.8.12
To reproduce
Steps to reproduce the behaviour:
- Go to https://html.duckduckgo.com/html/?q=test
- Click on first link
- Press back/use guesture
- The page just reloads
Expected behaviour
One should return to https://html.duckduckgo.com/html/?q=test
Additional context
Tested the expected behaviour on other browsers. While it might be a valid interpretation of history back, it makes using sites with redirect URLs a real annoyance, which I would see it as a bug (at least in terms of usability)
Yeah, that's a pain and ought to be solved. Quick search yield that: https://stackoverflow.com/questions/7011207/android-webview-navigating-back-on-url-redirection
I'll try to look into it between Christmas and new year. Did you find an open source browser that dealt with it properly?
https://github.com/RocketScientists/Rocket
From @Slion: This one is based on FireFox though so probably not that useful to us since we use WebView.
The Einkbro browser solves this problem, can developers refer to it? https://github.com/plateaukao/einkbro
https://gitlab.com/TipzTeam/viola
Pada Kam, 11 Apr 2024 09.03, chwt @.***> menulis:
The Einkbro browser solves this problem, can developers refer to it? https://github.com/plateaukao/einkbro
— Reply to this email directly, view it on GitHub https://github.com/Slion/Fulguris/issues/414#issuecomment-2048801206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU573WR2NBG4D7QSK3H43IDY4XVNRAVCNFSM6AAAAAAR6HDL6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHAYDCMRQGY . You are receiving this because you commented.Message ID: @.***>
I can't reproduce that issue right now on HONOR Magic V2 Android 13. Is that still an issue for you? Please provide use case, WebView version, Fulguris version, Android version, device make and model.
provide use case: https://www.ithome.com/ https://www.mydrivers.com/ Open a web page casually, and then enter the URL above in the address bar and enter, at this time, click the back button, and the Fulguris will not go back, but refresh.
Fulguris:1.9.30 WebView Version: 118.0.5993.80(599308001) Android Version: 10 API29 Device: HONOR BKL-AL20
WebView v123.0.6312.100 Tried the above on Android 13 after disabling open URL in new tab and it works just fine AFAICT. I ought to try on some other devices.
Works fine on WebView v117.0.5938.153
Android 8 Samsung Galaxy S7 Edge.
Try update your WebView if you can and see if that helps.
Clicking on this link will take you to the mobile version of the website, and the browser's back button will not work and will be refreshed. Or you try this: https://www.ithome.com/ This URL will automatically jump to it, without clicking on any links, and then it can't go back. Going back can only be achieved by quickly double-clicking the back button.
I know know what you mean, I just can't reproduce it on both phones I tried it on. So it's possibly a bug in the WebView version you are using.
Can you make a screenshot of your page history like I did? Go to Menu / Web page / Page history.
For me it works now. Regarding the test case above: for me entering a URL in the bar opens a new tab. So going back does the animation but rather does nothing because it is the first entry in the history. This is imho confusing from a UX perspective due to the animation and the endless loop. But the problem before as I said is gone for me (not getting past some entries in the history)
@riedel You can disable open URL in new tab to help you test that. Menu / Settings / General / URL in new tab.
So looking at the information on that stack overflow link above it sounds like it could be a side effect of your content blocker configuration. If you are having this issue, disable the content blocker from the settings and try again.
Ok now I can reproduce on Android 14 with ithome.com. Web view 124.0.6367.42 with new URLs in same tab.
Also with content blocking disabled.
Edit: Page History gives
- m.ithome.com
- www.ithome.com
- example.com
(Going back loops the recent two)
That's so weird. Why can't I reproduce it then? Can you post a screenshot of your page history? Did you change any settings? Can you try with the default settings. Maybe install another variant of Fulguris for that. Google Play, F-Droid or Download variant.
Edit: cross post, thanks
I'm using the F-Droid version, and I seem to have found out what the problem is: settings-privacy-request 'Do Not Track' turns on this option and it reproduces
I can reproduce the issue when 'Do Not Track' is enabled. This option is actually causing quite a few issues. We should really look into that at some point and fix it or just remove it.
I can confirm, but I initially could not reproduce as also other options like remove identifying headers seem to trigger the same problem.