Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • that's only a problem if you share the info entered into the box with other users, typically by pre-populating it with URL params or baking it into the HTML source of the page on the server. Remember that anyone can run whatever code they like all by themselves on your page using the developer tools. Commented Jun 17, 2019 at 17:05
  • @dandavis anyone can run whatever code they like all by themeselves on your page using developer tools. yes, i know, this was exactly the reason because i wasn't persuaded about the dangerousness of eval function. Commented Jun 19, 2019 at 13:35