Hi,
I have a page that has a button "Exit and Close", which closes the
popup window that it has opened. This works fine under IE, NN, FF and
Opera but not Safari. Any ideas why? I even tried checking the
self.name property and this is returned blank in Safari. Any help
would be appreciated.
Cheers 7 10469 al******@gmail.com wrote:
Hi,
I have a page that has a button "Exit and Close", which closes the
popup window that it has opened. This works fine under IE, NN, FF and
Opera but not Safari. Any ideas why? I even tried checking the
self.name property and this is returned blank in Safari. Any help
would be appreciated.
Did you try window.close()?
On Feb 28, 2:31 pm, Harlan Messinger
<hmessinger.removet...@comcast.netwrote:
Did you try window.close()?
Yeah, same problem. Thing is that the self.close() seems to work on
some pages but not others......no idea why!? al******@gmail.com wrote:
Thing is that the self.close() seems to work on
some pages but not others......no idea why!?
Don't know about Safari, but last time I tested many browsers would not
allow window closure via script if the window had any history. Maybe
this would explain the discrepancy?
Osmo
On Mar 1, 5:08 am, Osmo Saarikumpu <o...@weppipakki.comwrote:
Don't know about Safari, but last time I tested many browsers would not
allow window closure via script if the window had any history. Maybe
this would explain the discrepancy?
Thats interesting, but I checked it out and the other windows that
would close also have a history, so I guess thats not it.
On Mar 1, 5:08 am, Osmo Saarikumpu <o...@weppipakki.comwrote:Don't know about Safari, but last time I tested many browsers would not
allow window closure via script if the window had any history. Maybe
this would explain the discrepancy?
Funny, adding the window-features property did the trick....window-
features="menubar=no,scrollbars=yes,resizable=yes, width=700,height=450"
anyone know why this would happen? al******@gmail.com wrote:
>On Mar 1, 5:08 am, Osmo Saarikumpu <o...@weppipakki.comwrote:Don't know about Safari, but last time I tested many browsers would not allow window closure via script if the window had any history. Maybe this would explain the discrepancy?
Funny, adding the window-features property did the trick....window-
features="menubar=no,scrollbars=yes,resizable=yes, width=700,height=450"
anyone know why this would happen?
Perhaps to keep malicious websites from closing windows that don't
"belong" to them, Safari doesn't let scripts close "ordinary" browser
windows opened without any special configuration parameters, but
considers windows opened with feature specifications to be special
windows that "belong" to the app and that the script is entitled to
close. This would extend further the protection offered by other
browsers that won't honor window.close() on a browser that was opened by
the user instead of by script. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marcia Gulesian |
last post by:
The following code works in I.E. (PC) but not Safari (Mac)
window.opener=self;
window.close();
What code will close the page when it runs in Safari?
|
by: metoikos |
last post by:
I've scoured the web (clumsily, I'm sure) for information on the
difficulties I am having, checked my markup in validators, and had a
friend with more CSS clue look over it, but I haven't had any...
|
by: Limbo |
last post by:
Hi,
Using the following code to fill a specific text box on a form with an image
file name. The code is called from a pop up window, fills a text box on the
partent window and then the pop up...
|
by: Will Hartung |
last post by:
Hi all,
I seem to be having an issue color matching between the cut up graphic
pieces and the block fill background colors on a Mac iBook running Safari.
Simply put, while the color are...
|
by: gokhvat |
last post by:
I am experiencing a strange cross-platform issue with my python
program.
I am using wxRadioBox to create radio buttons. When I run the python
code on a mac, everything works perfectly, but not...
|
by: =?gb2312?B?yMvR1MLkyNXKx8zs0cSjrM37vKvM7NHEsru8+7z |
last post by:
I wanna print the log to both the screen and file, so I simulatered a
'tee'
class Tee(file):
def __init__(self, name, mode):
file.__init__(self, name, mode)
self.stdout = sys.stdout...
|
by: Brad |
last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and
response.binarywrite to send content to the browser. This has worked great for years...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
| |