In Firebug, I can type my own JavaScript in the console tab and execute it. Is there a way to type JavaScript in Chrome Developer Tools and execute it?
Share
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.
chrome://flags/, enable the “Enable Developer Tools experiments” flag and restart Chrome (or start it with the--enable-devtools-experimentscommand-line flag.)Settingsdialog, switch to theExperimentstab.Sourcespanel. In the left-hand navigator sidebar, switch to theSnippetstab .Newcontext menu item.Run(>) button in the status bar to execute the snippet body. You can set breakpoints in snippets and debug them as ordinary scripts.