Window.opener problem in javascript

Hi,
I'm using a code for opening a clild window from the parent window. The child window contains some <input type="file"> elements. After setting the values of these file elements I'm closing the child window. But before closing I want to set the values of file elements to the file elements on my parent window.
The code I'm using is as follows:
"parent.jsp"
=========
function createWindow() {
window.open("child.jsp");
return false;
<form method="post" action="display.jsp" enctype="multipart/form-data">
<input type="button" value="Add Attachments" onClick="return createWindow()"><br>
<input type="file" name="file1"><br>
<input type="file" name="file2"><br>
<input type="file" name="file3"><br>
<input type="submit" value="Submit Form"><br>
</center>
</form>
"child.jsp"
========
function returnToMainWindow() {
window.opener.document.forms[0].file1.value = document.forms[0].filex.value;
window.close();
<form method="post">
<center>
<input type="file" name="filex"><br>
<input type="file" name="filey"><br>
<input type="file" name="filez"><br>
<input type="button" onClick="returnToMainWindow()" value="Done">
</center>
</form> The problem is when I'm setting the values of file control of child window to the file control of parent window using window.opener, it's unable to set up the values. Can someone rectify the problem in the code.

It is impossible to set the value of the file input thing. But if they realy want it in a popup, then you can try something like this:
-1. Put the attatchement list in a iframe
0. Open the parent file with some with somewhere a unique id (like a session id or something
1. Open your child page in a popup, give that uniqueid as parameter ("like child.jsp?id=<uniqueId>")
2. Use regular file input things in that popup, and replace the 'close' button by a submit button
3. Track the submit of the form, show a 'now uploading to server, please wait' message
4. The child page sends the attatchements to the server, stored in a tempory folder named <uniqueId> (store it in the form as a hidden input thing)
5. When the upload is ready, display some message 'files uploaded, close this window to return to your mail'.
6. When the user clicks that 'close' button, close the popup and then reload the attachment-frame
7. The attachment-frame just lists the files stored in that <sessionid> folder, and it seems like the user has added those files to it
If you want i can create an example of it
koentjepoppe
note: if you add the date to that unique id, you know when that folder is created and then you know wich folders you have to delete if the user aborts his mail for example (then those files are still in that folder wasting space)

Similar Messages

  • Window.open problem

    Good Morning,
    I am having problems with the window.open() syntax. My application has 14 pages and is in 3.2. I need the whole application open in a new browser window. I have tested the code with a blank screen on page 101 and it opens correctly. When I put in the actual URL, the window will open multiple windows, where I have to go into task manager and end all processes. Will I have have this code on each page?
    Code below:
    header
    function fullscreen_fun()
    window.opener=self;
    window.open=("f?p=&APP_ID.:101:&SESSION.","","height=350,width=350");
    window.close;
    </script>
    onload="javascript:fullscreen_fun()"I need the entire application open in a new browser window.
    Thanks,
    Mary

    I'm assuming you're talking about Solution 1 in that blog post. The reason that he opens the application's window from a temporary HTML page is to avoid the exact problem that you described initially. By having that code within your application, you're opening a new window to your application which then opens a new window to your application which then opens a new window to your application, etc. etc. Using Solution 1, you'd define a HTML page which opens a new full-screen window to your application, then the HTML page closes itself. You give only the URL to the HTML page to your users.
    If you don't want to use an intermediary temporary page, then Solution 3 is probably the next best - at least it doesn't rely on IE-only. It's simply telling the browser window to resize itself.
    I haven't tested these so I can't speak to any of their applicability. I strictly avoid tinkering with browser behavior via code anyway - it always, always, always leads to trouble. My only recommendation on that besides "don't do it" is to comment liberally, because I guarantee you'll be back in that code someday.
    But please, take a look at the database design too. Nothing you're attempting to do here is going to stop incomplete transactions from being created - only a good database design with solid referential integrity and constraints is going to do that.
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • Windows opening problem.

    i bought a nootbook, from italy by the name of compaq. VISION AMD, WINDOWS 7,  HP PREMIER EXPERIENCE, DUAL CORE AND AMD RADEONtm GRAPHICS. BUT problem is when i m trying to on my laptop. is showing is opening but few seccend later is coming blank. no respons. then i shutdown the leptop by holding switch, and agian i turn it on . and is showing two option 1. windows recommend and solving problem. 2. is windows opening normal. 
    and i put - num 1. then is takes long time to open the windows. and is like 2 to 3 days this heppening.
    now let me know what i have to do ., and please make it as soon as possible.  thanks.

    Could you please give me the exact model number of your notebook?
    You can use the following document if you need assistance in finding it.
    How Do I Find My Model Number or Product Number?
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • New window open problem

    hello
               here with i attached the vi , The main program named front pannel when i run , one error is coming the error image also attached. i want to display the xy graph as separate window when i called(i want to implement -  button press  ) and i want to close it again...like  that i want  to do.....any one give idea. how i want to do ,,...
    thanks.
    indrajit barve
    Indrajit
    | [email protected] | [email protected] .
    Attachments:
    test_1_2_3.vi ‏9 KB
    front pannel123.JPG ‏94 KB
    front_pannel.vi ‏25 KB

    sorry mike,
    here with i attached the vi. any how the error is coming..
    Indrajit
    | [email protected] | [email protected] .
    Attachments:
    FP Position and Size.vi ‏42 KB

  • Request.getParameter is NULL from window.open form submit

    Hi all,
    We have one portlet application where a jsp page has a link which opens as a child window using the window.open function in javascript.
    It has a form and some textboxes with a save submit button.When the save button is clicked the portlet processAction is called but when i try to set the renderrequest all the request.getParameters are null .I have tried both the ActionRequest and HttpServletRequest and both have nul values.
    As a result me Save is failing since the request.getparametrs are null.I added the "save" as part of form action URL and its getting passsed but the other, i am unable to fetch.
    My Form action is : <form name="saveEntries" id="saveEntries" action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">
    My process action code is :
    Enumeration<String> parameters = request.getParameterNames();
              while(parameters.hasMoreElements()) {
                   String parameter = parameters.nextElement();
                   String[] values = request.getParameterValues(parameter);
                   if(values != null && values.length > 1){
                        response.setRenderParameter(parameter, values);
                   } else {
                        response.setRenderParameter(parameter, request.getParameter(parameter));
                        if(request.getParameter(parameter)!=null && "save".equalsIgnoreCase(request.getParameter(parameter))){
                             HttpServletRequest httpRequest = (HttpServletRequest) request.getAttribute("javax.servlet.request");
                             Enumeration parameterNames = httpRequest.getParameterNames();
                             Enumeration<String> httpparameters = parameterNames;
                             while(httpparameters.hasMoreElements()) {
                                  String httpparameter = httpparameters.nextElement();
                                  String[] httpvalues = httpRequest.getParameterValues(httpparameter);
                                  if(httpvalues != null && httpvalues.length > 1){
                                       response.setRenderParameter(httpparameter, httpvalues);
                                  } else {
                                       logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :parameter:"+parameter);
                                       logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :request.getParameter(parameter):"+request.getParameter(parameter));
                                       response.setRenderParameter(httpparameter, httpRequest.getParameter(httpparameter));
    Any help is highly appreciated.

    Hello,
    One potential reason why it isn't working for you is that the Java Portlet specifications (JSR168 and JSR286) don't allow URLs to be manipulated once they are created with a a portlet:xxxURL tag. The reason for this is that the portlet container needs to be able to rewrite the URLs to properly go back through the portal framework (or over WSRP if running the portlet remotely) and to encode all the parameters needed. The portal framework could even change it from a URL to a Javascript action, where simply appending extra "&paramName=someValue" onto the end of the generated URL won't work. So this:
    <form action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">isn't legal by the portlet specification-- if you want to add parameters to the actionURL, you can by doing this:
    <form action="<portlet:actionURL secure="true"><portlet:param name="action" value="save"/><portlet:param name="_pageLabel" value="ABC"/></portlet:actionURL>" method="post">which will add the parameters to the URL in a way that will always work with the portal framework.
    One other thing to note- it looks like you're just trying to copy all of the action parameters in the request into render parameters in the response; this can be done much easier like this:
    response.setRenderParameters(request.getParameterMap());Kevin

  • How to simulate Javasript "window.open"?

    Hi,
    I am working on a GUI based on JATO. I am trying to
    create a window that pops up when the user clicks a button, leading to further UI interaction through that
    window(i.e.it has its own text fields, buttons,etc).
    How do I accomplish that in JATO? Before, I used to call
    the window.open() function in Javascript.
    thanks
    vignesh

    Vignesh,
    You would do the same thing, except your URL must be a valid JATO URL.
    See this JATO Tip at this link and ask more questions if you still have some. It's not exactly the same thing you need to do, but the techniques should apply:
    http://groups.yahoo.com/group/iPlanet-JATO-Tips/message/3
    craig

  • Problem with window.close and window.open

    I am having two suspected Actionscript problems which only seem to be happening with Flash player 9 and later.
    BACKGROUND:
    I have a client who needs browser-launched swf files to play from a CD-ROM (I do not want to use the Flash projector).  These files were created a few years ago using Actionscript 1 & 2 code and everything has worked perfectly until now.
    Here is the setup:
    First, an autorun file on the root of the CD runs and writes a 'trust file' to the 'Macromed' directory.  The autorun next launches 'index.htm' which is simply an html page containing a series of links (topic1.htm; topic2.htm; and so on). Next, let's assume the student clicks the 'topic1.htm' link from the 'index.htm' page.  The 'topic1.htm' link launches a web page (also located on the CD) which contains and displays 'topic1.swf'.  So far, everything works fine.
    Here is where the two problems happen.
    Problem 1:
    I have an 'Exit' button within each swf (remember each swf is contained inside an html page).  The 'Exit' button has always worked properly, but suddenly does not work in Flash player 9.  I am using the following Actionscript 2 code on the 'Exit' button:
    on (release) {
    getURL("javascript:window.close()");
    The 'Exit' button has always worked using this code (and still works in Flash player 8 and lower).  However, it does nothing when played using Flash player 9.
    Problem 2:
    There are links to html popup windows within the 'topic1.swf' file (remember 'topic1.swf' is contained inside 'topic1.htm').  Each popup window contains a swf file that is used to present a demonstration.  When the student clicks the 'demo1.htm' link from 'topic1.swf', an html popup window SHOULD load and display 'demo1.swf' inside the 'demo1.htm' window.  The main ('topic1.htm') window stays open so that the student can return to the topic after completing the demo.  This has always worked properly until Flash player 9.  Here is the Actionscript 2 code
    which I am using on the button inside 'topic1.swf' to launch 'demo1.htm':
    on (release) {
                getURL("javascript:launchWin2('webpage2.html');");
    ADDITIONAL INFO:
    'topic1.htm' contains the following code which is used to support the Actionscript code listed under 'Problem 2' above.
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    var padvar="";
    var childwind;
    function launchWin2(arg) {
    openWin2(arg);
    function openWin2(arg) {
    childwind = window.open(arg,"padwind2","menubar=no,location=no,status=no,scrollbars=no,width=750px,he ight=500px,left=0,top=0");
    //-->
    </SCRIPT>
    I would appreciate any help anyone can offer.  I am wondering if the problem has to do with a need to use ONLY Actionscript 3 code from Flash player 9 onwards.
    Thanks!
    Terry

    You may have '''Switched ON Caret Browsing'''. press '''F7 (on Mac: fn + F7)''' to toggle '''Caret Browsing ON/OFF'''
    * click '''Firefox''' button and click '''Options''' -> Advanced -> General -> remove
    Checkmark from '''Always use the cursor keys to navigate within pages'''
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox
    Check and tell if its working.

  • Problem with Javascript and opening a new page

    Hi,
    I'm developping a website with Java Server Faces.
    I've a problem with JavaScript.
    I have a table, and each row of that table, has a button, to display more information about that specific row. I want to display this information in a new window. For this I want to use JavaScript.
    The new window, of course, needs some information of the other window, to show the right data.
    The first time I click the 'more-information-button', it works perfectly, but from than on, he keeps showing the same information...
    Here is my jsp-page of the first page (the one with the table):
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
             <f:loadBundle basename="languages.MessageBundle" var="bundle"/>
            <html>
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>- UCV-Period -</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                        <h:dataTable binding="#{UcvPeriod.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd" rows="5"
                            style="left: 24px; top: 168px; position: absolute" value="#{UcvPeriod.dataTable1Model}" var="currentRow">
                            <h:column binding="#{UcvPeriod.column1}" id="column1">
                                <h:outputText binding="#{UcvPeriod.outputUcvPeriod}" id="outputUcvPeriod" value="#{currentRow['UCVPERIOD']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText2}" id="outputText2" value="#{bundle.ucvPeriod_columnHeader_ucvPeriod}"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{UcvPeriod.column11}" id="column11">
                                <h:commandButton action="#{UcvPeriod.btnDetails_action}" binding="#{UcvPeriod.btnDetails}" id="btnDetails" value="+" onclick="window.open('Details.jsp')"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText21}" id="outputText21" value=""/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Here is my action, when someone clicks on the 'more-information-button':
    public String bthnDetails_action() {
       Object s = outputUcvPeriod.getValue();
       BigDecimal ucvPeriod = (BigDecimal)outputUcvPeriod.getValue();
       this.getSessionBean().setUcvPeriod(new Integer(ucvPeriod.intValue());
       return "detail_ucvperiod";
    }Here is my constructor of the Detailspage.
        public Details() {
             this.txtUcvPeriod.setValue(this.getSessionBean().getUcvPeriod());
        }Here is the navigation part for this part of my faces-config.xml .
    <navigation-rule>
       <from-view-id>/UcvPeriod.jsp</from-view-id>
       <navigation-case>
           <from-outcome>detail_ucvperiod</from-outcome>
           <to-view-id>/UcvPeriod.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>Thx a lot....
    Anneke

    See the tutorial "Sharing Data Between Two Pages" at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/data_sharing_twopages.html and the FAQ "How can I pass data between pages without creating SessionBean variables in Creator?" at http://devservices.sun.com/premium/jscreator/standard/reference/faqs/technical/javasource/passing_data.html. Since you can open a new window when your button is clicked, the tutorial and FAQ will explain ways to pass your data to the new window.

  • Session problem in a new window created by window.open()

    hello,
    I have a drugsearch.jsp page, I sessioned an durgCollection object on this jsp page using session.setAttribute("drugCollection",drugCollection);
    there is a link on this jsp which will call a javascript to open a new window .
    here is the javascript to open another new window:
    function openReportWindow()
    window.open("/drug/Report.jsp","report", "toolbar,scrollbars,width=800,height=800,left=100,top=10");
    but in the Report.jsp, I won't be able to get the same session object as in the calling jsp ( drugsearch.jsp) by calling session.getAttribute("drugCollection").
    if I change the link on drugsearch.jsp to link to the Report.jsp directly instead of opening a new window, then I can get the same session object from the Report.jsp.
    what's the problem? can someone give me an advice?
    thanks

    A session is assosiated with one client(browser).
    when you open a new browser, a new session is created. In order to have common place for both the browsers, try storing the data in the 'Servlet Context'

  • Javascript window.open needs to always open in a new window

    I am tring to create a menu system. When the user selects an item, then clicks Open Application, I want them to be able to open the application in a new browser window with specific window prefs.
    I have added this javascript to my page html header
    function launchAbout() {
    about = window.open("&P2_URL.", "CAT", "&P2_WINDOW_PREFS.");
    return false;
    I then have a html region with the source as:
    A HREF="&P2_URL." onClick="return launchAbout()" <img src=/i/ocpa/open_app.jpg></A>
    When I click on open app, the first time the app will open in a new window, but the second time it will just change the already open window to the new app. If I create new function then the new function call will open in the new window, but the next time it will just refresh.
    It seems like this function only opens a new window the first time it is called. Does anyone have any ideas how to open a new window every time?
    Edited by: user531645 on Sep 24, 2009 7:33 AM
    Edited by: user531645 on Sep 24, 2009 7:38 AM

    I was able to fix my problem. I had to change the java script to this:
    function launchAbout() {
    about = window.open("&P2_URL.", "_blank", "&P2_WINDOW_PREFS.");
    return false;
    }

  • Javascript Issues with 'javascript:window.open'

    Hi guys,
    Really hoping someone can help out here. To set the scene I have detailed a similar example from the OEHR Schema based on the EMP table.
    I have a page defined with a classic report with all the contents of the EMP table, for example :
    HIREDATE | SAL | COMM | DEPTNO | MGR | JOB | ENAME | EMPNO |
    I have edited the column EMPNO report attribute so i can create a link from the EMPNO column, in the Column Link section i have defined the following attributes :
    Link Text : #EMPNO#
    Target : URL
    URL : javascript:window.open('f?p=&APP_ID.:28:&SESSION.::NO::P28_EMPNO:#EMPNO#');
    So in the URL i call the javascript function to open a new window, passing the Application ID, Page 28, Session ID and a parameter for the EMPNO.
    So far this all works fine, the new page opens which is also defined with a report region, however this time i pass the parameter item P28_EMPNO into the SQL to return just that row. I understand that from a security stand point this is probably bad practise however, at the moment this appears to be the only way i've managed to figure out how to create a pop up window passing parameters.
    The problem though is the original APEX page must be doing some sort of branch when the EMPNO link is passed, as the page refreshes with the following :
    The actual URL used is : javascript:window.open('f?p=101:28:2506768909457997::NO::P28_EMPNO:7369');
    and the page just displays : [object Window]
    Hope this makes sense.
    Thanks in advance

    Report your problem to Apple here: http://www.apple.com/feedback/ipad.html

  • 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

  • How to return a javascript window.open object

    Hi all,
    I am calling a javascript function to create a window using the External Interface from flex. The function call works and I get a popup window, but I want to return the window.open object that I just created so that I reuse the same window again. I do not want to keep an array of window objects on the javascript side and pass an index back and forth. There will be multiple popup windows that needs to be written to.Right now the return value from the External Interface call is undefined.
    Thanks for any help here.
    Jerry

    Hmmm sound like somthing has gon wrong
    if it dont even work local you may have don somthing wrong when instaling the action ??
    is the action corectly placed in (GoLive Application Folder) / Modules / JScripts / Actions / ???
    What version of GL are you using ??
    Nate's FAQ on golive action:
    http://www.mindpalette.com/actions/faq.php#Anchor-47857
    "3. Why don't my third-party actions work in GoLive CS2?
    Because of a bug in GoLive CS2, the JavaScript code from some third-party actions is not automatically added to GoLive's external script library when first used (usually GeneratedItems/CSScriptLib.js at the top level of your GoLive site). To fix, open your GoLive site window and right click on the GeneratedItems/CSScriptLib.js file and choose Update > Flatten Script Library from the contextual menu.
    This will force GoLive to update the script library to include all used action code. Re-upload the file to your server and the action should be working again. You may need to clear your browser cache to force the new file to load if you've recently visited the page"
    Mayby others have had problem with his action to Try see his forum:
    http://www.mindpalette.com/forum/index.php
    you may also try this:
    1 Open the action as if its a normal document
    2 make a small change
    3 save
    4 change back /remove the change
    5 save
    6 restart golive

  • Problem window.opener.doSubmit

    Hello,
    We have one application, say with URL
    http://localhost/some_app
    This is not an APEX application.
    On this application on click of a button we popup an APEX page (with public access) and when user clicks on "Ok" button of this APEX page we pop the page down and want
    to refresh the original application page. We do this by following javascript function from the APEX page
    function close(url) {
    window.opener.location.href = decodeBIURL(url);
    window.opener.doSubmit('REFRESH');
    window.close();
    We pass the url of the original application to this APEX page as one of the parameters.
    This works fine as long as APEX page has URL of the form http://localhost:8085/apex/f?p=101:3, i.e. original application URL and APEX URL both have same hostname part (in the example above localhost ), but moment they are differnet IE pops up another window for original URL.
    does anyone know fix to this problem?
    regards, Yora

    It is impossible to set the value of the file input thing. But if they realy want it in a popup, then you can try something like this:
    -1. Put the attatchement list in a iframe
    0. Open the parent file with some with somewhere a unique id (like a session id or something
    1. Open your child page in a popup, give that uniqueid as parameter ("like child.jsp?id=<uniqueId>")
    2. Use regular file input things in that popup, and replace the 'close' button by a submit button
    3. Track the submit of the form, show a 'now uploading to server, please wait' message
    4. The child page sends the attatchements to the server, stored in a tempory folder named <uniqueId> (store it in the form as a hidden input thing)
    5. When the upload is ready, display some message 'files uploaded, close this window to return to your mail'.
    6. When the user clicks that 'close' button, close the popup and then reload the attachment-frame
    7. The attachment-frame just lists the files stored in that <sessionid> folder, and it seems like the user has added those files to it
    If you want i can create an example of it
    koentjepoppe
    note: if you add the date to that unique id, you know when that folder is created and then you know wich folders you have to delete if the user aborts his mail for example (then those files are still in that folder wasting space)

  • 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.

Maybe you are looking for