mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-12 01:30:52 +01:00
Only count views on the official instances
This commit is contained in:
parent
1650a4bca1
commit
5f0e28e506
@ -38,6 +38,14 @@ fetch("//gc.zgo.at/", { method: "HEAD" })
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
window.location.host !== "toot.kytta.dev" &&
|
||||||
|
window.location.host !== "s2f.kytta.dev" &&
|
||||||
|
window.location.host !== "share2fedi.kytta.dev"
|
||||||
|
) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const screen = encodeURIComponent(
|
const screen = encodeURIComponent(
|
||||||
[
|
[
|
||||||
window.screen.width,
|
window.screen.width,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user