How launch a Local application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean-Michel

    #1

    How launch a Local application

    Hi,

    I'd like to launch a local application with a HTML page without any
    user popup validation, just a user click. I know that I can do it with
    a applet, ActiveX or a flash but I'd like manage it with on
    javascript. Do you know how?

    Thank you in advance.
  • Dennis Marks

    #2
    Re: How launch a Local application

    In article <bc1a640f.04042 90342.4aa9a7aa@ posting.google. com>,
    Jean-Michel <jmkhiat@yahoo. com> wrote:
    [color=blue]
    > Hi,
    >
    > I'd like to launch a local application with a HTML page without any
    > user popup validation, just a user click. I know that I can do it with
    > a applet, ActiveX or a flash but I'd like manage it with on
    > javascript. Do you know how?
    >
    > Thank you in advance.[/color]

    What would keep you from starting a disk maintenence program and
    deleting the entire disk?

    --
    Dennis Marks

    To reply change none to dcsi.


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    Comment

    • Gernot Frisch

      #3
      Re: How launch a Local application

      [color=blue]
      > What would keep you from starting a disk maintenence program and
      > deleting the entire disk?[/color]

      That brings up another question: What's the worst thing you can do in
      JavaScript?
      -Gernot


      Comment

      • Ivan Marsh

        #4
        Re: How launch a Local application

        On Thu, 29 Apr 2004 18:00:08 +0200, Gernot Frisch wrote:
        [color=blue]
        >[color=green]
        >> What would keep you from starting a disk maintenence program and
        >> deleting the entire disk?[/color]
        >
        > That brings up another question: What's the worst thing you can do in
        > JavaScript?
        > -Gernot[/color]

        Crash the machine.

        --
        i.m.
        The USA Patriot Act is the most unpatriotic act in American history.

        Comment

        • Richard Cornford

          #5
          Re: How launch a Local application

          Gernot Frisch wrote:[color=blue][color=green]
          >> What would keep you from starting a disk maintenence program and
          >> deleting the entire disk?[/color]
          >
          > That brings up another question: What's the worst thing you can do in
          > JavaScript?[/color]

          On a web browser, make anything important depend on its successful
          execution.

          Unless you meant: What is the most directly harmful/destructive thing
          you can do with javascript? Insofar as the above doesn't already cover
          that; there are security holes in some browsers that do allow scripts to
          do nasty things to the user's computer (mostly exploiting ActiveX), but
          they get patched. Crashing (or locking up) the browser isn't a very nice
          thing to do (almost all browsers can be deliberately crashed by a script
          one way or another), and consuming all of the available memory will
          usually bring a browser to its knees (along with the OS sometimes).

          Apart form that there are no shortage of anti-social things that can be
          done with scripts. How anti-social something is depends to some extent
          on the user's attitude and habits but popular candidates include:-

          1. Interfering with the context menu.

          2. Opening pop-up windows (especially advertising, surveys and
          other unwanted intrusions).

          3. Attempting to close the user's existing browser window
          (particularly if the attempt is successful).

          4. Opening windows with restricted features (chrome).

          5. Re-sizing and/or moving existing browser windows.

          6. Opening full screen windows. (or attempting to position new
          windows in stupid places, such as the middle of the desktop).

          7. Trapping the user into some action or sequence (usually filling
          in forms) by re-focusing HTML elements/window whenever the user
          attempts to do something else (which is more important to the
          user at the time, else they wouldn't want to do it).

          8. Modifying browser/control behaviour, keyboard shortcuts, etc,
          so that interactions do not produce the normal (expected) results.

          Richard.


          Comment

          • Gernot Frisch

            #6
            Re: How launch a Local application

            > 3. Attempting to close the user's existing browser window[color=blue]
            > (particularly if the attempt is successful).[/color]

            That's mean.
            [color=blue]
            > 6. Opening full screen windows. (or attempting to position new
            > windows in stupid places, such as the middle of the desktop).[/color]

            That's been solved in Firefox, phew!

            [color=blue]
            > 7. Trapping the user into some action or sequence (usually filling
            > in forms) by re-focusing HTML elements/window whenever the user
            > attempts to do something else (which is more important to the
            > user at the time, else they wouldn't want to do it).[/color]

            Ahrgh! I know that. And these "Back-Button" fixes, where dummies get
            trapped on a site. That's really mean!
            [color=blue]
            > 8. Modifying browser/control behaviour, keyboard shortcuts, etc,
            > so that interactions do not produce the normal (expected)[/color]
            results.

            Can it? Well, that's definitely not what I would allow it to do...

            As we're going OT here, one more Q: Cookies. Is there propably any
            cookie that tells my email address. Or in other words: Can a
            JavaScript get my email address without having me explicitly typing
            it?
            -Gernot


            Comment

            • Grant Wagner

              #7
              Re: How launch a Local application

              Gernot Frisch wrote:
              [color=blue]
              > As we're going OT here, one more Q: Cookies. Is there propably any
              > cookie that tells my email address. Or in other words: Can a
              > JavaScript get my email address without having me explicitly typing
              > it?
              > -Gernot[/color]

              I think there's a lot of confusion about what cookies are, and what they
              do. A cookie contains information sent to the client by the server, or
              information gathered by client-side script (assuming client-side
              scripting is enabled). Cookies can only contain information that:

              a) the server already knows about you (your IP address, your user agent,
              etc)
              b) information you have explicitly given to the server (ie - you entered
              your E-mail address in an input box and submitted a form, then the
              E-mail address could be stored in a cookie)
              c) information gathered by client-side script with all the limitations
              of scripting in whatever security environment you are operating in

              In other words, if client-side script or the server don't know your
              E-mail address (and they don't unless you *tell* them), then the E-mail
              address can't be stored in a cookie. Even if you provide your E-mail
              address to one server and it stores it in a cookie, other Web sites from
              other domains will have no access to the information stored in that
              cookie (assuming security is working the way it should in the browser,
              there are a number of known, unpatched vulnerabilities in Internet
              Explorer that would let one site access the cookies of another site if
              they know the precise location and name of the cookie file).

              --
              | Grant Wagner <gwagner@agrico reunited.com>

              * Client-side Javascript and Netscape 4 DOM Reference available at:
              *


              * Internet Explorer DOM Reference available at:
              *
              http://msdn.microsoft.com/workshop/a...ence_entry.asp

              * Netscape 6/7 DOM Reference available at:
              * http://www.mozilla.org/docs/dom/domref/
              * Tips for upgrading JavaScript for Netscape 7 / Mozilla
              * http://www.mozilla.org/docs/web-deve...upgrade_2.html


              Comment

              Working...