November 2011
Intermediate to advanced
320 pages
10h 18m
English
All right, all right—let’s move beyond the arguably uninspiring and unpopular topic of DoS flaws. There is a lot more to the various UI-related APIs—and window.open(...) is a particularly curious case. Recall from the discussion earlier in this chapter that this humble function permits web applications not only to create new windows but also to position them in a specific spot on the screen. Several other methods, such as window.moveTo(...), window.resizeTo(...), window.focus(), or window.blur(), further permit such a window to be moved around the screen, scaled, or stacked in a particular way. Finally, window.close() allows it to be discreetly disposed of when the script no longer needs it.
As with most ...
Read now
Unlock full access