Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
Add notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Aug 12, 2014
1 parent 1252ba2 commit b48985e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chrome/js/builds/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ function get_fingerprinting_score(scriptData) {
}

// 15 points for each property access
// TODO language/userAgent/common properties should count less, others should count more?
// TODO use non-linear scale?
// TODO third-party scripts should count more?
// TODO count across domains instead of individual scripts?
for (var i = 0; i < Object.keys(scriptData.counts).length; i++) {
score += 15;
if (score > 100) {
Expand Down
4 changes: 4 additions & 0 deletions src/js/panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ function get_fingerprinting_score(scriptData) {
}

// 15 points for each property access
// TODO language/userAgent/common properties should count less, others should count more?
// TODO use non-linear scale?
// TODO third-party scripts should count more?
// TODO count across domains instead of individual scripts?
for (var i = 0; i < Object.keys(scriptData.counts).length; i++) {
score += 15;
if (score > 100) {
Expand Down

0 comments on commit b48985e

Please sign in to comment.