diff --git a/patches/viewport-hijacker.patch b/patches/viewport-hijacker.patch index ce7c425..b59fe42 100644 --- a/patches/viewport-hijacker.patch +++ b/patches/viewport-hijacker.patch @@ -1,5 +1,5 @@ diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js -index c91a5d4db2..02262d2feb 100644 +index cc62392ab0..0c68a0e991 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1568,7 +1568,7 @@ var gBrowserInit = { @@ -11,10 +11,13 @@ index c91a5d4db2..02262d2feb 100644 // When the fingerprinting resistance is enabled, making sure that we don't // have a maximum window to interfere with generating rounded window dimensions. document.documentElement.setAttribute("sizemode", "normal"); -@@ -1796,6 +1796,44 @@ var gBrowserInit = { +@@ -1796,6 +1796,47 @@ var gBrowserInit = { )?.removeAttribute("key"); } ++ // Set default size ++ window.resizeTo(1280, 1040); ++ + // Hijack the outer window size + let outerWidth, outerHeight; + if ((outerWidth = ChromeUtils.camouGetConfig("window.outerWidth"))) {