解释:为什么有人需要在屏幕外加载 img 1x1 像素?
explain: why does someone need to load img 1x1 pixel out of screen?
在 noscript
块内加载大小为 1x1 像素的图像的目的可能是什么?
<noscript>
<img src="https://vk.com/rtrg?p=VK-RTRG-218928-gWfNz" style="position:fixed; left:-999px;" alt=""/>
</noscript>
请解释我在调查 tinkoff.ru 页面源代码时发现的这个片段。
这是重定向像素 - 某人网站上的一小段不显眼的代码。代码或像素不会被网站访问者注意到,也不会影响网站的性能。这是一种在线广告形式,可以收集有关访问者的统计信息。
引自 similar question
The server hosting the 1x1 px image logs the request. This allows collecting statistics about who loads (and renders) the page with the image. Browsers in general allow cross origin in img tags.
<noscript>
标签内容是为在浏览器中禁用脚本或浏览器不支持脚本的用户显示的。
在 noscript
块内加载大小为 1x1 像素的图像的目的可能是什么?
<noscript>
<img src="https://vk.com/rtrg?p=VK-RTRG-218928-gWfNz" style="position:fixed; left:-999px;" alt=""/>
</noscript>
请解释我在调查 tinkoff.ru 页面源代码时发现的这个片段。
这是重定向像素 - 某人网站上的一小段不显眼的代码。代码或像素不会被网站访问者注意到,也不会影响网站的性能。这是一种在线广告形式,可以收集有关访问者的统计信息。
引自 similar question
The server hosting the 1x1 px image logs the request. This allows collecting statistics about who loads (and renders) the page with the image. Browsers in general allow cross origin in img tags.
<noscript>
标签内容是为在浏览器中禁用脚本或浏览器不支持脚本的用户显示的。