Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fuss:google_chrome [2019/07/09 07:42] – created officefuss:google_chrome [2023/05/09 02:12] (current) – [Kiosk-Style Single Website] office
Line 2: Line 2:
  
 Once prompted by Chrome that a domain's certificate is unsafe, or when experiencing issues with HSTS, you can type ''thisisunsafe'' with the tab open to permanently whitelist the domain and proceed anyway. Once prompted by Chrome that a domain's certificate is unsafe, or when experiencing issues with HSTS, you can type ''thisisunsafe'' with the tab open to permanently whitelist the domain and proceed anyway.
 +
 +====== Kiosk-Style Single Website ======
 +
 +In order to make Google Chrome display a single website with no other distractions and without the ability to browse away, the Google Chrome shortcut can be edited in order to append a few command line switches to the executable.
 +
 +For example, the following edit of the ''Target'' field of the Google Chrome shortcut:
 +<code dos>
 +"C:\Program Files\Google\Chrome\Application\chrome.exe" --window-size="1024,768" --user-data-dir="%tmp%\chrome_tmp_user_dir~%RANDOM%" --host-rules="MAP * media.lan" --app=http://media.lan/
 +</code>
 +
 +will make Google Chrome open a single website, namely ''media.lan''. The parameters are as follows:
 +  * ''--window-size'' sets the window size of the Chrome browser to a specific value, in this case ''1024x768'',
 +  * ''-user-data-dir'' stores the user data in a random folder (necessary for allowing the ''--window-size'' flag to work),
 +  * ''--host-rules'' will make it such that the browser will not be able to navigate away from the ''media.lan'' domain,
 +  * ''--app'' will load the ''http://media.lan'' URL in an application window with an URL and the rest of the UI elements.
 +
 +There are some useful applications for this mode. For instance, Google Chrome could be used as a frontend to media players such as JellyFin or Plex or even used to create a standalone YouTube application.
 +
 +For instance, a shortcut can be created to the Google Chrome executable, named "YouTube" and the shortcut edited in order to change the ''Target'' parameter to:
 +
 +<code>
 +"C:\Program Files\Google\Chrome\Application\chrome.exe" --window-size="1024,758" --user-data-dir="%tmp%\chrome_tmp_user_dir~%RANDOM%" --host-rules="MAP * www.youtube.com" --app=https://www.youtube.com/
 +</code>
 +
 +Now, by clicking the shortcut, Google Chrome will load YouTube separately from any other browser.
 +
 +
 +====== Disable Google Chrome Operating System Deprecation Warning ======
 +
 +In order to remove the popup stating that the operating system should be upgraded to Windows 10 in order to receive further updates just create a file on the desktop named ''oswarning.reg'' with the following contents:
 +
 +<code>
 +Windows Registry Editor Version 5.00
 +
 +[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]
 +"SuppressUnsupportedOSWarning"=dword:00000001
 +
 +</code>
 +
 +Double-click the file to insert the contents into the registry and upon the next launch Google Chrome should not complain about the Operating System being deprecated.
 +
 +

fuss/google_chrome.1562658140.txt.gz · Last modified: 2019/07/09 07:42 by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.