javascript - Running a js code on the server -


I have a third-party JavaScript code that communicates with my web server and I from time to time On on the server I'm not familiar with nodjs so that's why I really do not know the weather, whether it helps me or not, though I read some articles about that topic Are there. Work that script is run properly on the server as it was in the browser on the client, is it possible to do it with nodes?

Is it possible to do it with nodjs in the customer's browser?

Very close, yes, the Javascript API and / or NodesJesus module that you are looking for is "Headless Browser". Specific recommendations are not those that are for SO, but this is the term to search, and I note that both jQuery and Sizzle use the project (closely related). (I have not used it directly, just as a sub-product contributing to such projects). It is not a nodes js module (it's run in your process), but you can launch it as a project from node and then interact.

Then load whatever assets you want, without loading it in the browser, in which you need to run.

You do not need to say, you believe in fact the source of any code that you get and runs on your server. : -)


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -