AutoFullscreen
AutoFullscreen copied to clipboard
New Window not opening in full screen mode
Hi,
When I open a new window either through menu or through the shortcut Ctrl+Shift+N
, the new window isn't opened in full-screen mode.
Thank you
Ok, I tested another add-on (which is derived from your codebase) at https://github.com/insiderser/AutoFullscreen. It fixes this issue. Just need to add an event-listener as below:
browser.windows.onCreated.addListener((window) => {
setTimeout(() => updateWindow(window), 50)
});
Is the timeout delay of 50 ms required?
Not required I think. But, 50ms delay is acceptable. I have no issues till date.