{"id":3476818,"date":"2013-02-16T22:53:41","date_gmt":"2013-02-16T22:53:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-consolelog\/"},"modified":"2016-08-20T21:42:35","modified_gmt":"2016-08-20T21:42:35","slug":"javascript-consolelog","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-consolelog\/","title":{"rendered":"javascript console.log"},"content":{"rendered":"<p>I am trying to debug a javascript error on my site, but the Cookie Confirm logs a message 5 times per second. Why is this? I don&#8217;t think the plugin needs it and it is quite annoying. <\/p>\n<pre><code>function check_cc(){\n  console.log(&#039;checking&#039;);\n  if(jQuery(&#039;#cc-notification-logo&#039;).length &gt; 0){\n    add_logo();\n  }else{\n    setTimeout(check_cc, 200);\n    console.log(&#039;set timeout&#039;);\n  }\n}<\/code><\/pre>\n<p>https:\/\/wordpress.org\/extend\/plugins\/cookie-confirm\/<\/p>\n","protected":false},"template":"","class_list":["post-3476818","topic","type-topic","status-closed","hentry","topic-tag-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3476818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3476818\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3476818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}