I have been working with an online gaming website. There is some kind of event that calls the javascript function, and the function has some callback actions.
something like that,
<input type="button" onclick="changeSomething"/>
function changeSomething() {
}
Now anyone who knows this can cause this change. Something from the address bar of the browser that I don’t want.
It is very unlikely that anyone will do this, but I want to allow it.
Is there a way to prevent such a situation?
Thanks.
PS I tried, but still not sure if I explained this enough. Please let me know if you do not receive something.
source
share