Is it possible to set a javascript variable through the URL?
Here's an example of the code I'm trying to modify:
<script type="text/javascript">
var x = 0;
</script>
Is there a way to modify that variable through a browser, for instance, www.somewebsite.com + (something that changes 'x' variable)?
Related on Stack Exchange:https://stackoverflow.com/questions/39023761/modify-javascript-variable-with-url