With Firefox I can type in the location bar "javascript:" followed by some JavaScript code and have this code executed and the result displayed in the page. For example javascript:x = 3 displays 3 in the page.
However with Chrome nothing is displayed. Is there a way to do this in Chrome?