This commit is contained in:
epoberezkin committed 2026-10-14 20:03:44 +00:00
1 parent 6f38bfe2d9
commit 6927c3c21b
326 files changed
+5401 -9

No files matched your search

+21
View File
@@ -617,6 +617,27 @@
})();
</script>
<script type="module">
import { init, track } from '/js/page.js';
var pageEvents = {
domain: 'simplex.chat',
endpoint: 'https://api.simplex.chat/api/event',
logging: false,
outboundLinks: true,
transformRequest: function (event) {
if (window !== window.top || location.hostname.endsWith('.onion')) return null;
if (location.pathname.startsWith('/directory')) event.u = event.u.split('#')[0];
// remove hash from outbound links
if (event.p && event.p.url) event.p.url = event.p.url.split('#')[0];
return event;
}
};
init(pageEvents);
</script>
<script>
// switch theme
const sunIcon = document.querySelector('.sun');