Patcher/pre-compile-patches/branding-about.patch
2025-05-11 08:51:46 +02:00

48 lines
1.9 KiB
Diff

t: new
o: /browser/base/content/aboutDialog.xhtml
+#filter substitution
+<?xml version="1.0"?>
+<?csp default-src chrome: resource:; object-src 'none';?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ id="aboutDialog"
+ windowtype="Browser:About"
+ role="dialog">
+
+ <linkset>
+ <html:link rel="stylesheet" href="chrome://global/skin/global.css"/>
+ <html:link rel="stylesheet" href="chrome://browser/content/aboutDialog.css"/>
+ <html:link rel="stylesheet" href="chrome://branding/content/aboutDialog.css"/>
+ <html:link rel="localization" href="branding/brand.ftl"/>
+ <html:link rel="localization" href="browser/aboutDialog.ftl"/>
+ </linkset>
+
+ <html:div id="aboutDialogContainer">
+ <hbox id="clientBox">
+ <vbox id="leftBox" flex="1"/>
+ <vbox id="rightBox">
+ <!-- <label id="release" hidden="true">Extended Support Release</label> -->
+
+ <label class="text-blurb" style="margin-top: 16px;">Spitfire is a privacy-focused and customisable web browser.</label>
+ <label class="text-blurb">
+ </label>
+ </vbox>
+ </hbox>
+ <vbox id="bottomBox">
+ <hbox pack="center">
+ <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
+ <label is="text-link" class="bottom-link" href="https://weforge.xyz/Spitfire">Source Code</label>
+ <label is="text-link" class="bottom-link" href="https://liberapay.com/partisan/">Support the project</label>
+ </hbox>
+ <description id="trademark" data-l10n-id="trademarkInfo"></description>
+ </vbox>
+ </html:div>
+
+ <keyset>
+ <key id="aboutDialogEscapeKey" keycode="VK_ESCAPE"/>
+ </keyset>
+
+ <script src="chrome://browser/content/aboutDialog.js"/>
+</window>