jeudi 4 mai 2017

javascript source code change detection

I'm wondering if there is a way to detect the source code of javascript file that I'm using on my web site has changed? I am using ajax inside of it and I feel like it should me more secure since the code could easily be changed. I can do something like everytime the php file opens it could download the js file and check manually if code has changed with the help of some if else structures. But would it be healthy?




Aucun commentaire:

Enregistrer un commentaire