Commit 234b0a52 authored by Tails developers's avatar Tails developers
Browse files

Set a scary personas theme in the Unsafe Browser.

parent 53852ced
......@@ -96,6 +96,15 @@ configure_chroot () {
${CHROOT}/etc/iceweasel/pref/iceweasel.js
echo 'pref("network.proxy.type", 0);' >> \
${CHROOT}/etc/iceweasel/pref/iceweasel.js
# Set a scary theme (except if we're using Windows camouflage
if grep -qwv winxp /proc/cmdline; then
echo '
user_pref("lightweightThemes.isThemeSelected", true);
user_pref("lightweightThemes.persisted.footerURL", false);
user_pref("lightweightThemes.persisted.headerURL", false);
user_pref("lightweightThemes.usedThemes", "[{\"id\":\"1\",\"name\":\"Unsafe Browser\",\"headerURL\":\"file:///usr/share/pixmaps/red_dot.png\",\"footerURL\":\"file:///usr/share/pixmaps/red_dot.png\",\"textcolor\":\"#FFFF00\",\"accentcolor\":\"#CC0000\",\"updateDate\":0,\"installDate\":0}]");' >> ${CHROOT}/etc/iceweasel/profile/user.js
fi
}
start_browser_in_chroot () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment