Skip to content
Snippets Groups Projects
Verified Commit 2493f380 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

MB 63: Customize some about pages for Mullvad Browser

Also:
mullvad-browser#57: Purge unneeded about: pages
parent e6f37dc2
Branches
Tags
1 merge request!151Rebased MB after the patchset health work
......@@ -191,6 +191,8 @@ static const RedirEntry kRedirMap[] = {
# endif
nsIAboutModule::ALLOW_SCRIPT},
# endif
#endif
#ifdef MULLVAD_BROWSER
{"telemetry", "chrome://global/content/aboutTelemetry.xhtml",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
#endif
......
......
......@@ -31,13 +31,12 @@ about_pages = [
'srcdoc',
'support',
'translations',
'telemetry',
# Removed 'url-classifier'. tor-browser#42831.
]
if defined('MOZ_CRASHREPORTER'):
about_pages.append('crashes')
if defined('MOZ_TELEMETRY_REPORTING'):
about_pages.append('telemetry')
if defined('MOZ_WEBRTC'):
about_pages.append('webrtc')
if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] != 'android':
......
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [ <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
%htmlDTD; ]>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta
http-equiv="Content-Security-Policy"
content="default-src chrome:; object-src 'none'"
/>
<meta name="color-scheme" content="light dark" />
<title data-l10n-id="rights-title"></title>
<link
rel="stylesheet"
href="chrome://global/skin/in-content/info-pages.css"
type="text/css"
/>
<link rel="localization" href="branding/brand.ftl" />
<link rel="localization" href="toolkit/about/aboutRights.ftl" />
<link rel="localization" href="toolkit/global/mullvad-browser.ftl" />
</head>
<body id="your-rights" class="aboutPageWideContainer">
<div class="container">
<h1 data-l10n-id="rights-title"></h1>
<p data-l10n-id="rights-mullvad-intro"></p>
<p data-l10n-id="rights-mullvad-you-should-know"></p>
<ul>
<li data-l10n-id="rights-intro-point-1">
<a
href="http://www.mozilla.org/MPL/"
data-l10n-name="mozilla-public-license-link"
></a>
</li>
<li data-l10n-id="rights-mullvad-trademarks"></li>
</ul>
</div>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [ <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
%htmlDTD; ]>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta
http-equiv="Content-Security-Policy"
content="default-src chrome:; object-src 'none'"
/>
<meta name="color-scheme" content="light dark" />
<title data-l10n-id="telemetry-title"></title>
<link
rel="stylesheet"
href="chrome://global/skin/in-content/info-pages.css"
type="text/css"
/>
<link rel="localization" href="branding/brand.ftl" />
<link rel="localization" href="toolkit/global/mullvad-browser.ftl" />
</head>
<body id="your-rights" class="aboutPageWideContainer">
<div class="container">
<h1 data-l10n-id="telemetry-title"></h1>
<p data-l10n-id="telemetry-description"></p>
</div>
</body>
</html>
......@@ -44,6 +44,9 @@ toolkit.jar:
content/global/aboutTelemetry.js
content/global/aboutTelemetry.xhtml
content/global/aboutTelemetry.css
#endif
#ifdef MULLVAD_BROWSER
content/global/aboutTelemetry.xhtml (aboutTelemetryMullvad.xhtml)
#endif
content/global/aboutUrlClassifier.js
content/global/aboutUrlClassifier.xhtml
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment