Sample Header Ad - 728x90

Modify PWA link in firefox for android

1 vote
0 answers
352 views
I 'installed' a page as a PWA with Firefox for Android; however, the entrypoint url specified in the page's manifest is not the url I want to open. In my example, Instagram, it opens instagram.com, but I want instagram.com?variant=following and not the useless recommended page. Therefore, my question is: Is there any easy way to modify this link on my home screen (or, alternatively, tell firefox about this before the link is created)? There are two solutions I can think of, both of which seem suboptimal: 1. Don't install as a PWA, but as a link to the website: This is supposed to work if you click install when the page (and thus the manifest) wasn't able to load (eg. airplane mode) (haven't tried this though) - the page would open as a tab in firefox instead of a separate activity though 2. Somehow man-in-the-middle myself with an https proxy and rewrite the manifest before installing the PWA - this might work but seems like a lot of work. Ideally, I'd just modify the home screen entry and change the URL there. Versions: Android 14 / Pixel 7 (not rooted) Firefox 119.1.1
Asked by Lukor (111 rep)
Nov 16, 2023, 03:50 PM