<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>BlueOwlCreative  &#187;  Topic: Defer parsing Javascript in HTML version</title>
		<atom:link href="http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/feed/" rel="self" type="application/rss+xml" />
		<link>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/feed/</link>
		<description></description>
		<pubDate>Fri, 17 Jul 2026 08:52:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33223</guid>
					<title><![CDATA[Defer parsing Javascript in HTML version]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33223</link>
					<pubDate>Sat, 22 Sep 2018 15:30:35 +0000</pubDate>
					<dc:creator>roberthofstede</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>First of all I really have to tell you that I like the HTML version Auqa theme. Everything works fine, however there is one thing that I&#8217;m struggling with and I hope you can help me a little bit with this.</p>
<p>I do have some problems with defer parsing javascript. Now most people use the wordpress theme and I did find some information about defer parsing javascript on your website, but most if not all are related to the wordpress version. I use the HTML version so I cannot use any wordpress plugins for defer parsing javascript.</p>
<p>So I did use the code below to defer the JS files:</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function downloadJSAtOnload() {<br />
var element = document.createElement(&#8220;script&#8221;);<br />
element.src = &#8220;defer.js&#8221;;<br />
document.body.appendChild(element);<br />
}<br />
if (window.addEventListener)<br />
window.addEventListener(&#8220;load&#8221;, downloadJSAtOnload, false);<br />
else if (window.attachEvent)<br />
window.attachEvent(&#8220;onload&#8221;, downloadJSAtOnload);<br />
else window.onload = downloadJSAtOnload;<br />
&lt;/script&gt;</p>
<p>This is a pretty standard code that I found on several (authorative) websites. This code needs to be placed just before &lt;/body&gt; and only excutes javascript after the page has been build.</p>
<p>However when I apply this code for all the files, javascript will not execute at all. </p>
<p>Now there are some JS files that are necessary to build a page. I think that I can find some of the files/code that is necessary to build the page, however whatever I do I do not get it to work properly. </p>
<p>The code however must be doing something right as Google PageSpeed Insights does not see javascript as a problem anymore after applying the code.</p>
<p>Now is my question: Do you have some information of how to defer parse javascript correctly for this particular HTML theme? Maybe not with the code as shown about other methods like using async, which also caused a problem when I implemented it is also fine.</p>
<p>Thanks for in advance for reading and replying to my topic.</p>
<p>Kindest regards, Robert Hofstede</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33226</guid>
					<title><![CDATA[Reply To: Defer parsing Javascript in HTML version]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33226</link>
					<pubDate>Tue, 25 Sep 2018 06:20:38 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Robert,</p>
<p>As this is a custom solution we do not have any information on its implementation.<br />
No, we don&#8217;t have any information on deferring the JS for the theme, when you say the JS doesn&#8217;t execute, do you get any errors, or what exactly? <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33234</guid>
					<title><![CDATA[Reply To: Defer parsing Javascript in HTML version]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33234</link>
					<pubDate>Fri, 28 Sep 2018 16:22:15 +0000</pubDate>
					<dc:creator>roberthofstede</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Not really any errors. The only sort of error I get is that when applying the &#8220;deferring code&#8221; to al JS files; none of the JS code executes. I just thought that you or someone else on the forum has experience with implementing this in the auqa theme. Afterall the PageSpeed Insights tool from Google sees not defer parsing javascript as an obstackle for proper page loading.</p>
<p>I think that some JS code should not be deferred and that this causes everything to slow down or stop. </p>
<p>If you would have any idea that would be great. Then please share this with us. If not that&#8217;s fine. I will find out how to implemtent is and I will share the information on this forum. So that other people can implement it.</p>
<p>Anyways thanks for your reply.</p>
<p>I hope you have nice weekend.</p>
<p>Rgds, Robert</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33240</guid>
					<title><![CDATA[Reply To: Defer parsing Javascript in HTML version]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/defer-parsing-javascript-in-html-version/#post-33240</link>
					<pubDate>Mon, 01 Oct 2018 08:22:55 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Rob,</p>
<p>Thanks for the initiative and no, sorry but we haven&#8217;t implemented this before.<br />
Good luck with the implementation! <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

