I have submit the following text <script>javascript:alert(document.domain); in a feedback of a restaurant listed on a website and feedback is sent to website not restaurant.
I want to verify but I am not sure if the code is valid or not according to javascript.
<script>alert(document.domain)</script>