Window open with same name - IE11- Windows Server 2012 R2

We have found that, the pop window opened is not closing in IE11/Windows Server 2012 R2, where as the same is working in other browsers and servers. Please find the attached sample code.
The sample code contains 2 buttons,
> "Click me"- on clicking this button, popup window will be opened.
> "Close me"- on clicking this button, popup window should be closed. But the popup window opened is not closing.
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction()
processingWindow=window.open("https://www.google.com", "test", "height=200, width=400, status=yes, toolbar=no, menubar=no, location=no");
function myClose()
processingWindow=window.open("", "test", "height=600, width=600, status=yes, toolbar=no, menubar=no, location=no");
processingWindow.close();
</script>
</head>
<body>
<p>Click the button to trigger a function.</p>
<button onclick="myFunction()">Click me</button>
<button onclick="myClose()">Close me</button>
</body>
</html>

Hi,
Fatman is correct... Google requires same origin to access their page methods.
Date: Wed, 18 Dec 2013 06:54:01 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=UTF-8
Server: gws
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Alternate-Protocol: 443:quic
<!DOCTYPE html>
<html>
<head>
<title>Window test</title>
<script>
var processingWindow;
function myFunction()
processingWindow=window.open('window_test.htm', "test", "height=200, width=400, status=yes, toolbar=no, menubar=yes, location=no");
function myClose()
//processingWindow=window.open("", "test", "height=600, width=600, status=yes, toolbar=no, menubar=no, location=no");
alert(typeof(processingWindow));
processingWindow.close();
</script>
</head>
<body>
<p>Click the button to trigger a function.</p>
<button onclick="myFunction()">Click me</button>
<button onclick="myClose()">Close me</button>
</body>
</html>
Tools>Internet Options>General tab, Tabbed browsing settings>check "Always open popups in new window"
Rob^_^

Similar Messages

  • Recently, whenever a pop window opens with a prompt the window has a tab, so I have to resize the window in order to click on the action "enter" or "save". How can I get rid of this?

    I'm a blogger and I use a web based text editor and when I input photos I have to click on a button that opens a popup where I put in the URL of the photo and have to hit "ok". In the last few weeks the pop up windows now automatically have a tab and I have to expand the window (resize) in order to click "ok". Considering that it only adds the tab AFTER I press paste/ctrl-v is so annoying and time consuming. It never used to do this before - what happened?
    This started around the time I installed stumbleupon toolbar but I'm not sure if they're related. I took the toolbar off my default browser window and it doesn't show up on the popups. But just thought I'd give that info in case it's causing it somehow?
    I don't know how to fix this :(

    You get an alert about resending POST data if you go back to a page that was previously requested from the server by submitting form data via a POST form.<br />
    Firefox can only make sure to get the same page by resending that POST form.<br />
    Firefox doesn't know what that form data means, so Firefox asks for confirmation before resending that form data as such an action can cause you to repeat an action and buy another item or post a message another time.<br />
    A way to prevent that pop-up is not to use the Back button, but to open links from a page that was requested from a server by sending a POST form in a new tab (window) with a middle-click or a Ctrl + left-click.<br />
    Then you can close that tab or window to go back.<br />

  • How to delete one existing file before uploading a file with same name?

    Hello everybody.
    I am uploading a file to Tomcat server. But, the problem is:
    i want to delete an existing file in the server, if i upload a fresh file with same name. In other words, "First check for the file with the same name in the server. If it exists, then delete existing file in the server and upload fresh one". If such file doesnot exist, then upload the file to server.
    I have given deleteonExit()
    but, for the first time when user is uploading, i want to check for the file with same name in the server.
    i am pasting the code here. please help:
    <!-- uploading the file -->
    <%
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
    DataInputStream in = new DataInputStream(request.getInputStream());
    int formDataLength = request.getContentLength();
    byte dataBytes[] = new byte[formDataLength];
    int byteRead = 0;
    int totalBytesRead = 0;
    while (totalBytesRead < formDataLength)
    byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
    totalBytesRead += byteRead;
    String contextRootPath = this.getServletContext().getRealPath("/");
    contextRootPath=contextRootPath.concat("uploaded");
    String file = new String(dataBytes);
    String saveFile = file.substring(file.indexOf("filename=\"") + 10);
    saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
    saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
    // Create a directory; all ancestor directories must exist
    File outputFile = new File(contextRootPath, saveFile);
    var=outputFile.getPath();
    outputFile.createNewFile();
    int lastIndex = contentType.lastIndexOf("=");
    String boundary = contentType.substring(lastIndex + 1,contentType.length());
    int pos;
    pos = file.indexOf("filename=\"");
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    int boundaryLocation = file.indexOf(boundary, pos) - 4;
    int startPos = ((file.substring(0, pos)).getBytes()).length;
    int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
    FileOutputStream fileOut = new FileOutputStream(outputFile);
    fileOut.write(dataBytes, startPos, (endPos - startPos));
    fileOut.flush();
    fileOut.close();
    outputFile.deleteOnExit();
    %>Please help. Thanks for taking time.
    Regards,
    Ashvini

    Thank you MartinHilpert,
    I have one more doubt,
    I am uploading the file to one folder called "uploaded". Before uploading a fresh file, i want to delete all existing files in that folder. IS that possible ?? If yes, can you please tell me how to do that ??
    Regards, Thanks for your time.
    Ashlvini

  • Can anyone tell me how to get rid of tlb search? it unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    Can anyone tell me how to get rid of tlb search? It unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Finder window opens with inconsistent view

    Since I upgraded to Yosemite, Finder windows open with inconsistent size, position and view. After a power on a Finder window generally opens as a small, centrally-located window in Icon view even though preferences is set to always open in column view; sometimes the small window is in column view. Rarely, the first new window opens in the same size, position and view as the last one was before power off then the next one - opened using Command-N - opens as a small, central window in Icon view. In all previous versions of Mac OS, new Finder windows opened in the same size, position and view as the window I closed last on screen, even after a power off/on. Once I reset the window size, position and view to my preference, new windows generally open correctly.
    Is there some setting I can change so new windows always retain the size, position and view as the last one closed?

    Do a backup. 
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.finder.plist.  Move the .plist to your desktop.
    Re-launch Finder by restarting the computer and test. If it works okay, delete the plist from the desktop.
    If the same, return the .plist to where you got it  from, overwriting the newer one.
    Thanks to leonie for some information contained in this. 

  • Firefox is adding advertising links to certain words on my website cornish-surfing.co.uk, and when I open a new tab an additional window opens with unwanted sit

    Firefox is adding advertising links to certain words on my website cornish-surfing.co.uk, and when I open a new tab an additional window opens with unwanted sites.
    1. How can I stop these things from happening?
    2. Why is it happening?
    These things only happen when I’m using the Firefox browser. I use Sophos antivirus and firewall and the scans indicate my system is clean. So I’m assuming that it’s built into Firefox or there’s a security flaw with Firefox.
    Can you let me know which and how I can stop it from happening?
    Graham Jappé

    hello, this sounds like a problem possibly caused by adware on your pc (certainly nothing that is shipping with a plain official firefox build).
    please go to ''firefox > addons > extensions'' & remove any suspicious entries (toolbars, things that you have not installed intentionally, don't know what purpose they serve, etc). also go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and run a full scan of your system with the security software that you have in place and different other tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Remove a toolbar that has taken over your Firefox search or home page]]
    [[Troubleshoot Firefox issues caused by malware]]

  • Every time i open up a window another window opens with 8 tabs & it states Index of file:///C:/Program Files (x86)/Mozilla Firefox/.. They open constantly I searched on google but no help.. What should i do

    every time i open up a tab with fire fox other window open with 8 tabs each & y=they all state ::
    Index of file:///C:/Program Files (x86)/Mozilla Firefox/
    I tried searching on google but no help.. what do i do??

    Hello Susanne.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • How to copy the photo with file name at window 7 and search specific one in iphone 4s?

    How to copy the photo with file name at window 7 and search specific one in iphone 4s?

    Clendenen02 wrote:
    2) It would be equally helpful if there was something that would take the name of the picture file and spotlight comment, copy and paste it to a movie file's comments with the same name but obviously has different extention. For an example
    In a Pictures folder
    Name: Dark Knight, The.jpeg       Comment: (2008) Genre: Action...             <- copy comment
    In a Movie Folder
    Name: Dark Knight, The.m4v       Comment:                                               <- paste 
    and do this for all 700 files
    This Bash script will do it.
    Edit "PicDir" and "MovDir" to the location of your Folders
    (Note: The comment is written to the m4v file using xattr, so the Spotlight comment field appears blank in Finder, but the comment metadata is still indexed by Spotlight (If you add a Spotlight comment from Finder, it is stored both as an extended attribute and in a .DS_Store file)
    #!/bin/bash
    PicDir=$HOME/Desktop/Pictures
    MovDir=$HOME/Desktop/Movies
    for f in $PicDir/*
    do
         if [ ! -d "$f" -a "${f##*.}" == "jpeg" ]; then
              comment=$(mdls -raw -name kMDItemFinderComment "$f")
              if [[ $comment != "(null)" ]]; then
                   picname=${f##*/}
                   movname=${picname%.*}.m4v
                   if [ -e "$MovDir"/$movname ]; then
                         xattr -w com.apple.metadata:kMDItemFinderComment "\"$comment\"" "$MovDir"/$movname
                   fi
              fi
         fi
    done

  • I can no longer edit song and album information in iTunes. I right click on the album, the window opens with "get info", "rating", etc., but none of it operates. What did I change to make it stop working?

    I can no longer edit album or song information in iTunes. I right-click on the album (or song), and the window opens with "get info", "rating", etc., but none of it operates. It won't get or save album art, anything. What have I changed to make it all stop working?

    You are describing an iTunes problem, not an iPod touch problem. Try posing in the iTunes forum.

  • I cannot able able to start my macbook and then i started my mac in a recovery mode now mac os X utility window opens with 4 options 1. Restore From Time Machine Backup 2. Reinstall Mac OSX 3. Get Help Online 4. Disk Utility if i try to restore my mac wit

    i cannot able able to start my macbook and then i started my mac in a recovery mode now mac os X utility window opens with 4 options 1. Restore From Time Machine Backup 2. Reinstall Mac OSX 3. Get Help Online 4. Disk Utility if i try to restore my mac with time machine no option appears if i reinstall from Mac OSX error comes and cannot able to recover from disk utility please help how can i reinstall mac OSX

    Guitar21,
    your MacBook Pro has booted into its Recovery mode. From the OS X Utilities menu, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it get to the login screen now?

  • Upon firefox update this morning, every window opens with error: CaptureMovieFox could not be initialized. Some files of the extension may be missing or there is a problem with the Firefox.

    upon firefox update this morning, every window opens with this error in a popup: ''CaptureMovieFox could not be initialized. Some files of the extension may be missing or there is a problem with the Firefox.''
    when I close the popup, the original window opens seemingly without issue.

    http://getfirebug.com/releases/firebug/1.8/
    visit this and find the compatible version of this f***ing firebug. which certainly has nothing to do with us (not-programmers). i have been having this problem for months but now the last link worked for my firefox 6. Find yours here.

  • When download attachments, a window opens with a proposal to save the file HdFileDownloadServlet ?????

    When download attachments, a window opens with a proposal to save the file HdFileDownloadServlet ?????

    Does this also happen on this forum page?
    If not then please post a link to a web page where this happens.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • My school has a website.  The professor uploads files in Word.  When I click on the link at home using Pages, the download window opens with nothing in it and Safari opens with a blank in the address book.  What Could be wrong?  Wrong set up?

    My school has a website.  The professor uploads files in Word.  When I click on the link at home using Pages, the download window opens with nothing in it and Safari opens with a blank in the address book.  What Could be wrong?  Wrong set up?

    Hi Jo,
    If I'm interpreting this correctly, the Word file downloads correctly, but when you open it in Pages, the link(s) which your instructor has embedded in the Word file are not correctly translated into Pages.
    If the link shows the actual address, you should be able to copy that and paste it into the location bar in Safari, press return, and get to the website that way.
    An alternate route might be to download one of the open source Office applications, OpenOffice.org, LibreOffice, or NeoOffice. These are written to more closely emulate the behaviours of MS Word than Pages, and may provide better support for links embedded in Word files.
    Regards,
    Barry

  • Hi, All my music files have an exclamation mark on the left and when I tunes asks me to locate a window opens with I Tunes folders but I still cant see my music library . What can i do? Thanks

    Hi, All my music files have an exclamation mark on the left and when I tunes asks me to locate a window opens with I Tunes folders but I still cant see my music library . What can i do? Thanks

    The red exclamation mark indicates that itunes cannot find your files.
    Are the music files still on your harddrive. Look n Finder
    Username/Music/iTunes/iTunes Media
    If the files are there then keep the option key pressed and open iTunes. A dialog box will open asking you to choose your library. Select Choose and then navigate to the Music/iTunes Folder and click OK

  • I want to email some photos, after i click send, a warning window opens with no text. help?

    i want to email some photos, after i click send, a warning window opens with no text. help?

    No way to help without you actually sharing details
    does it involve iPhoto for the Mac in any way? If so how? What version of iPhoto and of the OS? What is the exact error message? What email client do you use with iPhoto?
    LN

Maybe you are looking for

  • Attachment Types in Forms

    We have an Attachment Type in F&P . Is there a way to control the list of Attachment types? Where is this setting done? Also can this be controlled based on forms? For example Separation I need 3 attachment and Personal Data another set of attachment

  • Using Crop results in Rescale

    I've been trying to crop my project using Modify > Rescale project. I select a smaller size, and then select Crop. I click Next, select the Crop position, click Apply to All Slides, and then click Finish. The result is a rescaled project, not a cropp

  • Data Integrator and BMC Control-M scheduler

    Hi, anyone have experience, indications or suggestions on if and how the Data Integrator jobs can be scheduled from Control-M scheduler using the SNMP protocol adapter? Thanks, Renato Edited by: Renato Nardelli on Sep 22, 2009 3:58 PM

  • Is 54 Degrees C safe for a CPU on 2011 macbook pro?

    I have been having multipled overheating problems with my Macbook pro for about 9 months now. I regularily check the CPU heat and it shows an average of 54 degrees C with minimal app usage for about an hour. Also my charger seems to become scolding h

  • Alternative to roadmovie for converting avi files to ipod format.

    Hey all, I am currently using roadmovie to convert my avi files to the ipod format. I like it, because it can do batch converts. Unfortunately, when I put some files to be converted, it always crashes after the first one. I was wondering if anyone kn