TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How does WebKit ITP work?

5 点作者 d-z-m8 个月前
I recently heard about a feature of WebKit, ITP(Intelligent Tracking Prevention)[0] and I&#x27;m curious as to how it works. Specifically, I&#x27;m curious whether other browsers that use WebKit on iOS are making use of this functionality by default, since articles about ITP make imply that the default setting is &quot;enabled&quot;.<p>Is this technology transparent to the developer building on top of WebKit, or are there specific APIs that have to be invoked in order to use this technology?<p>[0]: https:&#x2F;&#x2F;webkit.org&#x2F;blog&#x2F;7675&#x2F;intelligent-tracking-prevention&#x2F;

1 comment

mobilio8 个月前
Here is interactive demo how it works: <a href="https:&#x2F;&#x2F;peter.nikolow.me&#x2F;safari-itp-2-1-demo&#x2F;" rel="nofollow">https:&#x2F;&#x2F;peter.nikolow.me&#x2F;safari-itp-2-1-demo&#x2F;</a><p>In short - client side cookies are limited to 7 days. Only server side cookies have extended lifetme.