Javascript code slows down EZG

EzGenerator V4 forum

Return to “Ezgenerator v4 Customer Forum”

[You can only see part of this thread as you are not logged in to the forums]
ophelius
Fri Jul 26, 2013 2:48 am

x

Javascript code slows down EZG

Hi there,
this has been bugging me for a while now. I have the following Facebook javascript code in my <body>:

Code: Select all

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
I'm not sure why but it slows down EZG to a crawl. When I remove it everything's fine. It was the same in version 3 and I was hoping it would be fixed when I upgraded to version 4. Anybody have a clue why this code slows everything down?

Atanas Angelov
Site Admin
Fri Jul 26, 2013 11:45 am

x

Re: Javascript code slows down EZG

Hi, Will check and let you know when I have mo...

ophelius
Fri Jul 26, 2013 7:14 pm

x

Re: Javascript code slows down EZG

Here's a few more notes that may help you locat...

ophelius
Sat Jul 27, 2013 10:43 pm

x

Re: Javascript code slows down EZG

Any clues? Perhaps it was already fixed in an u...

miro (staff)
Site Admin
Sun Jul 28, 2013 12:16 pm

x

Re: Javascript code slows down EZG

hi can you paste here exact code you are using...

ophelius
Sun Jul 28, 2013 6:33 pm

x

Re: Javascript code slows down EZG

This is the html code for the facebook widget: ...

miro (staff)
Site Admin
Mon Jul 29, 2013 8:02 am

x

Re: Javascript code slows down EZG

hi i tried to add same code in my project and ...

ophelius
Mon Jul 29, 2013 6:27 pm

x

Re: Javascript code slows down EZG

Hi, thanks for looking. It's the facebook javas...

miro (staff)
Site Admin
Tue Jul 30, 2013 8:00 am

x

Re: Javascript code slows down EZG

hi i think this should be ok in more recent ve...

ophelius
Tue Jul 30, 2013 8:36 am

x

Re: Javascript code slows down EZG

Sure, that would be sweet. I'm planning to upgr...



Return to “Ezgenerator v4 Customer Forum”