Check if a popup window is closed

Here’s what I suggest. in the popup you should have: <script type=”text/javascript”> function reloadOpener() { if (top.opener && !top.opener.closed) { try { opener.location.reload(1); } catch(e) { } window.close(); } } window.onunload=function() { reloadOpener(); } </script> <form action=”…” target=”hiddenFrame”> </form> <iframe style=”width:10px; height:10px; display:none” name=”hiddenFrame” src=”about:blank”></iframe> then in the server process you can return <script> top.close(); … Read more

local storage in IE9 fails when the website is accessed directly from the file system

Yeah, IE9 doesn’t support localStorage for local files. Not in any official documentation that I can find, but the same issue is described in this blog. You’ll have to either host the website externally, or find some other method of persisting data. [Support for HTML5-style local storage is still in beta in many browsers, anyway. … Read more

VBA Internet Explorer Automation – How to Select “Open” When Downloading a File

I have covered this extensively here. Topic: VBA/VB.Net/VB6–Click Open/Save/Cancel Button on IE Download window – PART I Link: http://www.siddharthrout.com/2011/10/23/vbavb-netvb6click-opensavecancel-button-on-ie-download-window/ and EDIT (IMP) If you are using IE 9 Do not forget to read PART 2 as it includes and covers the window structure of IE 9 download window Topic: VBA/VB.Net/VB6–Click Open/Save/Cancel Button on IE Download … Read more

How can I make SmartScreen Filter trust a self-signed certificate

To quote from MSDN’s website: Detractors may claim that SmartScreen is “forcing” developers to spend money on certificates. It should be stressed that EV code signing certificates are not required to build or maintain reputation with SmartScreen. Files signed with standard code signing certificates and even unsigned files continue to build reputation as they have … Read more