views:

57

answers:

1

How can I load a javascript file via Firebug console ?

This would be useful in development, so I don't have to modify the html code to load the script.

+1  A: 
var script = document.createElement("script");
script.src = "http://whatever.com/js/my/script.js";
document.body.appendChild(script);
Justin Johnson
hm ok, doing it the hard way.
portoalet