News for hackers. Stuff that matters.
Re:MailChimp blacklists your IP if you open the browser's de... by pupppet on Monday March 20, 2023 @02:32PM (#35236357)
I had to use their silly drag-and-drop email builder because I'm handing the email off to be edited by a non-dev. I dropped in a "Code" module so I could add some custom CSS but because a style tag generates no space, that module is no longer accessible via the UI as there's nothing to click on. So I thought oh brother I'll just inject a couple br tags via the Inspector and then poof, I'm in the doghouse.
Re:MailChimp blacklists your IP if you open the browser's de... by Retr0id on Monday March 20, 2023 @03:31PM (#35237310)
Rather than it being dev tools itself, I think it's more likely that your injected <br> tags got POSTed to an API endpoint (or similar) in unescaped format, and were categorised by a WAF as attempted XSS. It's common for WAFs to block you for this kind of thing, unfortunately.

Still ridiculous, but not quite the same thing as being banned for opening dev tools (of course, I am also speculating here, I guess we'd need to hear from mailchimp to be sure).

Re:MailChimp blacklists your IP if you open the browser's de... by pupppet on Monday March 20, 2023 @03:50PM (#35237595)
Actually just opening the dev tools triggers it. The blacklist seems to expire on its own so I went ahead and opened the dev tools and did nothing more, reloaded, blocked.
Re:MailChimp blacklists your IP if you open the browser's de... by justinclift on Monday March 20, 2023 @04:25PM (#35238135)
Hopefully it doesn't have a "lets permanently ban this repeat offender" thing. (!)
Re:MailChimp blacklists your IP if you open the browser's de... by dylan604 on Monday March 20, 2023 @04:47PM (#35238433)
This is interesting as something I've never thought about. What signaling to the server does the browser do when devtools are opened, and I guess I have to ask why is it signaling to the server anything at all if it is?

Edit: i see that people have replied with answers to this further down the page

Re:MailChimp blacklists your IP if you open the browser's de... by temp12192021 on Monday March 20, 2023 @04:52PM (#35238511)
https://sindresorhus.com/devtools-detect/

https://github.com/sindresorhus/devtools-detect

EDIT: doesn't seem to work if I have devtools as a separate window

Re:MailChimp blacklists your IP if you open the browser's de... by kxrm on Monday March 20, 2023 @05:42PM (#35239188)
I just turned on responsive mode in Firefox to fool it. Definitely not reliable.
Re:MailChimp blacklists your IP if you open the browser's de... by deathanatos on Monday March 20, 2023 @05:14PM (#35238851)
… that incorrectly detects devtools as open, when it isn't (false positive), and fails to detect devtools when it is open in a separate window (false negative)…

Yeah, as other posters hint at, vertical tabs. But it isn't just vertical tabs that'll trigger it, any sidebar will, including native/vanilla ones; AFAICT it's just looking at the client area being less than the window by some threshold.

Re:MailChimp blacklists your IP if you open the browser's de... by wolpoli on Monday March 20, 2023 @05:21PM (#35238947)
It detects Microsoft Edge's Sidebar too, which opens on hover. It's going to create false a lot of positives.
Re:MailChimp blacklists your IP if you open the browser's de... by Nullabillity on Monday March 20, 2023 @05:14PM (#35238842)
Tree Style Tab is apparently detected as vertical dev tools, and opening the horizontal dev tools changes it to no. This is kind of hilarious.
Re:MailChimp blacklists your IP if you open the browser's de... by lewisl9029 on Monday March 20, 2023 @05:07PM (#35238732)
Vertical tabs in Edge seems to trigger false positives on this. Really hope that's not the only heuristic they're using.
Re:MailChimp blacklists your IP if you open the browser's de... by ajot on Monday March 20, 2023 @05:15PM (#35238869)
Same goes for Sidebery in Firefox, but then it changes to "no" if I do open the Dev Tools. As a non web-dev, this behaviour is truly weird.
Re:MailChimp blacklists your IP if you open the browser's de... by sli on Monday March 20, 2023 @07:49PM (#35240563)
Looking at the code[0], it just defines an aspect ratio threshold (170px in either direction, on line 13) for your browser's viewport and triggers if it's outside of that on width or height. So when you open a second panel, your viewport goes back to being closer to 16:9/16:10 and the tool considers that within both thresholds.

The detection is hilariously primitive, entirely unreliable, and only knows about your devtools directly if you're using Firebug.

[0]: https://github.com/sindresorhus/devtools-detect/blob/main/in...

Re:MailChimp blacklists your IP if you open the browser's de... by riz_ on Monday March 20, 2023 @06:24PM (#35239679)
False positive in the Arc browser, no devtools open.
Re:MailChimp blacklists your IP if you open the browser's de... by sli on Monday March 20, 2023 @07:52PM (#35240596)
Wow, that code is entirely unreliable. It just detects your browser's viewport being outside of some threshold of a "normal" aspect ratio and then just blindly assumes that means the devtools are open. The only devtool it can actually detect is Firebug. Everything else is nothing but a blind guess based on the size of your viewport. I'd be astonished if anyone used this code for anything serious.
Re:MailChimp blacklists your IP if you open the browser's de... by kyleee on Tuesday March 21, 2023 @12:37AM (#35242620)
That person churns out a staggering amount of code so it’s not a surprise I guess that the bit about “does this code actually work” is probably lower on the list of concerns
Re:MailChimp blacklists your IP if you open the browser's de... by Diskutant on Tuesday March 21, 2023 @02:21AM (#35243067)
On iPhone 13 mini Safari it says I have the dev tools open. Only when I hide the toolbar it says „no“.
Re:MailChimp blacklists your IP if you open the browser's de... by jerryzh on Tuesday March 21, 2023 @08:49AM (#35245430)
This is so hilarious.

It only detects if there is a block in the browser that does not serve as website rendering. Since I use Tree Tab on side panel of Firefox, this plugin will believe I have opened devtools all the time.

Edit: it will think I closed devtools when I really open devtools. I start to wonder how shitty the code is.

Re:MailChimp blacklists your IP if you open the browser's de... by sosborn on Monday March 20, 2023 @09:13PM (#35241291)
Just want to say as someone who regularly drops in code modules to insert css, you can absolutely access the block in the UI.
Re:MailChimp blacklists your IP if you open the browser's de... by pupppet on Tuesday March 21, 2023 @12:33AM (#35242599)
Yeah I thought it would be a weird oversight on MC's part to make you jump through hoops just to insert a style tag but it completely disappeared from the UI. The effect from my CSS was still there so I know it was still on the page...somewhere.