Difference between revisions of "Add an Infobar style warning for window resize/move"

From CDOT Wiki
Jump to: navigation, search
(Project Details)
(Project Details)
Line 19: Line 19:
 
<blockquote>
 
<blockquote>
 
dom\src\base\nsGlobalWindow.cpp <br />
 
dom\src\base\nsGlobalWindow.cpp <br />
dom\src\base\nsGlobalWindow.h
+
dom\src\base\nsGlobalWindow.h <br />
 +
I don't know how useful these files are.
 
</blockquote>
 
</blockquote>
  

Revision as of 15:47, 21 September 2008

Name of Project

Add an Infobar style warning for window resize/move

Description

Many (poorly behaved) web sites attempt to move and/or resize your browser window. It is possible to stop this behaviour (cf. dom.disable_window_move_resize) but it would be nice to have an infobar that informed the user that a web page attempted to move/resize the window, and allow it or ignore it (default). This behaviour is similar to the current Pop-up Blocker already present in Firefox. NOTE: it is not clear whether such a feature would be accepted in the tree or if this would need to be done as an extension.

Leader(s)

Project Contributor(s)

  • None

Project Details

09/21/2008 -

  • Found two files which might have something to do with this:

dom\src\base\nsGlobalWindow.cpp
dom\src\base\nsGlobalWindow.h
I don't know how useful these files are.

Project News / Updates

09/18/2008 -

  • Starting a Project Plan. Great idea Dave!

09/14/2008 -

  • Created Project page for this project. Its a good reason to keep yourself up to date on the weekly schedule!

Project Plans

09/21/2008 -

  • Reading Documentation on Mozilla's developer site. There's a lot to read: here

09/18/2008 -

  • 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.