IF I changed $:/info .. values could I make a browser think I'm on phone, not desktop?

Why? Testing if a wiki will be okay on phone.

We have …

Screenshot 2025-10-18 19.26.32

IF I changed, for instance, height & width (virtual), would that help to test whether a wiki would look okay on a phone?

Thoughts?

TT

1 Like

No. All the values are read only. But browsers have a preview mode.

  • On FireFox it is CTRL-SHIFT-M
    • There are a lot of presets for mobiles. But comparing custom to your real phone will win
  • On Edge you have to do F12 first and then CRTL-SHIFT-M
2 Likes

Very useful to know.

also available in Chrome:

  • CTRL-SHIFT-I to open Developer Tools, then CTRL-SHIFT-M to toggle “device toolbar” at top of regular browser window
    • in device toolbar, choose from presets for different mobiles or set custom width/height

And on a mac: Command-Shift-I etc.

(But oddly, Chrome is apparently listening directly to the hardware key-press location, not necessarily where I is according to the active keyboard layout. So those with alternate keyboard layouts may experience a glitch here.)

1 Like

Mama Mia! I never realised there was so much variation in phone screens!

For testing purposes is the exact pixels of Width & H. needed?
Or would ratios of W:H be enough?


UPDATE …

At Phone Aspect Ratio: Guide - 9meters I read …

Q: Would testing in boxes of the 3 current common aspect ratios listed be enough?

TT

I think the browser preview element is dynamic. So you can take the corner and move it, to see, what happens.

1 Like