Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

279
Views
Cómo escribir y leer archivos en el navegador JS como vscode.dev

Quiero leer y escribir archivos con el permiso del usuario. Como aquí y aquí

Probé FileHandlerApi y muchas cosas.

solo quiero hacer algo asi

 <!DOCTYPE html> <html> <head> <title>File permission web</title> <script> const reqPerm = () => { // Code to request permission ( Write and Read ) }; const createFile = (fileName) => { // Code to create File }; const deleteFile = (path) => { // Code to delete file }; const editFile = (path, content) => { // Code to edit file }; const viewFile = (path) => { // Code to view file }; </script> </head> <body> <center> <h1>File permission</h1> </br> <button onclick="reqPerm()">Get permission</button> </br> <button onclick="createFile('hello.txt')">Create file</button> </br> <button onclick="deleteFile('/home/runner/renne/hello.txt')">Delete file</button> </br> <button onclick="editFile('/home/runner/renne/hello.txt', 'hellomg')">Edit File</button> </br> <button onclick="viewFile('/home/runner/renne/hello.txt')">View file</button> </center> </body> </html>

El problema es que no sé cómo solicitar permiso, ¿hay alguna API o alguna forma? Creo que es posible porque vscode.dev puede hacerlo en Chromebook, Windows, Linux, etc.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!