Closed Bug 441606 Opened 16 years ago Closed 16 years ago

Allowing pop-ups from the local drive

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 204285

People

(Reporter: junkmailsux, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

You are now chatting with philipp
philipp: hello & welcome to firefox live chat 
philipp: how can i help you? 
BATMan_Phln: This chat window keeps closing. This is the 6th time I’ve tried to ask this. I’ve also emailed support but haven’t received an answer yet.
1st I have a window that I want to pop up from my local drive file:///C:/Personal/My%20Webs/Weather%20PU/Weatherpu.htm and it’s being blocked. When I try to allow it in the ALLOWED SITES – POP-UPS window it won’t take the address and only allows “c” and continues to block the popup. I’ve tried “C*” and “*Personal*” but nothing works.
philipp: have you already tried "file:///C:" ? 
BATMan_Phln: Yep. After I click ALLOW it just puts the C in and nothing else.
BATMan_Phln: scheme:file is already there also but it's still being blocked
philipp: is the blocking pop-up file showing up? 
philipp: *bar 
BATMan_Phln: I'm not sure what you mean. Once I click on OPTIONS then I can click on "SHOW filename" and the window will pop up.
philipp: normally, when a pop-up is blocked, firefox is showing a info-bar at top of the page content that states, pup-ups are blocked... 
philipp: does it also appear on your local site? 
BATMan_Phln: Firefox show the title of the window. In the browser section it show. "Firefox has prevented this site from opening a pop-up window" When I click options I've tried to click on "Allow pop-ups for" and that does nothing. 
BATMan_Phln: If I click "Edit pop-up blocker options" and try to add the page, well, I've already told you the results of that.
philipp: try adding "file://localhost/C:/Personal/My%20Webs/Weather%20PU/Weatherpu.htm" once 
BATMan_Phln: OK Hang on
BATMan_Phln: When I click ALLOW it only enters "localhost"
BATMan_Phln: and it's still blocking it
BATMan_Phln: All other versions of Firefox have been just fine with this. As soon as I updated to ver. 3.0 I had problems.
philipp: i was referring to this forum entry: http://forums.mozillazine.org/viewtopic.php?f=38&t=663120&start=0&st=0&sk=t&sd=a - it was apparently changed in firefox 3 
BATMan_Phln: Well, as I said, scheme:file is already there and it's still blocking it.
BATMan_Phln: "Hi Frank,
I've found a way to allow local files to open popups!
If your local address reads: "file:///C:/example.html" extend it to "file://localhost/C:/example.html".
In the popup blocker configuration allow popups for localhost by adding this to the site list.
It worked for me!
Best Regards, Tom"
BATMan_Phln: It didn't work for me.
philipp: then you might wnat to file a bug report for it on: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided 


Reproducible: Always

Steps to Reproduce:
1.Click on file:///C:/Personal/My Webs/Weather PU/Weatherpu.htm
2.That runs this script...
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Weather Popper Upper</title>

<!-- START Popup Code -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Thanks to Nic Wolfe  http://fineline.xs.mw -->

<!-- Begin
function popup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'directories=0,status=0,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=390,height=305,left = 1280,top = 840');");
top.opener = self
top.close()
}
// End -->
</script>

<!-- END Popup Code -->

</head>

<BODY onLoad="javascript:popup('index.htm')">

</body>

</html>

3.(See DETAILS for further information)
Actual Results:  
(See DETAILS for further information)

Expected Results:  
1st Firefox window opens a pop-up then the 1st window closes.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.