Loading docshell/base/nsAboutRedirector.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,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 Loading docshell/build/components.conf +1 −2 Original line number Diff line number Diff line Loading @@ -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': Loading toolkit/content/aboutRightsMullvad.xhtml 0 → 100644 +45 −0 Original line number Diff line number Diff line <?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> toolkit/content/aboutTelemetryMullvad.xhtml 0 → 100644 +32 −0 Original line number Diff line number Diff line <?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> toolkit/content/jar.mn +6 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ toolkit.jar: content/global/aboutProfiles.xhtml #endif content/global/aboutRights.js #ifdef MOZILLA_OFFICIAL #ifdef MULLVAD_BROWSER content/global/aboutRights.xhtml (aboutRightsMullvad.xhtml) #elifdef MOZILLA_OFFICIAL content/global/aboutRights.xhtml #else content/global/aboutRights.xhtml (aboutRights-unbranded.xhtml) Loading Loading @@ -44,6 +46,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 Loading Loading
docshell/base/nsAboutRedirector.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,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 Loading
docshell/build/components.conf +1 −2 Original line number Diff line number Diff line Loading @@ -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': Loading
toolkit/content/aboutRightsMullvad.xhtml 0 → 100644 +45 −0 Original line number Diff line number Diff line <?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>
toolkit/content/aboutTelemetryMullvad.xhtml 0 → 100644 +32 −0 Original line number Diff line number Diff line <?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>
toolkit/content/jar.mn +6 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,9 @@ toolkit.jar: content/global/aboutProfiles.xhtml #endif content/global/aboutRights.js #ifdef MOZILLA_OFFICIAL #ifdef MULLVAD_BROWSER content/global/aboutRights.xhtml (aboutRightsMullvad.xhtml) #elifdef MOZILLA_OFFICIAL content/global/aboutRights.xhtml #else content/global/aboutRights.xhtml (aboutRights-unbranded.xhtml) Loading Loading @@ -44,6 +46,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 Loading