Lurker News
Anyone else noticing this while editing an email? It seems just crazy.

Comments (199) 50 threads

Show all comments

Showing thread 11 of 50

ars2 replies#
Or have it open before you visit the page. Assuming they are detecting a resize.

But if they really detect a resize, anyone who actually does resize their page will be blocked as well.
Doing that seems a bit insane to me.

mh-1 reply#
it's been some years, but I think it's still possible to detect the viewport resize without a corresponding window resize, so the 'docked' DevTools can be inferred distinct from a resizing of the window.
iso16311 reply#
enable/disable a menu or toolbar then. Not sure what full screen would do either

Continue this thread — 1 reply

iudqnolq1 reply#
Almost everyone resizes windows by manually dragging the corner. This will generate a series of resize events rather than a single jump. This is a real technique, but it tends to be used by shady piracy sites that want to stop piracy of their pirated contents.

There's another cute approach based on the fact console.log(foo) calls foo.toString if and only if the devtools is open.

kevincox1 reply#
I could open the history or bookmarks panel in Firefox and get an instant resize. Or click + to snap the browser to the side of my screen.

It seems that this would create far too many false positives.

Continue this thread — 1 reply