Closed Bug 1389047 Opened 9 years ago Closed 1 year ago

Use of Devtools should be transparent to the website being debugged

Categories

(DevTools :: General, enhancement, P2)

enhancement

Tracking

(firefox57 fix-optional)

RESOLVED DUPLICATE of bug 1923054
Tracking Status
firefox57 --- fix-optional

People

(Reporter: jwalker, Unassigned)

Details

Ad networks are alleged [1] to be hiding their evil by removing themselves from the browser when devtools are opened. Whether or not this is true, it shouldn't be possible. Devtools should treat developer fingerprinting the way Firefox treats browser fingerprinting - by looking for ways in which websites can detect the use of the devtools [2] and removing them. [1]: https://discourse.mozilla.org/t/support-ublock-origin/6746/451 [2]: https://stackoverflow.com/questions/7798748/find-out-whether-chrome-console-is-open/30638226#30638226
This library does it by comparing innerHeight and outerHeight, which will give false positives if there's any kind of browser sidebars or toolbars: https://github.com/sindresorhus/devtools-detect I couldn't find other reported solutions that work with Firefox, but there might be elaborate ways to do it.
Priority: -- → P2
IIRC I read that you could also track the resize event and watch to see if it moves in a single sudden jump. I imagine that comparing innerHeight and outerHeight would be a great way to fingerprint a browser, and that maybe we should have a fixed algorithm: outerHeight = (innerHeight + 50) or something like that.
Product: Firefox → DevTools
Severity: normal → enhancement
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1923054
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.