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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

NYTimes is keeping analytics on pay-wall hacks.

6 点作者 yahelc大约 14 年前

2 条评论

yahelc大约 14 年前
It's interesting, they're even checking for what kind of hack is being used:<p><pre><code> function checkGateway(){ var overlay = document.getElementById("overlay"); if (typeof fulltext !== "undefined") { notify("NYTClean"); } else if (!overlay || overlay.style.display == "none") { notify("PaywallSmasher"); } else { setTimeout(checkGateway, 1000); } } function notify(typeOfHack){ if (NYTD.UPTracker &#38;&#38; typeof NYTD.UPTracker.track === "function") { NYTD.UPTracker.track({ eventType : "domHack", baseUrl : "//up.nytimes.com/?", data : { type : typeOfHack } }); } }</code></pre>
rprasad大约 14 年前
The easiest hack: just clear your browser cache when you close your browser.<p>I've read way more than 20 articles in the past 2 days, all of them accessed from the NYT homepage itself. Whatever it is that they're "doing", it clearly can't overcome privacy settings that prevent permanent cookies.