Open main menu

CDOT Wiki β

Changes

Add an Infobar style warning for window resize/move

593 bytes added, 00:02, 2 October 2008
no edit summary
* First step would be to see how infobars work in Mozilla. I need to see what triggers one, how they are displayed as well as how they can be used. If they can alter the content on a page, that would be an interesting find also.
* Would be a good idea to also look up what event handlers there are.
 
== Links to keep ==
[http://mxr.mozilla.org/mozilla-central/source/dom/src/base/nsGlobalWindow.cpp#3136 Set Inner Width function]
[http://mxr.mozilla.org/mozilla-central/source/dom/src/base/nsGlobalWindow.cpp#4005 Can Move Resize Windows function]
[http://mxr.mozilla.org/mozilla-central/source/dom/src/base/nsGlobalWindow.cpp#4760 FirePopupBlockedEvent()]
[http://mxr.mozilla.org/mozilla-central/source/dom/src/base/nsGlobalWindow.cpp#4938 Call to FirePopupBlockedEvent()]
[http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#835 The place to add eventlisteners]
 
 
== Related Bugs ==
[https://bugzilla.mozilla.org/show_bug.cgi?id=186708 Bug 186708: don't allow web sites to resize windows with toolbars (by default)] - Looks kinda dead
1
edit