web page opening in mobile version

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
harktu

web page opening in mobile version

Unread post by harktu » 2019-08-25, 14:04

https://www.auto.bg/
in other browsers its opening desktop. but in pm it goes in mobile version

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: web page opening in mobile version

Unread post by coffeebreak » 2019-08-25, 16:36

Auto.bg is sniffing the user agent.
It will serve the desktop version if you spoof the user agent with a site-specific override for a more mainstream browser, such as Firefox 68:

Try adding this override to about:config :
(If you need instructions, read here and adapt it to the current site and UA string.)

Code: Select all

general.useragent.override.auto.bg

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0

harktu

Re: web page opening in mobile version

Unread post by harktu » 2019-08-26, 15:38

thanks!

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: web page opening in mobile version

Unread post by back2themoon » 2019-08-26, 20:04

Better yet, contact Auto.bg (they are the ones that need to fix this) so they might fix it for everyone, instead of having to use per-user overrides which are not guaranteed to last.