I\'m trying to execute Javascript on my web application by executing this on the browser URL/address bar:
javascript:window.alert(\'test\');void(0);
You can write your javascript code inside the block like this
javascript:{alert("ok");}