How to start the chrome-browser in 1024x768 resolution using JavaScript?

2,866 views
Skip to first unread message

ChromiumUSer

unread,
Dec 22, 2011, 4:24:32 AM12/22/11
to Chromium-discuss
Question:
=========

How to start the chrome-browser in 1024x768 resolution using
JavaScript?
- change the resolution to 1024x768, from whatever it was before
- If it is a security issue, allow the link to be added as "trusted
link" so that KIOSK automated PC's can be configured remotely just
with javascript.

Implementation Scenario:
====================

1) Developer, server script (http://192.168.1.2/kiosk.html) contain as
below:

<script>
chrome.browser.default.kiosk=true;
chrome.browser.default.resoltuion=1024x768;
</script>

2) PC1 launched the page

3) First time, PC1 get confirmation prompt "accept" or "included this
url as trusted".

4) Next time PC1, after launch start KIOSK mode + pre-defined
JavaScript setup from server script.

That really reduce security issue, and gives very much latest and
greatest missing feature, that all other browser failed to provide.
Reply all
Reply to author
Forward
0 new messages