window.close in FireFox

S

Sonnich

Hi all!

I have this in IE:

<input type="button" class="box" value=" Close "
onClick="window.close();">

but it does not work in FireFox.
Can anyone tell me why

Sonnich
 
P

Paul Lautman

Sonnich said:
Hi all!

I have this in IE:

<input type="button" class="box" value=" Close "
onClick="window.close();">

but it does not work in FireFox.
Can anyone tell me why

Sonnich

Did you try Googleing window.close firefox
I did and found the answer immediately.
Takes a look at http://www.interwebby.com/blog/2006/02/04/3/
and there are other hints returned from that google search
 
V

Vincent van Beveren

Paul said:
Did you try Googleing window.close firefox
I did and found the answer immediately.
Takes a look at http://www.interwebby.com/blog/2006/02/04/3/
and there are other hints returned from that google search


Paul,

Isn't this a security issue? I mean, it should not be possible to close
a window you didn't open. I find the solution very creative though.

Vincent
 
P

Paul Lautman

Vincent said:
Paul,

Isn't this a security issue? I mean, it should not be possible to
close a window you didn't open. I find the solution very creative
though.
Vincent

I don't look after FireFox's security so you're asking the wrong person.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,080
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top