This piece of code doesn’t work on my firefox 12 browser.
javascript:alert("hi");
But it works on IE8.
What’s the problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
see http://support.mozilla.org/en-US/questions/876916#answer-248299
Google chrome has a different approach, if you copypaste
javascript:to your location bar, it will be silently swallowed. You can only run it if you directly write it out in the location bar.Both browsers come with a built-in console that can be used to run code that affects the current page.