Note that there are some explanatory texts on larger screens.

plurals
  1. POThe purpose of loading External Javascript of social media into webpages
    text
    copied!<p>When adding social media resources in webpage, the traditional method results in loading much external JS from other domains, just to load an iframe or an anchor with a brand image background. Probably the below are the most transferred files over the web (after the <a href="http://www.google-analytics.com/ga.js" rel="nofollow">http://www.google-analytics.com/ga.js</a> 36.35KB, which is somehow inevitable for many)</p> <p><a href="http://connect.facebook.net/en_US/all.js" rel="nofollow">http://connect.facebook.net/en_US/all.js</a> 181.30KB (59.06KB gzipped)<br> <a href="https://platform.twitter.com/widgets.js" rel="nofollow">https://platform.twitter.com/widgets.js</a> 75.19KB (24.42KB gzipped)<br> <a href="https://apis.google.com/js/plusone.js" rel="nofollow">https://apis.google.com/js/plusone.js</a> 16.71KB<br> <a href="http://assets.pinterest.com/js/pinit.js" rel="nofollow">http://assets.pinterest.com/js/pinit.js</a> (well this is small, but still unneeded connection) </p> <blockquote> <p>For example, <a href="http://connect.facebook.net/en_US/all.js" rel="nofollow">http://connect.facebook.net/en_US/all.js</a> does only one thing: adding an iFrame <code>&lt;iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Flavishdream&amp;amp;width=292&amp;amp;height=180&amp;amp;colorscheme=light&amp;amp;show_faces=true&amp;amp;border_color&amp;amp;stream=false&amp;amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:180px;" allowtransparency="true"&gt;&lt;/iframe&gt;</code></p> <p>Twitter and Google Plus scripts does very similar tasks, only adding small HTML chunks into the page.</p> </blockquote> <p>Why not only writing those iFrames, images and anchors HTML ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload