20 seconds to read
There are several ways to execute a script
F12
Ctrl + Shift + J
Right click
Inspect
javascript:
javascript:alert(1)