0

Default popup.html of Chrome is of 600 * 800 size.

How can I produce a full screen popup?

jwpfox
  • 5,124
  • 11
  • 45
  • 42
Shashi Bharti
  • 53
  • 2
  • 6
  • 4
    Possible duplicate of [How to make chrome extension to be in full screen?](http://stackoverflow.com/questions/11210116/how-to-make-chrome-extension-to-be-in-full-screen) – Alexandre Tranchant Dec 08 '16 at 08:23

1 Answers1

2

Use screen.availWidth and screen.availHeight to calculate a suitable size for the height and width parameters in window.open()

Although this is likely to be close, it will not be maximised, nor accurate for everyone, especially if all the toolbars are shown. visit How to show fullscreen popup window in javascript?

Community
  • 1
  • 1
waqas ali
  • 603
  • 6
  • 13