Unagent icon indicating copy to clipboard operation
Unagent copied to clipboard

Extension doesn't seem to work

Open mjeshurun opened this issue 1 year ago • 5 comments

Hi, I tried using the extension on Safari running on iOS 17.5.1, but when I tried to set the user agent to a Chrome, Safari or Edge browser running on MacOS, the mobile sites I tested still showed me the mobile versions of the website. I was also directed to download their app, instead of letting me login on the browser.

mjeshurun avatar Jul 28 '24 11:07 mjeshurun

Hi @mjeshurun

Are you able to provide a sample page where the issue is happening?

It could be due to the website detecting the viewport (screen) size, similar to what Apple does for App Store Connect does.

katagaki avatar Jul 28 '24 23:07 katagaki

Not working anymore with safari on iOS.

Happyfeet01 avatar Aug 02 '24 13:08 Happyfeet01

Hi @Happyfeet01

Could you provide the below information for further investigation?

  • iOS version
  • Unagent global user agent set
  • Unagent per site settings set
  • Screenshot, if possible, of Settings > Safari > Extensions > Unagent
  • Screenshot, if possible, of the ‘Aa’ menu in Safari
  • Current version of Unagent (you can check this by going into Settings > General > iPad Storage > Unagent)

katagaki avatar Aug 04 '24 00:08 katagaki

Hi,

I have iOS 17.6 installed.

Here are the settings for safari

Useragent (but no difference between others)

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.113 Mobile Safari/537.36

image image

image

Happyfeet01 avatar Aug 04 '24 05:08 Happyfeet01

@Happyfeet01

Could you confirm if the user agent you set is for the Global User Agent or a Per-Site Setting for the website in the screenshot you sent?

If you can, set a Per-Site Setting for www.whatsmyua.info and navigate to the below site in Safari, and let me know the results. https://www.whatsmyua.info

katagaki avatar Aug 04 '24 10:08 katagaki

Closing this issue for the time being, as the mentioned issues cannot be reproduced.

As a fallback, I have implemented a Troubleshooting page in the Safari extension, which can be accessed by tapping on the Unagent icon (macOS) or menu item (iOS). There is an option to force reset all user agent rules in that page which lets you force reset all rules and start afresh.

For some reason, user agent rules may not be reliably erased, even when Unagent is reinstalled, which is causing some of these issues.

Update to the Unagent 1.6 and above to use the Troubleshooting page!

App Store

katagaki avatar Dec 31 '24 06:12 katagaki