Re:MailChimp blacklists your IP if you open the browser's de...
by iudqnolq on Monday March 20, 2023 @04:19PM
(#35238028)
Unfortunately console.log(foo) calls foo.toString() if and only if the console is open, and there is no way to disable this in Chrome or Firefox.
[ Parent
| on HN ]
Re:MailChimp blacklists your IP if you open the browser's de...
by joeframbach on Monday March 20, 2023 @05:24PM
(#35238985)
Theoretically you could also write a bookmarklet that could inspect or modify globals. Or a greasemonkey script.
Re:MailChimp blacklists your IP if you open the browser's de...
by iudqnolq on Monday March 20, 2023 @05:50PM
(#35239281)
You could also fork Chrome.
Re:MailChimp blacklists your IP if you open the browser's de...
by quickthrower2 on Monday March 20, 2023 @06:41PM
(#35239879)
You could also fuck Mailchimp
Re:MailChimp blacklists your IP if you open the browser's de...
by iudqnolq on Monday March 20, 2023 @07:51PM
(#35240588)
I stopped using them years ago for other reasons. We're talking about how to do research into their fuckery here, I'm not suggesting it's sane to fork a browser to make a company's crapware work.
Re:MailChimp blacklists your IP if you open the browser's de...
by easrng on Monday March 20, 2023 @07:18PM
(#35240246)
I can't repro, how are you getting it to call toString?
Re:MailChimp blacklists your IP if you open the browser's de...
by iudqnolq on Monday March 20, 2023 @07:49PM
(#35240559)
const foo = () => {}
foo.toString = () => console.warn("called")
console.log(foo)
Re:MailChimp blacklists your IP if you open the browser's de...
by easrng on Tuesday March 21, 2023 @02:02PM
(#35249951)
Doesn't work on Firefox.
Re:MailChimp blacklists your IP if you open the browser's de...
by deecewan on Monday March 20, 2023 @08:42PM
(#35241009)
This is not true, at least in Chrome. I've tried with an object with the `toString` property set, and tried with a function with an updated prototype. In both cases, Chrome just...displays the object.