How can I capture the maximize and minimize of a browser?
It is possible to capture this events?
I'm searching the web and I didn't found any results.
I want to be know if the user maximize/minimize the browser ?
Is this Possible?
Thanks for the help

Sorry but there is no such event [maximize/ minimize/restore] event monitored by any existing browser until now.

But there is the onresize event that will fire on those occasions too.

Therefore you can use window.onresize as a generic maximize/ minimize/restore event monitor. But there's no way you can cancel it, since there's no onbefore...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.