V
V
v- death2015-11-25 22:23:18
JavaScript
v- death, 2015-11-25 22:23:18

Should Golang interfere with Js?

Greetings. Is it worth generating different js constructs on the server side to simplify the js code? (golang)
For example, if the browser is some kind of "not normal" (donkey or opera mini) on the server side, redo all js functions (more precisely, in each function, make an if condition that the server will process)
What do you think? (I actually once thought of making an analogue of node.js without their crazy virtual machine)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2015-11-25
@vGrabko99

No. The approach itself with adjustment for different browsers is wrong. Dark browsers, security settings and startup keys and users are different - all situations cannot be foreseen.
The availability of the necessary features can only be determined in the browser.
https://modernizr.com
What? How does this relate to the question?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question