commit 6eb70f593e1323515cca152b654b638b11373fed
parent e89ff2f31c9c32e6bee37c4542ed1d4c5956a316
Author: ASWANTH R <aswanthr82@gmail.com>
Date: Sun, 4 Oct 2026 18:37:18 +0530
Remove sendBeacon tracking from pytml.js
Removed the sendBeacon functionality for tracking.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pytml.js b/pytml.js
@@ -2,9 +2,7 @@ fetch('https://pytml.vercel.app/api/count')
.then(r => r.json())
.then(data => console.log('Pytml loaded:', data.message, 'times'))
.catch(() => {});
-navigator.sendBeacon?.("https://pytml.vercel.app/beacon", JSON.stringify({
- u: location.href, r: document.referrer
-}));
+
/*
* Pytml 2.5.0
* Python + HTML, powered by Pyodide.