zlacker

[parent] [thread] 2 comments
1. joshyi+(OP)[view] [source] 2018-09-20 14:55:49
I'm able to get the screen size with goaccess. I placed a bogus <img> in the document. e.g.,

<img src="/images/1px.png?"+screen.width+"x"+screen.height+"x"+screen.colorDepth+" />

replies(1): >>Valent+pL1
2. Valent+pL1[view] [source] 2018-09-21 13:50:09
>>joshyi+(OP)
That's a nice idea, but it requires wrapping script tags around the "pixel", right?
replies(1): >>joshyi+gp3
◧◩
3. joshyi+gp3[view] [source] [discussion] 2018-09-22 13:57:14
>>Valent+pL1
That's right. e.g.,

<script> document.write("<img src=\"/images/1px.png?" + screen.width + "x" + screen.height + "x" + screen.colorDepth + "\" />"); </script>

[go to top]