Skip to content

Truly independent web browser

LibWebView: Remove legacy settings section map

Timothy Flynnf6bd99c47ba5
diff --git a/Base/res/ladybird/about-pages/services.html b/Base/res/ladybird/about-pages/services.html
index 0276b526ae1..56ccd701c19 100644
--- a/Base/res/ladybird/about-pages/services.html
+++ b/Base/res/ladybird/about-pages/services.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<title>Services</title>
<script>
- location.replace("about:settings#services");
+ location.replace("about:settings#privacy");
</script>
</head>
</html>
diff --git a/Base/res/ladybird/about-pages/settings.html b/Base/res/ladybird/about-pages/settings.html
index fe812cd56ac..7216f561fab 100644
--- a/Base/res/ladybird/about-pages/settings.html
+++ b/Base/res/ladybird/about-pages/settings.html
@@ -1734,16 +1734,8 @@
});
});
- // Links to sections that were merged into others still open where their settings went.
- const MOVED_SECTIONS = {
- general: "appearance",
- services: "privacy",
- network: "advanced",
- languages: "browsing",
- };
const hash = location.hash.slice(1);
- const section = hash ? tabForDeepLink(hash) : "appearance";
- switchTab(MOVED_SECTIONS[section] ?? section);
+ switchTab(hash ? tabForDeepLink(hash) : "appearance");
// FIXME: Remove this once closedby="any" triggers for Esc key.
document.querySelectorAll("dialog").forEach(dialog => {