How can I read a local file using Javascript?

  • 0
    Good evening, I bought the swSpyBrowser program, it is needed to create multi accounts. This automation program supports JavaScript to automate actions on your site.

    And I am facing the problem, I cannot get the contents of the local file into a variable.


    Please help me take the text from "D: \ test.txt" and display it via alert, then I'll figure it out. Thank you in advance!
    JavaScript Anonymous, Mar 6, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!