Window.close no longer working

Having found the following here on the forums a few months ago we have been successfully using it to close our web browser when exiting our forms application:
Web.show_document('javascript:window.opener=self;javascript:window.close();', '_self');
However, in the last week this functionality has stopped working - but only a few users PCs. Has anyone else experienced this? I'm sure its a browser setting (IE6), but which one?
Thankyou in advance.
Richard

I raised a TAR on this issue and have had the following response:
"Please check this article at Microsoft's site:
http://support.microsoft.com/default.aspx?scid=kb;en-us;330913
Microsoft Knowledge Base Article - 330913 You Can Only Use Trusted Documents to Open Other Documents in the My Computer Zone
"Because of the new security code checks, documents in the Internet zone cannot have access through hypertext reference (HREF) links or scripting to documents in the My Computer zone. Only documents located in the Trusted sites zone or the My Computer zone can access documents in the My Computer zone. Therefore, if you want to permit untrusted documents to access documents in the My Computer zone, you must add the source URL in the Trusted sites zone. Do so with caution and careful thought to prevent a potential security weakness."
Since web.show_document uses showDocument, this is the same problem you faced."
So, the use of Javascript to close the browser window is something that will no longer be supported in IE when issued through web.show_document? I'm deferring to your knowledge really as I don't quite understand the implications of what I am being told.
Richard

Similar Messages

  • Developer question. Upgraded to 6.0 - javascript:window.close() no longer works. Works OK in other browsers. Banners on popup windows also seem confusing.

    Popup windows no longer close using javascript:window.close(). Have to click the "X" to close the popup.

    I was able to fix the issue here. Steps Taken:  From the comand line I ran
    dscl /Search read /Users/jdoe HomeDirectory
    It returned # No such key: HomeDirectory
    This was the big clue.... it should have returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I unbound the Mac from AD and ran the following command in terminal.
    dscacheutil -flushcache
    I then went into OS X sharing preferences and renamed the computer slightly, so it would create a new computer record in AD. I rebound the machine to AD making sure in Directory Utility Advanced, under User Experience that Force local home directory on start up disk was unchecked and Network protocol to be used was AFP.
    I then ran
    dscl /Search read /Users/jdoe HomeDirectory
    and it returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I had the user reboot... which was necessary. When he logged in HomeSync fired up. He had quite a few conflicts, so I told him to select use files on this computer for all conflicts.
    I checked the FileSyncAgent.logs and it was good.
    Let me know if this fixes your issue.
    Thanks,
    Ray

  • The touch screen on my nearly brand new Pavillion lap top running windows 8 no longer works.

    The touch screen on my nearly brand new Pavillion lap top running windows 8 no longer works.  Cant use calibration tools as there's no response to touch.  No option in control panal to turn on or off touch capability.  I have no computer background so cant really get to technical.  Is something simple turned on or off located in some mysterious place?  F key or something?   Bad machine?  Thanks for any input.  Sarah

    http://www8.hp.com/au/en/drivers.html
    I found the driver at the above link.  I installed the driver, disabled my graphics card and rebooted.  The touchscreen worked.  Then I enabled the graphics card.  So far so good.  Hope I dont have to do this routine too often.
    Good luck with it.

  • Self.close() or window.close() both not working in iOS8.0.2 safari

    Both these function(self.close() and window.close()) are not working in safari.
    These methods are used to close the tab currently opened.
    So, if there is any workaround for this.

    if you have programming questions then you should likely post them in the developer forums rather than the normal forums
    Developer Forums

  • Now playing feature in windows messenger no longer works with latest iTunes

    I recently updated iTunes to version 7.1.1.5 but now the "Now Playing" feature in windows live messenger no longer works. I had no problem before the update. Any suggestions, as i find this rather annoying
      Windows XP  

    Download & install this security update:
    http://support.apple.com/kb/DL1489
    Software update should show it as available.

  • Printing to a Printer connected to a Windows PC no longer works

    I have been printing to an HP LaserJet 6L Printer connected to a Windows XP PC for quite some time now. But now when I try to print I get this error:
    Connection Failed with error
    NTSTATUSUNSUCCESSFUL
    My Mac is running Tiger 10.4.11 and is up-to-date with patches.
    My PC is setup for file and printer sharing. And when I right click on my printer on my Windows XP PC, I see that it is enabled for sharing.
    I am only running the Windows firewall and the ports are open for file and print sharing.
    I know that my Mac and PC can talk to each other. I can use my Mac to mount a Windows samba share and view pictures stored on my PC.
    I have not opened up any ports on my Mac running Tiger. I have never needed to in the past to print to a printer connected to a Windows PC.
    But why is my printing no longer working?
    Any ideas?

    I tried turning off the Mac firewall. It made no difference.
    I also tried to delete and re-add the Windows Printer. The Mac Printer setup Utility shows the Workgroup and Computer Name. But when I try to add the printer, it asks for a username and password. Originally my account on the Windows PC had no password, so I just entered the username with no password. No luck. So I added a password to the Windows user account and tried again no luck.
    I also tried using the ADVANCED approach (via holding down the Option Key when you click on More Printers) and manually adding the samba printer. No luck.
    I suspect the last Security Update to Tiger broke samba printing.
    I really don't won't to go the static IP approach but I may have to. Any other ideas?
    RobK.
    P.S. I do not have any special characters or spaces in my username, workgroup name or printer sharename.

  • Windows Aero no longer works,*FIXED*

    **************NOW FIXED, SEE POST 11 FOR INFO******************
    Hi all,
    Ok, well I noticed today that my aero system was no longer working (am left with the default solid pastel blues...  yuk) I am not sure when it happened as it only dawned on me when I was calibrating my screen but it cant have been more than a few days.
    My system:
    Q6600 Quad Core @ 3.2Ghz
    8 gig DDR3
    ATi 5870 1Gb DDR5
    Win 7 *Ultimate
    Things Ive tried:
    Windows Aero Glass visual effects are not working or displayed
    rolling back to an earlier video driver (using driver cleaner to ensure removal and fresh install)
    After that I have no clue...  The Aero themes are available to me, the background changes but the glass effects and color themes of the start bars and windows still stays the same, i.e. default solide pastel blues.
    Thanks for your time.

    My graphics card manufacturer is Intel.
    I was looking around for anything related to this issue this i found on Wikipedia.
    Requirements
    Microsoft has listed the following requirements for what they call a Vista Premium Ready PC. A PC that meets or exceeds these requirements will be able to use the new Aero technologies.<sup id="cite_ref-6" class="reference"></sup>
    Windows 7 Home Premium, Windows 7 Professional, Windows 7 Ultimate, Windows Vista Home Premium, Windows Vista Business, Windows Vista Ultimate, Windows Vista Enterprise. Aero is not available by default in Windows Vista Home Basic, Windows 7 Starter and
    Windows 7 Home Basic, although a workaround has been discovered allowing Vista Basic users to have transparency and blur effects, provided that their system meets the recommended hardware requirements.<sup id="cite_ref-7" class="reference"></sup>
    a 1 GHz
    32-bit (x86) or
    64-bit (x64)
    processor
    1 GB of system memory
    a
    DirectX 9 compatible graphics processor with a
    Windows Display Driver Model (WDDM) driver,
    Pixel shader 2.0 in hardware, and a minimum of 128 MB of
    Video RAM
    32 bits per pixel
    40 GB hard drive with 15 GB free space
    It got me wondering if the problem might lie with the WDDM driver or with the Aero files themselves i.e are they corrupted or just missing or for some reason Windows cannot verify that I have the correct version of Windows to run Aero ?

  • ISight on Bootcamp Windows 7 no longer working

    After upgrading to Lion OS X, my iSight no longer works on Bootcamp Windows 7. It formerly worked under Snow Leopard's Bootcamp Win 7.

    i would believe it might be the limiting of the number of programs during startup.
    do a msconfig and configure it to startup only windows item only. See if this makes any diference
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Window.open() & window.close () does not work in Portal application

    Hello All,
    I am trying to open & close a popup window from a weblogic portal. But the following don't seem to work in this environment. As a web application, it works fine.
    <netui:anchor action="DetailedWorkObject" target="<script @lang ='java'> window.open('IndividualWorkObjectDetails.jsp','null','resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR" value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I write this code but without success.
    Does any one know why is this happenning ? Please tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02 PM

    Not sure if anybiody answered this for you, or if you figured it out, but here you go. In the skins directory, the default skin contains a menu.js file which has the following function at line 232:
    function close(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    This function is overriding the inherent javascript close() function. Simply rename this to something else (I renamed it to closeItem) and rename the call to it at line 228 (setTimeout("close(tmpMenuItem)", tryClosePause);), and you're golden.
    The two functions should look like this:
    function tryClose(menuItem)
    if (!currentMenuItem)
    tmpMenuItem = menuItem;
    setTimeout("closeItem(tmpMenuItem)", tryClosePause);
    function closeItem(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    Hello All,
    I am trying to open & close a popup window
    opup window from a weblogic portal. But the following
    don't seem to work in this environment. As a web
    application, it works fine.
    <netui:anchor action="DetailedWorkObject"
    target="<script @lang ='java'>
    window.open('IndividualWorkObjectDetails.jsp','null','
    resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR"
    value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code
    opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I
    write this code but without success.
    Does any one know why is this happenning ? Please
    tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02
    PM

  • Windows Store No Longer Working

    Hello:  My new computer came with factory installed Windows 8.1.  About a week ago, my Windows Store app stopped working. I don't know why. The error message says I might need to refresh Windows, however I did not receive a Windows disk
    so I don't know what to do. Does anyone know how to fix this problem?  Thank you so much. Laurie

    Hi lovelylks,
    What is your current situation?
    Have you try the solution as britishdhez mentioned?
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Itunes on Windows Vista no longer works

    I recently purchased an ipod 80 gb player and was using it to transfer
    music from my cds with Itunes 7.1 on my vista 32 bit pc (HP Pavilion
    a1730n) for 2 weeks with no problems. I then started downloading some
    video podcasts onto my ipod using itunes and started to have problems
    with the operating system crashing in the middle of a download (the
    blue screen of death with pop up - causing me to reboot my computer by
    holding down the power button).
    Now itunes will not open up at all. When I try to open itunes I get a
    pop up informing me that "ITunes has stopped working A problem caused
    the program to stop working correctly. Windows will close the program
    and notify you if a solution is available." This message comes up
    everytime I try to open ITunes.
    I tried uninstalling both ITunes and Quicktime and then reinstalling
    but Itunes still will not open. I even tried a system restore, but
    that didn't work either.
    Has anyone else experienced this problem with ITunes and found a
    solution? Any ideas would be appreciated.
    thanks.

    i'm pretty sure that apple has not yet released a stable version of itunes for vista

  • [Solved] Alt-Tab window switching no longer working after update (JWM)

    The next issue I am trying to straighten out after a recent, long-overdue pacman -Syu, is the loss of window-switching functionality using the alt-tab key combination. This is under the JWM window manager, by the way. The alt key seems to work as expected when, for example, firefox has focus: if I hit alt left arrow, the browser goes back to the preceding page. But if I hit alt and tab together, say, in the browser or when a terminal has focus, it seems to be read as though I were pressing only the tab key. So, with two windows maximized on the desktop, the alt-tab combination does not toggle between them. If the terminal has focus I can see the cursor jumping over a tab space each time I press the key combination.
    Can anyone offers pointers on how I might resolve or begin diagnosing this issue? I should mention that another change I did in the wake of the update was to make the system log me in and start the GUI each time I boot the machine (as discussed at https://wiki.archlinux.org/index.php/St … h_profile). I'm not sure why that would have any effect but I thought I should mention it. I think this is just a pretty standard pc105 keyboard by the way.
    Input will be appreciated.
    Thanks,
    James
    Last edited by jamtat (2013-02-01 17:07:32)

    Thank you for your input, anonymous_user. I decided, on reading it, to compare my .jwmrc with the /etc/system.jwmrc file. I noted that, in my .jwmrc, the keybindings section was empty, while that section in the /etc/system.jwmrc had several entries--and even one that seemed to refer to the alt-tab key combination. So I copied that section into my .jwmrc, restarted JWM, and the key combination now seems to be working as it should. Granted, it's a bit strange in that it doesn't open some kind of dialog box with the names of open windows, showing you in list form the windows you're scrolling through. But it does take you to other open windows when, after you've hit the tab key one or more times, you release the alt key. So the issue is resolved and was pretty simple.
    James

  • Window.close doesn't work with Firefox

    I have used the code from the followinging reference on OTN to close my window:
    Closing brower window
    It works fine for IE, but not for Firefox. How can I make it work with Firefox?

    Hello,
    I use a couple of steps to get windows to close in Firefox. Firstly, I set win=top and win.opener=top, as below:
    function closeWindow()
    win=top;
    win.opener=top;
    win.close();
    But more importantly, you need to set a Firefox preference setting:
    Locate your Firefox preferences file - in Windows XP/2000, the path is usually C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 characters. Open the file prefs.js, and add the following line to the end of the file: user_pref("dom.allow_scripts_to_close_windows", true);
    Which is a bit fiddly, but the best way I've found so far...
    James

  • T500 - Windows Update no longer works after using factory recovery disks.

    I'm running  Windows 7 32bit.  I needed to restore my T-500 hard drive because of a fatal windows registry error caused by a 3rd party registry cleaner/tuner software... Windows 7 was DOA .   
    I used the factory recovery disks I created after I first fired up the laptop in April this year, all went well, Windows 7 booted up, and I went through the "Starting Widows for the first time" setup dialog, Windows 7 sucessfully activated... also verfifed it on the Microsoft website. 
    Went into control panel to have windows update pull down all of the critical updates released after I got my Thinkpad and I got a pop up saying "windows update cannot currently check for updates because the service is not running. You may need to restart your computer." 
    I checked... the windows update service is running, so is BITS.  Following suggestions from Microsoft support, I have 1)deleted the softwaredistribution folder from C:\windows, 2) run their "fixit tool", 3) renamed the CatRoot2 folder in C:\windows'system32, all to no avail each time I tried to use windows update after each "fix". 
    I decided to check here if anyone here has gone down this path before and ask what fixed it?
    I'm waiting for Microsoft support to reply to my last email informing them the last instructions to rename the CatRoot2 folder and retry windows update failed. They now have a copy of my windowsupdate.log file sent to them.
    How about it... does this situation sound familiar to anyone?
    Thanks.   

    I run into the same problem with fresh installation of W7 Pro on T530 with 1TB samsung disk.
    This solution worked for me:
        Running check for updates will trigger this error message:
    “Windows Update cannot currently check for updates, because the service is not running. You may need to restart your computer.”  
    Solution:
    1.    Go to Administrative Tools/Services, and stop the Windows Update service.
    2.    Then go to the folder c: /Windows/SoftwareDistribution and delete all of the files and folders.
    3.    Then go back to Services and restart the Windows Update service which will recreate all of those folders again.
    4.    Then manually run the Update Service and everything should work.

  • Windows Update no longer works after using Lenovo Enhanced Recovery

    Using the system recovery backup disk I created when I first got my T500, I performed a recovery to a new larger HD that I'm upgrading to. 
    All went well, windows booted up and I got the "Starting Windows for the first time" message and then I went through the setup wizard... Did everything like I did when first got the T500.  Windows 7 activation was successful
    Now here's the rub, I tried to use Windows Update retrieve all of the updates released since April when my laptop was built.  Windows Update flat out refuses to work. I keep getting a pop-up box saying "windows Update cannot currently check for updates, because the service is not running. You may need to start your computer".
    I checked the Windows Update service, it's running.  I've gone into the windows folder and deleted the software distribution folder as instructed by Microsoft support. They wanted me to also download and install a "CheckSUR"  tool from their support website, but the install falls with a a pop-up from Windows Update Standalone Installer with an error: 0xc8000247.
    Now this is all on the new HD, when I swap the older on back in there is no problem getting the updates.
    I'm stuck,  has anyone encountered this type of thing with Windows Update?  

    I executed the "fixit" in both modes at http://support.microsoft.com/kb/971058
    Windows update still refuses to work. All pertinent services are running.
    Since this is an attempt at installing a larger hd, I swapped back to the original drive and verified that windows update has no problems when running on the original HD.
    I've now started again from scratch. 
    I put the new  larger HD in a SATA/USB HD docking station that I just bought. I formatted the new HD clean, then instead of using the factory recovery disks like I did before, I used Acronis True Image, which I downloaded from the Western Digital support webpage, to clone the original HD over to the new one. 
    I powered off the laptop, pulled the original HD out and put the new HD in , unplugged the now empty SATA/USB HD docking station, booted up, windows starts and comes up with all looking fine, except... again, windows update still refuses to work. 
    I went back to the Microsoft website above, ran the fixit action in aggressive mode, and windows updates still gets the same result... When I open windows update in control panel, Windows Update is in red.  When I check for updates, I get the pop-up saying "Windows Update cannot currently check for updates, because the service is not running.  You may need to restart your computer". 
    A check of services shows that Windows Update, Cryptographic Service and Background Intelligent Transfer Service are all started.
    This is really frustrating... this should be a simple HD upgrade.   It appears that with whatever means that is used to copy or place an image of the original HD on the new HD, Windows 7 is not going to let me use update on the new drive.

Maybe you are looking for

  • Help with Button

    Hello I am working on a simple mortgage program. I can not get the program to compile correctly. The program is supposed to allow the user to input the amout of the mortgage and then select from a menu of loans: 7 year at 5.35%, 15 year at 5.5%, and

  • Timezone from portal user settings not used in DateNavigator

    Hi experts I'm facing a problem with DateNavigator component. There is a WDJ application that used with different timezones in NW Portal. In the app there is a DateNavigator which bound to the date context attribute. When user select some date in Dat

  • Edit metadata for pdf documents offline sharepoint

    How editing of metadata for non-MS office (example PDF) documents will be addressed in an SharePoint offline scenario?

  • Question about changes in currentRow

    Dear Community, In Creator 2004Q4 data tables you can use the "currentRow" in value binding expressions as currentRow['column']. Now with Creator 2, one must use currentRow.value['column']. I would like to know what else has changed about this. Can a

  • Background job for CM01

    Hi All, We need to be able to run CM01 Transaction in background and output the list to a text file instead of showing on the screen. The approach we took was made copies of CM01,CM0X, SAPMC65A etc and linked them appropriately. But when trying to ex