Closed Bug 370094 Opened 17 years ago Closed 17 years ago

Webpage can steal focus from URLbar / chrome

Categories

(Core :: Layout: Form Controls, defect)

1.8 Branch
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 125282

People

(Reporter: BenB, Unassigned)

Details

Attachments

(1 file)

Attached file Testcase
From: "pdp (architect)" <pdp.gnucitizen@googlemail.com>
To: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com
Date: Sun, 11 Feb 2007 21:10:42 +0000
Message-ID: <6905b1570702111310k4e80aa21v8ca8d635d1668d06@mail.gmail.com>

try this

<input id="foo" type="text"/>
<script>
setInterval(function () {
document.getElementById('foo').focus();
},1);
</script>

 :)  the address bar is disabled...


---

Confirmed on Firefox 2.0.0.2pre Linux
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: