javascript closing window

Iron Forum for english speaking people

Post Reply
Eusebe
Posts: 1
Joined: Wed Oct 03, 2012 1:00 pm

javascript closing window

Post by Eusebe »

Hi,

Anyone able to explain why the following code works (current tab closed after clicking on the button) with Iron but not with a Chrome Portable I just downloaded ?

Code: Select all

<body>
    <input type="button" onclick="javascript:parent.close();" value="Close" />
</body>
</html>
I suggest this is because of a particular configuration, but I don't find which one.

Thanks a lot !
Post Reply