is this possible ?....

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

    is this possible ?....

    can i place tons of javascript on a client machine say C:/xxx/JS and have
    the browser use them instead of getting it form my site ?

    examples are more than welcomed

    Yours,
    Mel


  • Cycloneous Echevarria

    #2
    Re: is this possible ?....

    You can, BUT if the user hoses that directory, your website becomes
    useless, especially if it is very dependant on the JavaScript.

    Cycloneous

    Mel wrote:
    [color=blue]
    > can i place tons of javascript on a client machine say C:/xxx/JS and have
    > the browser use them instead of getting it form my site ?
    >
    > examples are more than welcomed
    >
    > Yours,
    > Mel
    >
    >[/color]

    Comment

    • Ivo

      #3
      Re: is this possible ?....

      > Mel wrote:[color=blue][color=green]
      > > can i place tons of javascript on a client machine say C:/xxx/JS and[/color][/color]
      have[color=blue][color=green]
      > > the browser use them instead of getting it form my site ?[/color][/color]

      Before you post to the newsgroup, did you try some experiments?
      If so, what were your findings?
      If not, how dare you? Seriously.
      [color=blue][color=green]
      > > examples are more than welcomed[/color][/color]

      Well, it doesn't get any more exotic than this:
      <script type="text/javascript" src="C:/xxx/JS/myscript.js">al ert('File not
      found!');</script>

      "Cycloneous Echevarria", who wrote[color=blue]
      > You can, BUT if the user hoses that directory, your website becomes
      > useless, especially if it is very dependant on the JavaScript.[/color]
      please join the bottom-posters.

      Something else to keep in mind is that the local drive and the website from
      which the pages are coming, are different domains as far the browser is
      concerned. So cross-domain security restrictions apply. This needn't be a
      problem though.
      HTH
      Ivo


      Comment

      Working...