Pre-install tampermonkey #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Installed Firefox Extensions under MacOS are located at:
/Users/vimaster/Library/Application Support/Firefox/Profiles/3k51wj1p.default-release-2/extensions/firefox@tampermonkey.net.xpiSettings for these:
/Users/vimaster/Library/Application Support/Firefox/Profiles/3k51wj1p.default-release-2/storage/default/moz-extension+++2bb25b2f-53d8-4534-b921-dc2450eac7c7/Users/vimaster/Library/Application Support/Firefox/Profiles/3k51wj1p.default-release-2/storage/default/moz-extension+++2bb25b2f-53d8-4534-b921-dc2450eac7c7^userContextId=4294967295Replacing these Files and restarting Firefox means the Settings are applied. But the internal ID (characters after
+++) appear to be randomized each time an extension is installed.Work left:
post_install.shtl;dr: The only reliable way to restore user data is to import the entire profile. I'll prepare a .zip, then all we need to do inside
post_installis to download, extract, and move it to the correct location.Importing/replacing extension user data on a per-extension basis by just placing some files, unfortunately, doesn't work. The
.sqlitefile that contains the user settings (like scripts and whether they're enabled or not) also contains the randomized internal ID, so we'd have to construct that manually.A reliable way around that is to just place an entire profile and make that the default. I'll prepare a .zip, put it in this repo, and then I just need to find out where to place it on Debian.
Branch
profile-installcontains an updated shell script with a prepared ZIP of a profile. I'm not sure who's currently working on getting the bootable USB stick ready, but opening Firefox, the browser should launch into https://kiosk.39c3.by.vincent.mahn.ke. When visiting another page, after 60 seconds of inactivity, it should ask if the user wants to stay on the page or automatically return after 30 seconds of further inactivity.