• Venia Silente@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 个月前

    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@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 个月前

      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
        ·
        5 个月前

        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.