Open tab in full screen

2,107 views
Skip to first unread message

jonna

unread,
Apr 13, 2011, 2:18:08 AM4/13/11
to Chromium-extensions
Is there a way to open a tab in full screen mode programatically?
Please let me know. Thanks.

Noctarius

unread,
Apr 13, 2011, 3:05:04 AM4/13/11
to chromium-...@chromium.org
Am 13.04.2011 08:18, schrieb jonna:
> Is there a way to open a tab in full screen mode programatically?
> Please let me know. Thanks.
>

You think of "Fullscreen" like pressing F11 in some tab / window?

Cheers Chris

Merimac

unread,
Apr 13, 2011, 11:04:14 AM4/13/11
to Chromium-extensions
Hey with Google : javascript open window full screen

I found this : http://javascript-array.com/scripts/window_open/

HackBreaker

unread,
Apr 13, 2011, 5:50:22 PM4/13/11
to Chromium-extensions
As far as I know, the only way to open a tab in fullscreen mode is for
it to be a web app's launch page, and even then the user has to right-
click it and specify, "Open full screen."


On Apr 13, 9:04 am, Merimac <mehdi.chao...@maisdisdonc.com> wrote:
> Hey with Google : javascript open window full screen
>
> I found this :http://javascript-array.com/scripts/window_open/

Unfortunately, this page says that its method will only work in
Internet Explorer. And I tried it in IE9 just now, and it was more of
a pseudo-fullscreen deal. It wasn't fullscreen mode; it was just
really big.

jonna

unread,
Apr 13, 2011, 7:25:27 PM4/13/11
to Chromium-extensions
HackBreaker - what exactly do you mean by "open a tab in fullscreen
mode is for it to be a web app's launch page". I am writing an
extension and when a user presses a button or something, I need to be
able to open a tab in full screen. Is this possible to do?

Adam

unread,
Apr 14, 2011, 11:16:10 AM4/14/11
to Chromium-extensions
From the chrome api, try:

chrome.windows.create( {type: "popup"} ); You can also set the height/
width of the window from here.

If you want to go fullscreen (aka equivalent of pressing F11),
then you will need to use NPAPI

-Adam

HackBreaker

unread,
Apr 14, 2011, 1:02:32 PM4/14/11
to Chromium-extensions
Correct. There is no way for a normal extension to open up a tab in
fullscreen mode. The closest you could come without using NPAPI would
be to follow Adam's suggestion, and make a popup window with very
large dimensions.
> > Please let me know. Thanks.- Hide quoted text -
>
> - Show quoted text -

jonna

unread,
Apr 15, 2011, 3:13:45 AM4/15/11
to Chromium-extensions
Ok. Thanks for the information. Chrome should expand their api.
Firefox is so friendly giving more control to the developer.

PhistucK

unread,
Apr 24, 2011, 4:04:33 AM4/24/11
to jonna, Chromium-extensions
Generally, for feature requests, you can search crbug.com for an existing issue for this feature request and star it. If you cannot find one, you can file a new issue at new.crbug.com.


PhistucK



--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Reply all
Reply to author
Forward
0 new messages