Skip to content

Truly independent web browser

WebCompat: Add User-Agent quirks for Bonnier News sites

sideshowbarkerc243027ab53e
diff --git a/UI/cmake/ResourceFiles.cmake b/UI/cmake/ResourceFiles.cmake
index c4237e6224f..77df25d06ce 100644
--- a/UI/cmake/ResourceFiles.cmake
+++ b/UI/cmake/ResourceFiles.cmake
@@ -26,6 +26,9 @@ list(TRANSFORM INTERNAL_RESOURCES PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/ladyb
set(SITE_COMPATIBILITY_RESOURCES
cnn.com.json
+ di.se.json
+ dn.se.json
+ expressen.se.json
nytimes.com.json
twitch.tv.json
)
diff --git a/WebCompat/di.se.json b/WebCompat/di.se.json
new file mode 100644
index 00000000000..277d0b4b2e4
--- /dev/null
+++ b/WebCompat/di.se.json
@@ -0,0 +1,9 @@
+{
+ "matches": [
+ "https://di.se/*",
+ "https://*.di.se/*"
+ ],
+ "user_agent": [
+ "hide_Ladybird"
+ ]
+}
diff --git a/WebCompat/dn.se.json b/WebCompat/dn.se.json
new file mode 100644
index 00000000000..41782481742
--- /dev/null
+++ b/WebCompat/dn.se.json
@@ -0,0 +1,9 @@
+{
+ "matches": [
+ "https://dn.se/*",
+ "https://*.dn.se/*"
+ ],
+ "user_agent": [
+ "hide_Ladybird"
+ ]
+}
diff --git a/WebCompat/expressen.se.json b/WebCompat/expressen.se.json
new file mode 100644
index 00000000000..37d38f0dda6
--- /dev/null
+++ b/WebCompat/expressen.se.json
@@ -0,0 +1,9 @@
+{
+ "matches": [
+ "https://expressen.se/*",
+ "https://*.expressen.se/*"
+ ],
+ "user_agent": [
+ "hide_Ladybird"
+ ]
+}