Improving Performance with CSS Critial Path Tools, What do you use?

I’m sure you’re all in a similar boat as we are. Trying to get sites to load faster. One way to do this is to load a few common css rules in the html markup itself and then load in the CSS later.

I’ve tried a few online tools like Critical Path CSS Generator - by Jonas Ohlsson but the rules don’t work out so well.

I then started looking at browser based tools to run in the console.

No luck here because of cross domain blocking issues now.

So what is everyone doing to solve this?

Seems you could just use some JS to append your “Full CSS” after page load. I found a few similar references in Stack Overflow:

<script>
setTimeout(function(){
  var resource = document.createElement('link'); 
  resource.setAttribute("rel", "stylesheet");
  resource.setAttribute("href","path/to/fullCssfile.css");
  resource.setAttribute("type","text/css");      
  var head = document.getElementsByTagName('head')[0];
  head.appendChild(resource);
});
</script>