Permanently disable mobile versions of websites on desktop browser
It seems that my preferred width of the browser window on desktop is so narrow that some websites (not all!) seem to think I'm on a mobile device. And so they serve me the "mobile-friendly" version of the website instead of the standard desktop version. I can tell it's a "responsive design" thing because if I widen my browser window, the desktop-friendly version automatically appears.
Is there a way to disable this so that all websites are forced to always serve the desktop version of the website?
所有回复 (3)
Can you post a screenshot showing your full browser with the issue?
Note that this can merely be done via @media rules that switch to a mobile or narrow layout if the detected screen width is below a specific minimum. Some websites use more versions of their layout and adjust their content automatic if you adjust the width. You can see this in the Inspector and in the Style Editor.
- https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_HTML
- https://developer.mozilla.org/en-US/docs/Tools/Style_Editor
If you can't make or do not want the Firefox window wider then you can try to zoom out the page as this affects the dimensions reported via JavaScript.
cor-el said
If you can't make or do not want the Firefox window wider then you can try to zoom out the page as this affects the dimensions reported via JavaScript.
Ah, this could be my solution. I hadn't thought of that. Even going to 90% zoom is making a difference. Thank you!