Как разрешть в firefox 5 javascript обращаться к окну предку с другим хостом по средствам window.opener?

How to allow JavaScript in firefox 5 refer to the window ancestor with another host on due window.opener?

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
*http://forums.mozillazine.org/viewforum.php?f=25
The helpers at that forum are more knowledgeable about web development issues.<br>
You need to register at the MozillaZine forum site in order to post at that forum.

Similar Messages

  • Why doesn't the replace option of JavaScript's window.open method work with FireFox 3 or 4?

    The photo html files on the Fanac Fan History project's website are now setup to be displayed properly when JavaScript is disabled and reformatted by a php script when JavaScript is enabled. The reformatting adds some features and positions each photo's caption and credits based on the width of the photo and the browser's page width. This worked well except that when a photo page was accessed the browser's back button wouldn't work properly. This was because I had failed to include the replace option in my windows.open statement. The statement now reads fileWindow = window.open(fileURL, "_self", "", true); and this has cured the problem with IE and the other browsers but it still doesn't work with FireFox.
    PS: You need to add "Always" to "This happened".

    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • Firefox windows opened by javascript fail

    I have a script that opens several windows. I've been using it for years. It worked just fine in all the iterations of Firefox 2 and Firefox 3. But in Firefox 4 there are two problems:
    1. There is no bookmark bar and nothing I do can make it appear. Firefox windows that I've opened from the menu or the initial window do not have this problem.
    2. When I right click a link to open in a new tab the new tab opens on the initial firefox window instead of the window in focus if that window was opened with a script.
    It seems that if a window is opened with a script, that Firefox doesn't fully recognize it. Here's the part of my script that opens a new window:
    function OpenWindo( URL ) {
    intWidth = screen.width - 100; //Adjust for the end of screen (don't know why?)
    intHeight = screen.height - 10; //Adjust for the Icon Bar at the bottom of the window.
    winprops = "toolbar=yes,location=yes,directories=yes,status=yes"
    + ",width=" + intWidth
    + ",height=" + intHeight
    + ",menubar=yes,scrollbars=yes"
    + ",resizable=yes,copyhistory=yes"
    + ",top=0,left=0"
    xyz=window.open( URL, "", winprops)
    Thanks for your help
    Ed

    Thanks for posting that solution!

  • I am showing firefox in my tray but when I click on it, it will not open to a full screen. I have been using it up until today without a problem in Windows 7

    When I put my mouse over the firefox icon in the lower tray it shows small pictures of the home page but when i click on these they will not open to a full page. I am using windows 7. This problem just started today. I can use internet explorer without a problem. Thanks for any assistance you can give. I contact HP and they said to contact your support as they only support internet explorer.

    below is what I get with the dev.jeffersonscher.com etc. url. But what do I do with this information? I can launch safe mode, but I still get only the 2" icon/window of Firefox.
    JavaScript Browser Tests
    navigator object properties
    navigator.userAgent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    navigator.appName = Microsoft Internet Explorer
    navigator.appCodeName = Mozilla
    navigator.appVersion = 5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
    navigator.platform = Win32
    DOM methods/collections
    if(document.getElementById) = true
    if(document.layers) = false
    if(document.all) = true
    window properties
    if(top.window.moveTo) = true
    if(top.window.moveTo(0,0)) =
    The following data is reported by a server running Microsoft IIS server and ASP:
    View selected http headers at <a href="svrvars.asp">svrvars.asp</a>

  • SSRS Action URL via javascript:void(window.open doesn't work in IE

    Hi,
    I am using the following code to open "google.com.au"
    in a pop-up window through SSRS Report -> Action -> URL 
    ="javascript:void(window.open('"+
    "http://www.google.com.au/" +
    "','_blank','scrollbars=true,status=true'))"
    The script work fine in Chrome and FireFox but not IE ( we are using IE 11.0 ), any idea what's going wrong?
    ( When we click on it ; Nothing appear in IE )
    Thanks.

    Hi Yu,
    1. We are using SQL Server SSRS 2008 R2 in IE 11.0.9600.17501 environment ( Means we already have the latest IE 11 Patch )
    2. Did you try put in Javascript in SSRS Cell -> Placeholder Properties -> Action -> URL?     
        i.e. ="javascript:void(window.open('"+ "http://www.google.com.au/" + "','_blank','scrollbars=true,status=true'))" 
    3. All reports are having the same phenomenon.
    4. I used F12 and tried IE7, IE8, IE9, IE10 all same ( ALL couldn't  POP UP window ).
    5. Please refer to attachment, I found out that when I go to Cell -> Right click -> Inspect Element & change
    target="_top" to
    target="_self" then the problem gone.
        BUT... how to set target="_self" in SSRS? 
    Regards,
    Frank

  • Can't write anything with javascript in a new window create dynamically with "window.open"

    I develop a website and an application in html/css/javascript and i have a problem.
    I need to open a new window with "window.open", and then change and modify the content dynamically with javascript in it. It works perfectly in Firefox 3.6 and lower but not in Firefox 4.
    In Firefox 4, the window is created, but it stay white with "about blank" as name.
    Do you have an idea of what I can do? Can I detect if the browser is Firefox 4, and if it is true, instead of "window.open", create a new tab? Can I change the content dynamically in it, and how?
    Thanks for your help
    Jonathan Donzallaz

    This forum focuses on end-user support. You can find more web development help on the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting. Also, it's helpful to post a link to a "test case" that demonstrates the problem.

  • Since I installed Firefox 3.6.3, every time I open Google Notifier, two Firefox browser windows open.

    I am running Firefox 3.6.3 on my Mac G5 and my MacBook.
    Since I installed Firefox 3.6.3, everytime I open Google Notifier, two Firefox browser windows open. This happens on both of my computers.
    This never used to happen before, in the earlier versions.
    How do I make it so that only one browser window opens?
    == This happened ==
    Every time Firefox opened
    == I installed Firefox 3.6.3 ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    I got this all screwed up too.
    hmm.. where to start?
    3.6 and 4.0 beta - really aren't intended to play well together.
    As has been mentioned above, they tend to write over each other.
    I managed to get both 3.6.15 and 4.0 beta 12 on the same machine.
    But, I had to do it several times.
    I got lucky by deleting everything Mozilla, then installing 4.0b12, then 3.6.15 - while making sure that each installed into a separate folder.
    I also took care to copy out a couple of BookMark BackUp files - just in case.
    My old 3.6# had become so bloated - and, Unstable - for Me, it was time.
    The bookmarks were all that I was still interested in.
    All the Plugins, Themes, AddOns, etc... had slowed the app to a crawl.
    So, I did as complete a wipe of Mozilla bloat code that I could, including profiles.
    I then did some registry cleaning.
    Then I installed 4.0b12 and 3.6.15.
    I can't open them both at the same time.
    If I open 3.6.15 first, then open 4.0b12 - the beta comes up as 3.6.15.
    If I open 4.0b12 first, then open 3.6.15 - the 3.6 comes up as the beta.
    This has a lot to do with both apps sharing the same default profile.
    I hope to drop down to one app in the near future.
    So, cobbling multiple profiles in order to diddle side by side apps - isn't worth it at this stage.
    For me, I can't open FF 4.0b12 when my virus protection is running. PCTools doesn't like some thing about the way FF4.0 wants to phone home when it opens.
    So, I can't commit to the 4.0b12, yet.
    3.6.15 was crashing on open too - until I uninstalled the feedback addon. - go figure -.
    Also, I can't get the 4.0b12 to start in safe-mode with the PCTools antivirus running.
    At the rater they are going, I don't see 3.6.# going away any time soon.

  • Ever since I updated to Firefox 7.0.1, it's takin twice as long for Mozilla to open and for websites to load. It's also started crashing more often. Is there anyway to revert back to the older versions?? I never had a problem with those..

    After the update to the newest version of Mozilla Firefox (7.0.1), it's taken the program twice as long to open and even more time for pages to load. I've also gotten error messages saying that the page can't be loaded, even though everything else I use (Skype, etc) is running fine and connected to the internet. I didn't have these issues with the older versions of Mozilla, so please put out a patch or something soon. Or if I could revert to an older version of Mozilla, I'd be just as happy.

    After the update to the newest version of Mozilla Firefox (7.0.1), it's taken the program twice as long to open and even more time for pages to load. I've also gotten error messages saying that the page can't be loaded, even though everything else I use (Skype, etc) is running fine and connected to the internet. I didn't have these issues with the older versions of Mozilla, so please put out a patch or something soon. Or if I could revert to an older version of Mozilla, I'd be just as happy.

  • I just started getting a new window opening upon each fresh opening of Firefox even though I closed it on the last shutdown and each time the website that opens is different.

    I usually leave several tabs and 1-3 windows open on shut down of Firefox so that I can have access to those sites when I restart Firefox. Recently I started getting an extra window opening when I start up with a website opening that I've never been to or am aware of. Each time I close that window out but it returns the next time with a different website usually trying to sell me something. Please help me get rid of this annoying encroachment.
    Thanks,
    Lucky

    Hi luckygriffen-
    If you are getting repeated unwanted windows opening with advertisements on them, it is likely you have some malware installed. This Support article will help you identify and resolve malware issues:
    [[Is my Firefox problem a result of malware]]
    Hope that helps!

  • Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL..

    Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL. However, if I right click on a link and select "Open Link In New Tab", the Tab shows URL in address bar. So it's working when it's a New Tab but not a New Window.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • When opening Apple Mail links 2 Firefox Windows Open, The top one is blank and the one behind it contains the web link page???

    Whether with previous version of Firefox, or new one (3.6.4), when I open an Apple Mail link, Firefox opens 2 windows. Top window is blank, window behind it contains web page for mail link that I hit. I can't find anything in preferences of mail or Firefox to resolve this issue.
    == This happened ==
    Every time Firefox opened

    I have discovered one solutionto my problem, which is not really convenient and is something I don't have to do with Safari 5 -- If I have Firefox open, but not a window open, then when I click on an Apple Mail link, only 1 window opens. But I don't always want to have my browser open, so this is kinda annoying. I'd rather not use Safari -- Firefox is so much better. Please fix this! Thanks.
    Brenda

  • Installed Adobe dlm add-on and now Firfox will not open. I see the process starting in Task Manager but no window opens. Unistalled Firefox then re-installed but still no luck. HELP ME!

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/793259]''
    I installed Adobe dlm add-on and now Firefox will not open. I see the process starting in Task Manager but no window opens. Unistalled Firefox then re-installed but still no luck. HELP ME! I do not want to use IE! I presume it has something to do with Adobe DLM as ever since then it is not working.

    I had this problem for a couple weeks as well and it was extremely frustrating considering we use firefox for all our company tasks. Here is the solution:
    First of all if you have no bookmarks you want to save, then go directly to step 7. If you want to save your bookmarks first, then follow these steps.
    1. Shut down the computer
    2. Reboot and open firefox
    3. Go to Task Manager, right click firefox.exe, and click END PROCESS TREE
    4. WAIT 30 SECONDS! Then Double-click the shortcut to try and open firefox again
    5.Repeat steps 3 and 4 until firefox finally opens (trust me, eventually it will)
    6. Once it finally opens, backup your bookmarks,
    7. Download a copy of firefox from there website
    8. Uninstall from programs menu and make sure to check the box REMOVE ALL COMPONENTS
    9. install the new copy and BOOM! it works
    If it doesn't work, you're an idiot. If you don't want to reinstall firefox, then you're out of luck. Good Luck!

  • My ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

    my ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Why does Firefox (3.6.12) try to access the Net as it starts, but before the Ffx window first shows & once more when the window opens, if I've set updates to manual and "about:blank" as my home page?

    I click to load Firefox (3.6.12). The Comodo firewall warns me that Firefox is trying to connect to the Net. I block it, because I've not asked Firefox to do that, at that point. Then, when the Firefox window opens, the firewall warns me, again, that Firefox is trying to access the internet. I block it then, too. Use of Firefox is completely uncompromised by me doing this - that much is clear.
    Surely, if I have turned off automatic updates and use "about:blank" as my browser startup page, Firefox has no need, and no place, attempting to connect to the internet until I ask it to, by clicking a bookmark in the Bookmarks toolbar, or until I type a URL into the address bar.
    What is Firefox trying to do? and how can I stop it from trying to do it?

    See [[Firefox makes unrequested connections]]

  • When I click on the - fire fox disappears from the task bar; it is still open but gone from the task bar, if I click on any icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Question
    When I click on the - to minimize fire fox, it does not close the window but the firefox icon disappears from the task bar; it is still open but gone from the task bar, if I click on any other icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

Maybe you are looking for

  • Error while Releasing the budget

    Hi Gurus, We had activated AVAC at budget release (Overall & Release) with Error at 100% budget consumption. I am doing cost planning at activity level (Assigned Component, which will be effective after Activity release). When I try to release the bu

  • Symbol \ cannot be displayed in tree view after publiched in BOE via infoview

    Post Author: fjiang05 CA Forum: General Hi guys, I created a crystal report for the system user. The report was grouped  by the system user's login name such as boe\name. The forware slash symbol was correctly shown in the crystal report tree view. B

  • Connection to ipod lost?

    I'm trying to sync my ipod to my computer to update my music. Everytime though it starts syncing then stops and says ipod cannot be synced because connection to ipod has been lost. I thought it was my cord so I switched that but I'm still getting the

  • How can i get the name of a symbol and pass to a variable?

    Hello! Is posible to get the name of a symbol and pass to a variable?? Thanks Sonia

  • Help importing a decompiled .chm file

    Hello, I was recently trying to decompile a .chm file (following the knowledge base instructions) and then importing that file into RoboHelp. The file appeared to decompile correctly, but when I loaded the project into RoboHelp, many images were miss