Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
33926e3f
Commit
33926e3f
authored
May 11, 2012
by
Tails developers
Browse files
Add an appropriate start page to the Unsafe Browser.
parent
5c2bce6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/local/sbin/unsafe-browser
View file @
33926e3f
...
...
@@ -20,6 +20,14 @@ TOR_DIR=/var/lib/tor
TOR_DESCRIPTORS
=
${
TOR_DIR
}
/cached-descriptors
TOR_WORKING
=
""
WARNING_PAGE
=
'/usr/share/doc/tails/website/misc/unsafe_browser_warning'
LANG_CODE
=
"
$(
echo
${
LANG
}
|
head
-c
2
)
"
if
[
-r
"
${
WARNING_PAGE
}
.
${
LANG_CODE
}
.html"
]
;
then
START_PAGE
=
"
${
WARNING_PAGE
}
.
${
LANG_CODE
}
.html"
else
START_PAGE
=
"
${
WARNING_PAGE
}
.en.html"
fi
cleanup
()
{
# Break down the chroot and kill all of its processes
local
counter
=
0
...
...
@@ -116,6 +124,10 @@ user_pref("lightweightThemes.isThemeSelected", true);
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}]");
EOF
fi
# Set start page to something that explains what's going on
echo
'user_pref("browser.startup.homepage", "'
${
START_PAGE
}
'");'
>>
\
${
CHROOT
}
/etc/iceweasel/profile/user.js
}
start_browser_in_chroot
()
{
...
...
ikiwiki.setup
View file @
33926e3f
...
...
@@ -199,7 +199,7 @@ po_slave_languages:
-
es|Español
-
fr|Français
# PageSpec controlling which pages are translatable
po_translatable_pages
:
'
!security/audits
and
!security/audits/*
and
(about
or
chat
or
contribute
or
doc
or
doc/*
or
download
or
getting_started
or
inc/stable_i386_date
or
index
or
news
or
security
or
security/*
or
sidebar
or
support
or
support/*
or
torrents
or
wishlist)'
po_translatable_pages
:
'
!security/audits
and
!security/audits/*
and
(about
or
chat
or
contribute
or
doc
or
doc/*
or
download
or
getting_started
or
inc/stable_i386_date
or
index
or
news
or
security
or
security/*
or
sidebar
or
support
or
support/*
or
torrents
or
wishlist
or
misc
or
misc/*
)'
# internal linking behavior (default/current/negotiated)
po_link_to
:
current
...
...
wiki/src/misc/unsafe_browser_warning.mdwn
0 → 100644
View file @
33926e3f
[[!meta title="Warning! The web browser you are currently using is not
anonymous!"]]
You are currently using the Unsafe Browser. As its name implies, the
Unsafe Browser's network activity is **not anonymous**. If you didn't
already know this, please read [[the Unsafe Browser's
documentation|doc/first_steps/unsafe_browser]] before doing anything
else. If you want a safe, anonymous web browser, please shut this
browser down immediately and start the following web browser instead:
Applications -> Internet -> Iceweasel
If you want to login to a captive portal to get Internet access (as is
commonly necessary at Internet cafés, libraries, schools and other
public places and businesses), try visting any web site you know of by
entering its address in the address field above. The web site you
choose should preferably be common to your geographic location in
order to raise less suspocion (good examples of such pages are search
engines, news papers' home pages and similar). Once you've done that
you should be redirected to the login page instead, and once logged in
you should have Internet access so that you can start your anonymous
activity by using **other** applications than the Unsafe Browser.
**Note that the Unsafe Browser is never anonymous, not even after you
have logged in to a captive portal.**
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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