The best way to avoid these kinds of annoyances is to use NoScript.
It also seems to have a Flash object somewhere in the page. Flashblock can help with that.
There is also some code which moves windows all over the screen. Firefox has a preference which allows you to disable moving and resizing windows (
dom.disable_window_move_resize); you should enable it (you do not need to use about:config for it, it is somewhere in the preferences dialog). While at that, also disable blocking the context menu (
dom.event.contextmenu.enabled); it is in the same place in the preferences dialog.
Edit: an even better bug report is bug 432687, which is the meta-bug tracking all bug reports relevant to this problem.