• Venia Silente@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    Your restored window size is even more unique than your maximised window size!

    The correct solution is to just not make the window size available to JS or to remotes at all. There’s no reason to ever need specifics on window size other than CSS media-queries, and those can be done via profiles.

    • mitrosus
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      But the restored size keeps changing - can’t be profiled, right?

      And how do I not make the size available “to JS or to remote”?

      • Venia Silente@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Changing the source code of the browser, unfortunately. I don’t know what Tor Browser does or how, but basically you’d have to do about the same as they do.