X in window

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

    #1

    X in window

    Hi,
    There is any instruction in Java script for disable the X of the window to
    Explorer?

    Thanks!

    Fernando Uranga



  • Michael Winter

    #2
    Re: X in window

    On Tue, 9 Nov 2004 15:38:08 +0100, Pedrito Cueceleches <me@privacity.c om>
    wrote:
    [color=blue]
    > There is any instruction in Java script for disable the X of the window
    > to Explorer?[/color]

    No. Frankly, that would be stupid and a privacy risk ripe for exploit by
    pop-up spammers. Could you imagine a pop-up advert that could never be
    closed?

    Mike

    --
    Michael Winter
    Replace ".invalid" with ".uk" to reply by e-mail.

    Comment

    • kaeli

      #3
      Re: X in window

      In article <cmqkoh$7rq$1@n snmpen3-gest.nuria.tele fonica-data.net>,
      me@privacity.co m enlightened us with...[color=blue]
      > Hi,
      > There is any instruction in Java script for disable the X of the window to
      > Explorer?
      >[/color]

      Why?
      Answer that and you'll probably either find bad code or a workaround to what
      you need to do.
      If it's because you need to process info before the window is closed, use
      onUnload. If it's because you want to stop them from closing the window, you
      can't. They can just task-bar kill it if they really want to. Server-side
      code should handle the statelessness of the internet.

      Clarify what the problem is and we might be able to help.

      --
      --
      ~kaeli~
      The Bible contains six admonishments to homosexuals and
      three hundred sixty-two admonishments to heterosexuals.
      That doesn't mean that God doesn't love heterosexuals. It's
      just that they need more supervision.



      Comment

      Working...