Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Needed javascript code...

    I want to know if any of you know where i can get the javascript code that will download and run the target its given' i have seen the code before if its a generated code could you also tell me what site i can have it generated at thx

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You mean download something off the internet?

    That would be as simple as:

    Code:
    window.location.replace("www.mysite.com/myFile.zip");
    UNDER CONSTRUCTION

  • #3
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    kinda

    i also want it to download the file then run it do u know that code

  • #4
    Regular Coder
    Join Date
    Dec 2003
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts
    without asking the user? I hope not!

    sorry, can't be done. Not with javascript... If your intention is to give
    someone a file off the internet, then my first reply should be enough...

    What are you exactly trying to do? there are ways arould a lot of things,
    but if you're trying to send a virus with javascript without telling the user,
    it can not be done...
    UNDER CONSTRUCTION


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •