Is it possible to insert javascript into Google Chrome's "Inspect Element"?

google-chrome, javascript

Solution

You don't even need the developer tools, how about just typing it in the browser address bar? Like this:

javascript:$("a#link").mouseover(function(){$('div.linkcontents').slideDown("slow");});

Problem

If I click "Inspect Element" on a page in Google Chrome, is there a way for me to insert something like this (by clicking Edit HTML) to add a mouseover effect to the "a#link" element on the page? ``` $("a#link").mouseover(function() { $('div.linkcontents').slideDown("slow"); }); ```

Original source