diff --git a/patches/.created b/patches/.created
new file mode 100644
index 0000000..e69de29
diff --git a/patches/about-dialog.patch b/patches/about-dialog.patch
new file mode 100644
index 0000000..556d7b5
--- /dev/null
+++ b/patches/about-dialog.patch
@@ -0,0 +1,12 @@
+diff --git a/browser/base/content/aboutDialog.xhtml b/browser/base/content/aboutDialog.xhtml
+--- a/browser/base/content/aboutDialog.xhtml
++++ b/browser/base/content/aboutDialog.xhtml
+@@ -147,7 +147,7 @@
+
+
+
+
diff --git a/patches/allow-ubo-private-mode.patch b/patches/allow-ubo-private-mode.patch
new file mode 100644
index 0000000..ef08f46
--- /dev/null
+++ b/patches/allow-ubo-private-mode.patch
@@ -0,0 +1,18 @@
+--- a/toolkit/components/extensions/Extension.jsm
++++ b/toolkit/components/extensions/Extension.jsm
+@@ -2658,6 +2658,15 @@
+ this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
+ }
+
++ if (this.id === "uBlock0@raymondhill.net") {
++ ExtensionPermissions.add(this.id, {
++ permissions: [PRIVATE_ALLOWED_PERMISSION],
++ origins: [],
++ });
++ this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
++ }
++
++
+ // We only want to update the SVG_CONTEXT_PROPERTIES_PERMISSION during install and
+ // upgrade/downgrade startups.
+ if (INSTALL_AND_UPDATE_STARTUP_REASONS.has(this.startupReason)) {
diff --git a/patches/allow_dark_preference_with_rfp.patch b/patches/allow_dark_preference_with_rfp.patch
new file mode 100644
index 0000000..69ec48a
--- /dev/null
+++ b/patches/allow_dark_preference_with_rfp.patch
@@ -0,0 +1,29 @@
+diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp
+index ce2cbca..60fda48 100644
+--- a/dom/base/Document.cpp
++++ b/dom/base/Document.cpp
+@@ -17084,6 +17084,7 @@ void Document::RemoveToplevelLoadingDocument(Document* aDoc) {
+ StylePrefersColorScheme Document::PrefersColorScheme(
+ IgnoreRFP aIgnoreRFP) const {
+ if (aIgnoreRFP == IgnoreRFP::No &&
++ !StaticPrefs::privacy_override_rfp_for_color_scheme() &&
+ nsContentUtils::ShouldResistFingerprinting(this)) {
+ return StylePrefersColorScheme::Light;
+ }
+diff --git a/modules/libref/init/StaticPrefList.yaml b/modules/libref/init/StaticPrefList.yaml
+index b4b2dc7..e65d43f 100644
+--- a/modules/libpref/init/StaticPrefList.yaml
++++ b/modules/libpref/init/StaticPrefList.yaml
+@@ -9863,6 +9863,12 @@
+ value: false
+ mirror: always
+
++# Allows overriding RFP for only the dark/light pref
++- name: privacy.override_rfp_for_color_scheme
++ type: bool
++ value: false
++ mirror: always
++
+ # We automatically decline canvas permission requests if they are not initiated
+ # from user input. Just in case that breaks something, we allow the user to
+ # revert this behavior with this obscure pref. We do not intend to support this
diff --git a/patches/arm.patch b/patches/arm.patch
new file mode 100644
index 0000000..0e0d648
--- /dev/null
+++ b/patches/arm.patch
@@ -0,0 +1,12 @@
+diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
+index f8977a6..34f52fc 100644
+--- a/js/src/wasm/WasmSignalHandlers.cpp
++++ b/js/src/wasm/WasmSignalHandlers.cpp
+@@ -243,7 +243,7 @@ using mozilla::DebugOnly;
+ // If you run into compile problems on a tier-3 platform, you can disable the
+ // emulation here.
+
+-#if defined(__linux__) && defined(__arm__)
++#if 0 && defined(__linux__) && defined(__arm__)
+ # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
+ #endif
diff --git a/patches/browser-confvars.patch b/patches/browser-confvars.patch
new file mode 100644
index 0000000..9b40dce
--- /dev/null
+++ b/patches/browser-confvars.patch
@@ -0,0 +1,28 @@
+diff --git a/browser/confvars.sh b/browser/confvars.sh
+index 92871c9516..1e151180dd 100644
+--- a/browser/confvars.sh
++++ b/browser/confvars.sh
+@@ -3,8 +3,10 @@
+ # 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/.
+
+-MOZ_APP_VENDOR=Mozilla
+-MOZ_UPDATER=1
++MOZ_APP_BASENAME=LibreWolf
++MOZ_APP_VENDOR="LibreWolf Community"
++
++MOZ_UPDATER=0
+
+ if test "$OS_ARCH" = "WINNT"; then
+ if ! test "$HAVE_64BIT_BUILD"; then
+@@ -34,8 +36,8 @@ BROWSER_CHROME_URL=chrome://browser/content/browser.xhtml
+ # For mozilla-beta, mozilla-release, or mozilla-central repositories, use
+ # "unofficial" branding.
+ # For the mozilla-aurora repository, use "aurora".
+-MOZ_BRANDING_DIRECTORY=browser/branding/unofficial
+-MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/official
++MOZ_BRANDING_DIRECTORY=browser/branding/librewolf
++MOZ_OFFICIAL_BRANDING_DIRECTORY=browser/branding/librewolf
+ MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+
+ MOZ_PROFILE_MIGRATOR=1
diff --git a/patches/context-menu.patch b/patches/context-menu.patch
new file mode 100644
index 0000000..5685f96
--- /dev/null
+++ b/patches/context-menu.patch
@@ -0,0 +1,43 @@
+diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc
+--- a/browser/base/content/browser-context.inc
++++ b/browser/base/content/browser-context.inc
+@@ -102,19 +102,16 @@
+ oncommand="gContextMenu.openLinkInPrivateWindow();"/>
+
+
+
+-
+
+
+
+ #endif
+
+-
+
+