Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Whitelist and blacklist not always work for PWA #192

Open
sky96111 opened this issue Sep 14, 2023 · 2 comments
Open

Bug: Whitelist and blacklist not always work for PWA #192

sky96111 opened this issue Sep 14, 2023 · 2 comments

Comments

@sky96111
Copy link

browser: Windows Chrome 117.0.5938.63
extension: 0.5.0

bug site: https://hoppscotch.io/

extension setting:
whitelist mode: bilibili.com
spoof UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Step:

  1. Install https://hoppscotch.io/ as PWA app
  2. Set UA to Mac OS
  3. Make https://hoppscotch.io/ in UA spoof blacklist list, or whitelist live blank

Problem
In url mode https://hoppscotch.io/ shows correct Windows icon, but launch hoppscotch as PWA app it always shows MacOS icon.

Seems blacklist or whitelist doesnot work for PWA app.
This bug disappeared as this extension disabled

PWA
Snipaste_2023-09-14_16-56-36.png

URL
Snipaste_2023-09-14_16-56-00.png

@sky96111
Copy link
Author

emmm... I succeed in some attempts. Seems whitelist and blacklist not always work for PWA but sometimes do

@sky96111 sky96111 changed the title Bug: Extension always spoof all PWA apps' UA Bug: Whitelist and blacklist not always work for PWA Sep 14, 2023
@sky96111
Copy link
Author

I've found a way to trigger the bug 100%.
When there is no chrome.exe process in front or background, launching hoppscotch PWA directly make whitelist and blacklist work.

If Chrome is already started then launch hoppscotch. UserAgent-Switcher will always spoof PWA UA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant