Is it possible to permanently change an html file with Javascript?

Asked

Viewed 103 times

-1

Change dynamically I know it is possible, but I wonder if it is possible to change an html file permanently with Javascript

1 answer

2


It is possible, if you are running Javascript in your back end via Nodejs.

But the question is to understand that you are wondering if it is possible to run a Javascript code on the user’s machine to change the source code that is on your server, and if this is the case, the answer is no. The user can at most make a request to the server so that the server is in charge of permanently modifying a file that is hosted on it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.