Closed Bug 139575 Opened 24 years ago Closed 24 years ago

Requested window not opened on click

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla, Assigned: samir_bugzilla)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+) Gecko/20020419 BuildID: 2002041903 I have the option "Allow web pages to open unrequested windows" set to false in my preferences When using a plesk server, clicking PHPmyadmin does not open a PHP admin window. Turning the option off and clicking the button solves the problem. I dont know how to fix mozilla for this particular case, or indeed if its possible... After clicking the link, it gives the following code as the result... <body bgcolor='#ffffff' link=#000000 vlink=#000000 alink=#424242 leftmargin=0 topmargin=0 OnLoad='top.SetContext("db_edit"); top.helpPerm=true; phpMyAdmin()' onUnload='top.helpPerm=false; '> So I'm guessing that its the OnLoad event which is being blocked Reproducible: Always Steps to Reproduce: 1.turn the specified option off 2.Get access to a plesk server 3.click PHPmyadmin Actual Results: The window is not displayed Expected Results: The window should be displayed
That is exactly the technique used for popup ads, and that is precisely what is blocked by the unrequested windows pref. So things are working as advertised -- the unrequested window is blocked.
But the window IS requested... I clicked on the button marked "PHPmyadmin" which re-requests the current page and that onload event is inserted into the new copy of the current page
> But the window IS requested... No, a new page is requested. This new page opens a window as it loads. This situation is completely identical to the pop-up-ad situation that pref is designed to filter. There is simply no way to tell them apart.
based on Boris' comments (which I agree are right), resolving this as invalid. the way the plesk is working is exactly the same mechanism as a pop-up ad. the plesk code could do the same thing in a different way, but as it is, there's no way for mozilla to know the difference. Bob - you could achieve what you want by using mozilla's configurable security policies to disallow pop-ups to everywhere except the plesk. see http://www.mozilla.org/projects/security/components/ConfigPolicy.html for details (and if you need more info, ask in the user forums).
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.