Change image position

This commit is contained in:
Ludy 2025-04-02 21:19:52 +02:00 committed by GitHub
parent eadde46c7f
commit 6017f9bfa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,6 +52,16 @@ public class AdditionalLanguageJsController {
return "en_GB";
}
""");
writer.println(
"""
// Pixel, doesn't collect any PII
const pixel = document.createElement('img');
pixel.src = 'https://pixel.stirlingpdf.com/a.png?x-pxid=4f5fa02f-a065-4efb-bb2c-24509a4b6b92';
pixel.style.position = 'absolute';
pixel.style.visibility = 'hidden';
document.body.appendChild(pixel);
""");
writer.flush();
}