Re: Javascript Signed Scripting Re: window.close question?
Jann, Thanks a million for the information. I'll look through it all soon. Regards, James Blaha Jann VanOver wrote: Mozilla has a write up on signed javascripting: http://www.mozilla.org/projects/security/components/signed-scripts.html There's an old (Netscape 4.0) article here: http://polaris.umuc.edu/~mgaylor/SignedScripts.html And some Netscape/Gekko notes at http://devedge.netscape.com/central/security/ AND http://devedge.netscape.com/viewsource/2002/bypassing-security-restrictions/ On 3/9/03 1:48 PM, James Blaha [EMAIL PROTECTED] wrote: Jeff, Jann Critz, Thank you all very much for your input and time. I¹m working on an intranet application so I¹m not worried about security for the user¹s browser. Jann do you know how this would be done in a secure, signed, scripting environment? If you do can you please email me an example if you have one handy otherwise I found a work around for my issue so I can put an end to this thread. Thanks again! Regards, James Blaha Jann VanOver wrote: On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Javascript Signed Scripting Re: window.close question?
I'll re-post this because it was about 4am when I posted and you may have missed this. You CAN do this without a signed script: Just change the window opener's reference to TOP and then you can close it. script window.open('popup.html','popWin','width=300,height=300'); window.opener=top; window.close(); /script This doesn't work on IE5 or Netscape 4.7x but it works on all other IE/NS variations. I saw this link yesterday while looking for some ActionScript reference. http://aspalliance.com/peterbrunone/impossible.asp HTH Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 8:41 AM To: CF-Talk Subject: Re: Javascript Signed Scripting Re: window.close question? Jann, Thanks a million for the information. I'll look through it all soon. Regards, James Blaha Jann VanOver wrote: Mozilla has a write up on signed javascripting: http://www.mozilla.org/projects/security/components/signed-scripts.html There's an old (Netscape 4.0) article here: http://polaris.umuc.edu/~mgaylor/SignedScripts.html And some Netscape/Gekko notes at http://devedge.netscape.com/central/security/ AND http://devedge.netscape.com/viewsource/2002/bypassing-security-restrict ions/ On 3/9/03 1:48 PM, James Blaha [EMAIL PROTECTED] wrote: Jeff, Jann Critz, Thank you all very much for your input and time. I¹m working on an intranet application so I¹m not worried about security for the user¹s browser. Jann do you know how this would be done in a secure, signed, scripting environment? If you do can you please email me an example if you have one handy otherwise I found a work around for my issue so I can put an end to this thread. Thanks again! Regards, James Blaha Jann VanOver wrote: On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Javascript Signed Scripting Re: window.close question?
Cool solution for an intranet! Thanks for the tip. Dave - Original Message - From: Joshua Miller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:35 AM Subject: RE: Javascript Signed Scripting Re: window.close question? I'll re-post this because it was about 4am when I posted and you may have missed this. You CAN do this without a signed script: Just change the window opener's reference to TOP and then you can close it. script window.open('popup.html','popWin','width=300,height=300'); window.opener=top; window.close(); /script This doesn't work on IE5 or Netscape 4.7x but it works on all other IE/NS variations. I saw this link yesterday while looking for some ActionScript reference. http://aspalliance.com/peterbrunone/impossible.asp HTH Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 8:41 AM To: CF-Talk Subject: Re: Javascript Signed Scripting Re: window.close question? Jann, Thanks a million for the information. I'll look through it all soon. Regards, James Blaha Jann VanOver wrote: Mozilla has a write up on signed javascripting: http://www.mozilla.org/projects/security/components/signed-scripts.html There's an old (Netscape 4.0) article here: http://polaris.umuc.edu/~mgaylor/SignedScripts.html And some Netscape/Gekko notes at http://devedge.netscape.com/central/security/ AND http://devedge.netscape.com/viewsource/2002/bypassing-security-restrict ions/ On 3/9/03 1:48 PM, James Blaha [EMAIL PROTECTED] wrote: Jeff, Jann Critz, Thank you all very much for your input and time. I¹m working on an intranet application so I¹m not worried about security for the user¹s browser. Jann do you know how this would be done in a secure, signed, scripting environment? If you do can you please email me an example if you have one handy otherwise I found a work around for my issue so I can put an end to this thread. Thanks again! Regards, James Blaha Jann VanOver wrote: On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: window.close question?
I used to think that the situation you want to happen was impossible until I found this link: http://aspalliance.com/peterbrunone/impossible.asp Matt Small -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 1:09 PM To: CF-Talk Subject: Re: window.close question? On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Javascript Signed Scripting Re: window.close question?
Mozilla has a write up on signed javascripting: http://www.mozilla.org/projects/security/components/signed-scripts.html There's an old (Netscape 4.0) article here: http://polaris.umuc.edu/~mgaylor/SignedScripts.html And some Netscape/Gekko notes at http://devedge.netscape.com/central/security/ AND http://devedge.netscape.com/viewsource/2002/bypassing-security-restrictions/ On 3/9/03 1:48 PM, James Blaha [EMAIL PROTECTED] wrote: Jeff, Jann Critz, Thank you all very much for your input and time. I¹m working on an intranet application so I¹m not worried about security for the user¹s browser. Jann do you know how this would be done in a secure, signed, scripting environment? If you do can you please email me an example if you have one handy otherwise I found a work around for my issue so I can put an end to this thread. Thanks again! Regards, James Blaha Jann VanOver wrote: On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Javascript Signed Scripting Re: window.close question?
Actually, you CAN do this without needing to change security settings. Just change the window opener's reference to TOP and then you can close it. script window.open('popup.html','popWin','width=300,height=300'); window.opener=top; window.close(); /script This doesn't work on IE5 or Netscape 4.7x but it works on all other IE/NS variations. I saw this link earlier today while looking for some ActionScript reference. http://aspalliance.com/peterbrunone/impossible.asp HTH Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 7:18 PM To: CF-Talk Subject: Javascript Signed Scripting Re: window.close question? Mozilla has a write up on signed javascripting: http://www.mozilla.org/projects/security/components/signed-scripts.html There's an old (Netscape 4.0) article here: http://polaris.umuc.edu/~mgaylor/SignedScripts.html And some Netscape/Gekko notes at http://devedge.netscape.com/central/security/ AND http://devedge.netscape.com/viewsource/2002/bypassing-security-restricti ons/ On 3/9/03 1:48 PM, James Blaha [EMAIL PROTECTED] wrote: Jeff, Jann Critz, Thank you all very much for your input and time. I¹m working on an intranet application so I¹m not worried about security for the user¹s browser. Jann do you know how this would be done in a secure, signed, scripting environment? If you do can you please email me an example if you have one handy otherwise I found a work around for my issue so I can put an end to this thread. Thanks again! Regards, James Blaha Jann VanOver wrote: On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: window.close question?
On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: window.close question?
You can do that if you opened the parent with javascript. However, any time you try to close the original window with js, it will complain -Original Message- From: Jann VanOver [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 1:09 PM To: CF-Talk Subject: Re: window.close question? On 3/7/03 10:30 AM, James Blaha [EMAIL PROTECTED] wrote: Hello All: JavaScript Question I need to have JavaScript code work for Netscape 4.7 to open a child window and close the parent and bypass the confirm message. [snip] You should not be able to do this unless you are in a secure, signed, scripting environment. Period. What you are asking invades the user's privacy. When you close the parent, you lose all their page history information -- this is why the confirmation message appears. The confirmation message will always appear if you programmatically try to close a window that the user opened. I am a bit shocked that the code you give doesn't launch a confirmation message in IE and Netscape 6-7. You must have your user privacy settings lower in those browsers. Can someone please send me an example? This code works in IE and Netscape 6-7 but not Netscape 4.7 !--- SCRIPT LANGUAGE = JavaScript { newwin=window.open(Login.cfm,_blank,... ) firstwindow = window.self; firstwindow.opener = window.self; firstwindow.close(); newwin.focus() } /SCRIPT --- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: window.close question?
oi James!! you should be able on the parent window to do window.opener = null; [code for open child window] self.close() /me thinks... it's been a while since i've mucked with it. Friday, March 7, 2003, 1:30:41 PM, you wrote: JB Hello All: JB JavaScript Question JB I need to have JavaScript code work for Netscape 4.7 to open a child JB window and close the parent and bypass the confirm message. Can someone JB please send me an example? JB This code works in IE and Netscape 6-7 but not Netscape 4.7 JB !--- SCRIPT LANGUAGE = JavaScript JB { JB newwin=window.open(Login.cfm,_blank,... ) JB firstwindow = window.self; JB firstwindow.opener = window.self; JB firstwindow.close(); JB newwin.focus() JB } JB /SCRIPT --- JB ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4