how to use javascript libraries in browser console devtools code example
Example: load external javascript from console
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'script.js';
document.head.appendChild(script);