20 lines
694 B
JavaScript
20 lines
694 B
JavaScript
// Configuration
|
|
|
|
const BASEURL = "https://mysite.com";
|
|
const TOKEN = ""; // Photo booth user's token
|
|
|
|
const COUNTDOWN_FROM = 3;
|
|
|
|
|
|
/*
|
|
Browser configurations:
|
|
|
|
Use Firefox as browser. Go in about:config and set:
|
|
browser.download.alwaysOpenPanel false // Prevents to open download list when taking a photo
|
|
privacy.webrtc.legacyGlobalIndicator false // Hides camera overlay
|
|
|
|
When starting firefox in the photo booth totem, press F11 to make it full screen and leave only the Enter or Space key exposed
|
|
If the download panel is shown anyway, right click on the download icon and deselect "Show panel when starting a download".
|
|
If it appears already deselected, select and desenect it.
|
|
*/
|