Reputation: 39
I found out that Chrome extension popups have a maximum height of 600px and maximum width of 800px.
My requirement is to make the popup height equal to screen height.
I can see there isn't a simple way to do it but I stumbled upon the Bloomberg extension (https://chrome.google.com/webstore/detail/bloomberg/llgiblikeclfoebojkplbcmnicgcabhg). This somehow fixes the popup height to exactly what I want.
I am new to extension development. How does this Bloomberd extension manage to resize popup to full-screen.
Upvotes: 4
Views: 6117
Reputation: 3292
As you found, 600px height and 800px width - are the maximums for a popup size. (see ref in sources)
According mentioned Bloomberg case – it is implemented via injecting code in the current tab using content-scripts.
Upvotes: 4