Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shhnjk authored Mar 10, 2024
1 parent 1a44a38 commit 37d4a08
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<script>alert('hello')</script>
<script>
if (!!location.search) {
alert(decodeURIComponent((new URLSearchParams(location.search)).get("data")));
} else {
alert('hello')
}
</script>

0 comments on commit 37d4a08

Please sign in to comment.