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 6794811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:16:01+00:00 2026-05-26T18:16:01+00:00

I add FaceBook Likebutton, Google +1 button and Twitter button to MasterPage.master and let

  • 0

I add FaceBook Likebutton, Google +1 button and Twitter button to MasterPage.master and let these
button to display on all my webpages.

My IPS block FaceBook, Google and Twitter, so default.aspx is very slow to display because the webpage have to wait for loading FaceBook, Google +1 button code completely.

Is these a way to delay loading FaceBook, Google +1 button code and display the content default.aspx first?

You can download the code at http://dl.dropbox.com/u/209352/WebSite2.zip

==============================Default.aspx====================
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>



=========================MasterPage.master===================================

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">

    <div class="fb-like" data-href="http://www.myweb.com" data-send="false" data-layout="button_count"
        data-width="120" data-show-faces="false" data-font="verdana">
    </div>

    <div>
        <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.supercoolbookmark.com/"
            data-count="horizontal" data-via="mycwcgr">Tweet</a><script type="text/javascript"
                src="//platform.twitter.com/widgets.js"></script>
    </div>

    <div>
        <g:plusone size="medium"></g:plusone>
    </div>

    <div>
        <p>Hello, the world!</p>
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

        </asp:ContentPlaceHolder>

    </div>
    </form>


    <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>


    <!-- Place this render call where appropriate -->
    <script type="text/javascript">
        (function () {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/plusone.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        })();
    </script>

</body>
</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-05-26T18:16:02+00:00Added an answer on May 26, 2026 at 6:16 pm

    You could add js.async = true; to the Facebook javascript – it will (like the similar line in the Google+ javascript) help with some newer browsers.

    If that doesn’t work, then the obvious option would be to use javascript to inject the three relevant divs after the page has finished loading. jQuery makes this very easy.

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

Sidebar

Related Questions

I need to add facebook twitter and google +1 button to a dynamically generated
how to add Facebook, Google+ and twitter like/share button on my website, to sharing
How do I add a FaceBook 'like' button to my master pages, does it
I'm trying to add facebook like button and twitter tweet button on a list,
I want to add twitter oauth just like facebook connect in my site like
I want to add the facebook 'Like' button to my website, but the JavaScript
Is there a way to add the Facebook Like button on mobile web? (iPhone
I am using the following code to add Facebook Like button to my website
I have the Facebook like button installed and working. I want to add an
I have a wordpress blog.I Want to add Facebook like Button &Facebook Share button

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.