Browser windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ewosch

    Browser windows

    Hi,
    is there a possibility to get the number or the names
    of open Browser windows ?
    I want to try to avoid double-opening of a page. My idea was to
    give the page a name and to check whether this name exists.

    thanks for help
    ewosch

  • Randy Webb

    #2
    Re: Browser windows

    ewosch wrote:[color=blue]
    > Hi,
    > is there a possibility to get the number or the names
    > of open Browser windows ?[/color]

    Only if your script opens them.
    [color=blue]
    > I want to try to avoid double-opening of a page.[/color]

    Don't use secondary windows and thats not a problem.
    [color=blue]
    > My idea was to give the page a name and to check whether this name exists.[/color]

    Thats a possibility, depending on how you are opening the pages.

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly

    Comment

    • Daniel Kirsch

      #3
      Re: Browser windows

      ewosch wrote:[color=blue]
      > is there a possibility to get the number or the names
      > of open Browser windows ?
      > I want to try to avoid double-opening of a page. My idea was to
      > give the page a name and to check whether this name exists.[/color]

      Usually if your opened window has a name and you open a new window with
      the same name, the allready opened window might be used.

      You may set the focus to your newly opened window so it will be shown on
      top of your current window, especially if it's allready open.

      Daniel

      Comment

      • ewosch

        #4
        Re: Browser windows

        Hi, answering to both:
        I open the new window with ctrl-n - then I have two windows with the
        same name.
        I fear there is no chance to avoid this.
        Wolfgang

        Comment

        Working...