javascript - 火狐 40+ : what does the "Found hi-entropy localStorage" message mean?

标签 javascript firefox local-storage

我今天更新到 Firefox 40,我在我的 Firebug 控制台中看到一条简洁的新消息:

Found hi-entropy localStorage: 561.0263282209031  bits http://localhost:8080/my_app_path itemName

...其中 itemName 是我保存在 localStorage 中的特定项目的名称。

引用的行号总是没有帮助:主要 HTML 文档的最后一个(它是一个单页应用程序)。

为什么会这样?如果你想要我的“hi-entropy localStorage”的例子,这里是有问题的数据:

Object {
 id: "c9796c88-8d22-4d33-9d13-dcfdf4bc879a",
 userId: 348,
 userName: "admin"
}

最佳答案

您的浏览器有 Privacy Badger 插件 (1.0),它可以 detect some types of super-cookies and browser fingerprinting .它将您的本地存储项目识别为误报并生成了那些神秘的日志。

高-entropy字符串可以被模糊地定义为复杂的、难以猜测/重复的,或者可能包含有意义的信息。如果您的本地存储中有这样一个字符串(在您的示例中为项目 ID),广告商可能会将其放在那里以唯一标识您。 Privacy Badger 有粗略的方法来估计字符串的熵,开发人员 discuss here .


你应该看看论文 The Web never forgets: Persistent tracking mechanisms in the wild ,尤其是关于 cookie 同步的部分:

Cookie synchronization or cookie syncing is the practice of tracker domains passing pseudonymous IDs associated with a given user, typically stored in cookies, amongst each other.

关于javascript - 火狐 40+ : what does the "Found hi-entropy localStorage" message mean?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31953321/

相关文章:

javascript - DOM Storage 可以存储什么?

javascript - Chrome 扩展程序 : Content of localStorage is not visible in Chrome DevTools

javascript - 将 react prop 与 href html 标签混合

javascript - 数据重复并且输出显示两次。可能存在传播错误

javascript - jquery 数据表插件 : custom message per page when table is empty

javascript - 相当于 Flow 中的 TypeScript Record?

google-chrome - 从 Chrome 到 Mozilla 使用 RTCMulticonnection 进行屏幕共享的错误

javascript - dispatchEvent 产生无序的调用捕获/冒泡监听器

html - 如何从 Firefox 中的 <area> 元素中删除虚线边框?

javascript - 添加到 localStorage 对象(链接)