chrome dev tools and google adsense – CPU 95% usage

On my website I’ve got Google Adsense to generate revenue. Whenever I open Chrome Developer Tools the CPU usage rises to 95%. When I disable ads or use AdBlock Plus and refresh the usage goes down to around 15%.

I’ve got laptop with i5-6400 processor and GTX950M graphics card, and using Windows 10 if it helps.
Firefox does not suffer the same problem.

Did you ever come across this problem? How to make dev tools or ads use less CPU?

Inject AdSense into page via Chrome Extension

I want to put my AdSense code into a website with a Chrome Extension.

I tried (jQuery):


And also right after that I load the googleads script:

        function () {  alert('l has been loaded.'); });

Being loadScript():

function loadScript(url, completeCallback) {
   var script = document.createElement('script'), done = false,
       head = document.getElementsByTagName("head")[0];
   script.src = url;
   script.onload = script.onreadystatechange = function(){
     if ( !done && (!this.readyState ||
          this.readyState == "loaded" || this.readyState == "complete") ) {
       done = true;

      // IE memory leak
      script.onload = script.onreadystatechange = null;
      head.removeChild( script );

But ads are not showing, and I do not know why. Any help?