Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
234b0a52
Commit
234b0a52
authored
Mar 27, 2012
by
Tails developers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set a scary personas theme in the Unsafe Browser.
parent
53852ced
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
config/chroot_local-includes/usr/local/sbin/unsafe-browser
config/chroot_local-includes/usr/local/sbin/unsafe-browser
+10
-1
config/chroot_local-includes/usr/share/pixmaps/red_dot.png
config/chroot_local-includes/usr/share/pixmaps/red_dot.png
+0
-0
No files found.
config/chroot_local-includes/usr/local/sbin/unsafe-browser
View file @
234b0a52
...
...
@@ -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
()
{
...
...
@@ -124,7 +133,7 @@ maybe_restart_tor () {
local
counter
=
0
until
[
"
${
counter
}
"
-ge
10
]
||
nc
-z
localhost 9051 2>/dev/null
;
do
sleep
1
counter
=
$((${
counter
}
+
1
))
counter
=
$((${
counter
}
+
1
))
done
/etc/NetworkManager/dispatcher.d/60-vidalia.sh clearnet up 2>/dev/null
fi
...
...
config/chroot_local-includes/usr/share/pixmaps/red_dot.png
0 → 100644
View file @
234b0a52
159 Bytes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment