Skip to content

Commit

Permalink
Merge branch 'master' into features
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevastel authored Nov 30, 2018
2 parents ccd4d22 + 670953b commit 70bb016
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fpscanner",
"version": "0.1.2",
"version": "0.1.4",
"description": "Detect bots using fingerprinting",
"main": "src/fpScanner.js",
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions src/fpScanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,6 @@ const fpscanner = (function () {
addTestResult(() => {
let testResult = CONSISTENT;

if (IS_MOBILE_REF && fingerprint.deviceMemory >= 8 &&
VENDOR_REF !== VENDORS.ONEPLUS) {
// Currently only onePlus has more than 8gb of RAM
testResult = INCONSISTENT;
}

if (fingerprint.deviceMemory !== 0 &&
!(BROWSER_REF === BROWSERS.CHROME && BROWSER_VERSION_REF >= 63) &&
!(/Opera/.test(BROWSER_REF) && BROWSER_VERSION_REF >= 50)) {
Expand Down

0 comments on commit 70bb016

Please sign in to comment.