Closed
Bug 179075
Opened 22 years ago
Closed 22 years ago
Turning off "open unrequested windows" turns off prompt
Categories
(SeaMonkey :: Preferences, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 167559
People
(Reporter: mturyn, Assigned: bugs)
Details
The script below worked fine with Mozilla 1.1 when scripting preferences were
set such that unrequested windows wouldn't be opened by scripts. Under 1.2b
(2002-10-16.12) not allowing unrequested opens also keeps the below from opening
the prompt.
<script language="JavaScript">
var def ="http://www.slashdot.com" ;
q=prompt("New
URI/search?:","http://www.slashdot.com","http://www.slashdot.com","http://www.slashdot.com");
if((""+q)!="null"){
if ( q.indexOf(" ") != -1 ){
// Search if there are spaces here:
q='http://www.google.com/search?q='+escape(q);
} else if(q.indexOf("://") == -1 ){
q = "http://" + q ;
}
location.href = q ;
} else {
history.go(-1) ;
}
</script>
Comment 1•22 years ago
|
||
This will be fixed in 1.2final.
*** This bug has been marked as a duplicate of 167559 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•