Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8685611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:37:27+00:00 2026-06-12T22:37:27+00:00

When adding social media resources in webpage, the traditional method results in loading much

  • 0

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 http://www.google-analytics.com/ga.js 36.35KB, which is somehow inevitable for many)

http://connect.facebook.net/en_US/all.js 181.30KB (59.06KB gzipped)
https://platform.twitter.com/widgets.js 75.19KB (24.42KB gzipped)
https://apis.google.com/js/plusone.js 16.71KB
http://assets.pinterest.com/js/pinit.js (well this is small, but still unneeded connection)

For example, http://connect.facebook.net/en_US/all.js does only one
thing: adding an iFrame <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Flavishdream&amp;width=292&amp;height=180&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:180px;" allowtransparency="true"></iframe>

Twitter and Google Plus scripts does very similar tasks, only adding
small HTML chunks into the page.

Why not only writing those iFrames, images and anchors HTML ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:37:28+00:00Added an answer on June 12, 2026 at 10:37 pm

    Most of those scripts you’ve mentioned are also tracking the users behavior in the background. Also, when loading a JS file the provider (e.g. Google) could change the functionality that comes with such a script. This wouldn’t be that easy when you just add a static file or write the desired HTML yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm adding social media buttons to my website. Facebook like, Twitter tweet etc buttons
I'm building a 'social media widget' for work's website. I'm now adding Foursquare to
I'm using jQuery address to enable loading specific content from other pages and to
I am using a like button from different social media site like g+, facebook
What is the best method for adding social links to each blog entry? I
Adding more than one child to a WPF StatusBar results in poor layout with
Adding functionality to a class can be done by adding a method or by
I'm currently working on a prototype for adding Facebook social features for future iOS
We are considering adding Facebook's Social Comment boxes to virtually every page of content
Adding two empty arrays: [] + [] results in an empty string. Why?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.