119
rated 0 times
[
120]
[
1]
/ answers: 1 / hits: 17301
/ 10 Years ago, wed, november 12, 2014, 12:00:00
I am trying to write a JavaScript function that will work on Firefox 5.0. I need the page to fully load, and then close. What I'm trying to do is:
var temp = window.open(link);
temp.window.onload = function () {
temp.window.close();
}
But so far all it does is open the new tab, but doesn't close it.
Is there any way to successfully accomplish this?
More From » firefox