How to Load an External Style Sheet

I'm quite attached to my code editor so wanted to load an external stylesheet. Here's how...

In the JavaScript console add this code, changing the path and stylesheet names. Note: I had to use a secure server url to get this to work. YMMV.

var path = "";;
var style = document.createElement( 'link' );
style.rel = 'stylesheet';
style.type = 'text/css';
style.href = path + '/knack.css';
document.getElementsByTagName( 'head' )[0].appendChild( style );


It looks that lazyload.css can take care of this : 4. Load external JavaScript files