Swap MR+ ad fallback to MRS (#3890)

* Replace Modrinth+ ad placeholder promo with Modrinth Servers promo

* Color toggle on web

* Remove plus link click helper
This commit is contained in:
Prospector
2025-07-02 21:50:33 -07:00
committed by GitHub
parent 497b2e977e
commit 4964c8d373
3 changed files with 55 additions and 24 deletions

View File

@@ -95,15 +95,6 @@
});
document.addEventListener("contextmenu", (event) => event.preventDefault());
const plusLink = document.getElementById("plus-link");
plusLink.addEventListener("click", function () {
window.__TAURI_INTERNALS__.invoke("plugin:ads|record_ads_click", {});
window.__TAURI_INTERNALS__.invoke("plugin:ads|open_link", {
path: "https://modrinth.com/plus",
origin: "https://modrinth.com",
});
});
</script>
</body>
</html>