Window.close() not working in firefox

Discussion in 'ASP .Net' started by Laurahn, Jun 11, 2007.

  1. Laurahn

    Laurahn Guest

    The function javascript:window.close() is not working in firefox.
    how do i close browser window in firefox.
     
    Laurahn, Jun 11, 2007
    #1
    1. Advertising

  2. is this all happening in the same window? Firefox does not allow scripts to
    close the same window. if you opened a separate window via script, then that
    should work.

    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short urls & more: http://ittyurl.net




    "Laurahn" wrote:

    > The function javascript:window.close() is not working in firefox.
    > how do i close browser window in firefox.
    >
    >
    >
     
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=, Jun 11, 2007
    #2
    1. Advertising

  3. On Jun 11, 8:55 pm, Peter Bromberg [C# MVP]
    <> wrote:
    > is this all happening in the same window? Firefox does not allow scripts to
    > close the same window. if you opened a separate window via script, then that
    > should work.
    >
    > -- Peter
    > Site: http://www.eggheadcafe.com
    > UnBlog: http://petesbloggerama.blogspot.com
    > Short urls & more: http://ittyurl.net
    >
    >
    >
    > "Laurahn" wrote:
    > > The function javascript:window.close() is not working in firefox.
    > > how do i close browser window in firefox.- Hide quoted text -

    >
    > - Show quoted text -


    FYI
    http://www.interwebby.com/blog/2006/02/04/3/
     
    Alexey Smirnov, Jun 11, 2007
    #3
  4. Nice! That got bookmarked.
    Peter
    --
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short urls & more: http://ittyurl.net




    "Alexey Smirnov" wrote:

    > On Jun 11, 8:55 pm, Peter Bromberg [C# MVP]
    > <> wrote:
    > > is this all happening in the same window? Firefox does not allow scripts to
    > > close the same window. if you opened a separate window via script, then that
    > > should work.
    > >
    > > -- Peter
    > > Site: http://www.eggheadcafe.com
    > > UnBlog: http://petesbloggerama.blogspot.com
    > > Short urls & more: http://ittyurl.net
    > >
    > >
    > >
    > > "Laurahn" wrote:
    > > > The function javascript:window.close() is not working in firefox.
    > > > how do i close browser window in firefox.- Hide quoted text -

    > >
    > > - Show quoted text -

    >
    > FYI
    > http://www.interwebby.com/blog/2006/02/04/3/
    >
    >
     
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=, Jun 12, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF1bA==?=

    not sure why close window function not working

    =?Utf-8?B?UGF1bA==?=, Nov 23, 2004, in forum: ASP .Net
    Replies:
    14
    Views:
    1,173
    =?Utf-8?B?UGF1bA==?=
    Nov 29, 2004
  2. Replies:
    6
    Views:
    8,844
    sateeshranga
    Aug 7, 2008
  3. Iñaki Baz Castillo
    Replies:
    7
    Views:
    874
    Iñaki Baz Castillo
    Jan 12, 2010
  4. Shang Wenbin

    close current window using window.close()

    Shang Wenbin, Sep 1, 2005, in forum: Javascript
    Replies:
    10
    Views:
    382
    Gérard Talbot
    Sep 2, 2005
  5. hyejin
    Replies:
    8
    Views:
    346
    Martin Honnen
    Aug 29, 2006
Loading...

Share This Page