-
Prerequisites
I tried to reproduce the issue when...
DescriptionTo stop progressive web app installation I want to block and similar. This appears to be impossible. A specific URL where the issue occurs.https://www.publico.pt/ Steps to ReproduceSetup rule. Expected behaviorWebsite is treated as a website Actual behaviorWebsite borks the browser into looking like another app uBO version1.61.2 Browser name and versionFirefox Beta Android: 134.0b1 (Build #2016058295), hg-35267f2f61e6+ GV: 134.0-20241125200000 AS: 134.0 Operating System and versionandroid 15 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
Firefox doesn't support PWAs |
Beta Was this translation helpful? Give feedback.
-
The version of firefox for android I am using most certainly does. Here's a random article from 2017: https://hacks.mozilla.org/2017/10/progressive-web-apps-firefox-android/ |
Beta Was this translation helpful? Give feedback.
-
Add |
Beta Was this translation helpful? Give feedback.
-
Generic filter should still work:
|
Beta Was this translation helpful? Give feedback.
-
That is a neat trick! Every time I take a long look at uBO I learn something cool. I can not make it work though. And I'm not savvy enough to track down where it fails. I've tried on chrome & firefox desktop and I can't see any injected content security policy in the network traffic, or the html header. Chrome still offers to install it as an app. It doesn't work on firefox for android either, but I didn't look into debugging that. For anyone following along at home, I found these two links useful: |
Beta Was this translation helpful? Give feedback.
-
@apelly Did you try #26266 (comment) on Firefox Android ? |
Beta Was this translation helpful? Give feedback.
-
I appreciate the help. I tried this and it did not solve my issue on firefox for android. |
Beta Was this translation helpful? Give feedback.
-
tested -
|
Beta Was this translation helpful? Give feedback.
-
You need to clear browser cache for it to work. See: https://old.reddit.com/r/uBlockOrigin/comments/ran1sf/how_can_i_block_manifest_files_on_my_mobile/ |
Beta Was this translation helpful? Give feedback.
-
Useful information! I've been googling on and off in my spare time for over a year to solve this, and somehow never surfaced your link. As I was testing things this morning I noticed the cache issue, and a reload quirk. Here is what I wrote before I read your reply: I just tested Then I tested it with Chrome and it didn't work. So I removed the site from my history, deleted cookies, reloaded, and it did. But a couple of minutes later with both Brave and Chrome, when the site refreshes itself it looks like the rule is ignored and manifest.json shows up again. A couple of things to note here:
I also tested I also tested I still can't get anything to work with Firefox on android. |
Beta Was this translation helpful? Give feedback.
-
OK. Thank you for all your help. For now, this works consistently for me to on Firefox for Android:
I've been chasing this for so long now, I'm happy with this 99% solution. I can't be arsed following up with Firefox about why Android cached data is so difficult to manage, or why cached data should be used against csp advice. And thanks for your insights @gwarser With any luck your info here will get indexed better than reddit. |
Beta Was this translation helpful? Give feedback.
OK. Thank you for all your help.
For now, this works consistently for me to on Firefox for Android:
*$csp=manifest-src 'none'
I've been chasing this for so long now, I'm happy with this 99% solution. I can't be arsed following up with Firefox about why Android cached data is so difficult to manage, or why cached data should be used against csp advice.
And thanks for your insights @gwarser
With any luck your info here will get indexed better than reddit.