Removing All Default Blogger JS And CSS To Speed up Page Loading Time

Removing All Default Blogger JS And CSS To Speed up Page Loading Time

Page loading time is the active signal and on-page SEO factor considered by search engines. To get higher search rankings you need to optimize your blog website by improving loading time. To speed up blog load time you have to remove default blogger JavaScript js and stylesheet CSS bundle added automatically for each page by BlogSpot template. Learn to delete blogger default CSS Bundle widgets and Widgets.js from the BlogSpot blog. Eliminate render-blocking resources widget_css_bundle.css, widget.js, plusone.js, authorization.css on blogger.. Continue reading...
As a professional blogger, you always need to focus on speeding up page loading time for every page added to your blog or website. As you know the page loading time is the primary on-page SEO factor considered by search engines to give higher search rankings. Specially in the case of Blogger blog, you have seen that the default javascript and CSS code automatically get added inside the HTML template of your blog and slowing down your page loading time. And it is the reason why you need to remove default blogger JavaScript and CSS code from the blogger blog.
Remove default blogger scripts and CSS files
The important thing is that you can not find default blogger CSS & JS tags in the HTML template code editor as they are automatically added to your blog whenever the page loads into the browser. Those default files are hidden in all blogs by the default settings provided by the BlogSpot server and only visible once the page loaded completely in the browser.

How to remove default CSS and javascript from the BlogSpot blog? In this tutorial, I am going to show you how you can easily remove default Javascript (js) and blogger's Cascade Style Sheet (CSS) from your blogger website pages. These default tags are added by Blogger itself for every page load, to run the default JavaScript and CSS bundle widget files. With the help of the following steps, you can now quickly remove default CSS and js of the blog. By removing these default unwanted 'widget_css_bundle.css' (CSS) and 'widgets.js' (JS) files you will improve your blog loading speed fast.

To speed up blog loading you have to remove blogger default javascript & CSS code which are automatically added in the HTML source code of your blog template between and before tag. You required to remove a couple of links and script tags in the source code like 'b:template' and 'b:skin' in case you are not friendly with the blogger CSS bundle authorization CSS as well as the static widgets. Also, make sure to remove the encrypted 'plusone.js' javascript because it is the biggest reason to slow your blog and causes more time for your website to load.

NOTE: This method is only recommended to those bloggers who are not using default widgets provided by the blogger. By disabling default codes, the default stylesheet CSS, and other native blogger scripts will stop working and you are then not able to use any of the default widgets.
Remove Default Blogger JavaScript, And CSS To Speed up Page Loading Time
Remove Default Blogger JavaScript, And CSS To Speed up Page Loading Time

Types of default JavaScript (.js) and Stylesheet (.css) files

Check out the list of various types of default JavaScript and CSS widget files generated and added automatically by blogger:
  1. Default Blogger CSS code: widget_css_bundle.css
    It is the first file that executed on the browser side as soon as the visitor visits your blog. This file includes all the default widget stylesheet CSS bundle file of Blogger template and all default widgets like related posts, review widget, popular posts, comment section, contact form, etc.

  2. Blog ID: authorization.css
    It is a small CSS code file delivered on every page load that holds your BlogID.

  3. JavaScript for Widgets: widget.js
    This is the most affecting file contains the code of JavaScript for all the default Blogger widgets. It is a big code file and so causing more time to fetch and load on the browser side.

  4. Google+ Script: plusone.js
    It is the JavaScript added into each blogger blog for Google+ widgets. UPDATE: Google plus is shut down and so it is auto removed.

We have already discussed website speed optimization techniques and the importance of reducing page loading time and so suggesting to remove unused javascript and unwanted CSS files from your blogger blog ASAP.


Why you should remove blogger default CSS Bundle widgets and Widgets.js?

Removing default JavaScript (Widgets.js) & CSS from the Blogger blog is the best way for making your blog fast to load. But including advantages, it has some disadvantages too.

Advantages and disadvantages of removing Blogger's default JS & CSS files:
  • Advantages: The major benefit of deleting default JavaScript & CSS code files is the improved blogger blog load time that will provide a better user experience and faster user interface to all of your visitors.
  • Disadvantages: When you remove all types of default JavaScript & CSS stylesheet widget bundle files which are added automatically by blogger, your custom blog design gets affected, all the default widgets stop working like popular posts widget, contact form, visitors count, etc.

You also need to check; Top 12 Fast Loading Blogger Templates To Improve User Interface (UI) & User Experience (UX)

Default JavaScript (Widgets.js) & CSS stylesheet (css_bundle_v2.css) code

Since it is hidden and auto-added by blogger settings, you can able to check the file once the page is loaded. To check the file, open any of your blog pages, and open its source code. To open the source code, right-click anywhere on the page and click on 'View page source'. You will get the code as shown below:

Default JavaScript (Widgets.js) file shown in your template:
<script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/2423294629-widgets.js"></script>
CSS stylesheet (css_bundle_v2.css) file shown in your template:
<link href='https://www.blogger.com/static/v1/widgets/3416767676-css_bundle_v2.css' rel='stylesheet' type='text/css'/>

Also, check; [3 Line Script] Add Lazy Load To Speed up Website/Blog Loading By 2X

Remove Default Blogger JavaScript, And CSS To Speed up Page Loading Time

Some basic background knowledge of customizing Blogger HTML template code is required to know how widgets are configured and work as per the theme design.

Follow steps to remove default javascript and CSS bundle files from blogger template:

STEP 1: Make sure to backup your whole blogger template code. (It's important!)

STEP 2: Go to the blogger HTML code of your template.

STEP 3: You will see the following code in the very first 3-4 lines:
<HTML b:version='3' class='v3' expr:dir='data:blog.languageDirection'... ...

STEP 4: To remove default CSS and JS files, you have to add b:css='false' & b:js='false' codes as shown below:
<HTML b:css='false' b:js='false' b:version='3' class='v3' expr:dir='data:blog.languageDirection'... ...

STEP 5: And now removing default blogger CSS files, find the following code:
<b:skin><![CDATA[
...
All your CSS codes
...
]]></b:skin>

STEP 6: And replace it with the following code:
<style type='text/css'>
...
All your CSS codes
...
</style>

STEP 7: Add the following code above the code created in step 6.
&lt;style type=&quot;text/css&quot;&gt;
&lt;!-- /*
<b:skin><![CDATA[*/]]></b:skin>
So that the whole code will looks alike:
&lt;style type=&quot;text/css&quot;&gt;
&lt;!-- /*
<b:skin><![CDATA[*/]]></b:skin>

<style type='text/css'>
...
All your CSS codes
...
</style>

STEP 8: For removing authorization.css link for your Blogger blog, find <head> and replace it with the following code:
&lt;head&gt;

STEP 9: Now find </head> and replace it with the following code:
&lt;!--</head>--&gt;&lt;/head&gt;

STEP 10: Now find <body> and replace it with the following code:
&lt;body onload=&quot;script();&quot; onload=&quot;callFunction();&quot; onload=&quot;loaded();&quot; data-progrecss-mock=&quot;5&quot; class=&quot;progrecss green fixed mock staggered&quot; class=&#39;index&#39; expr:class=&#39;&amp;quot;loading&amp;quot; + data:blog.mobileClass&#39; itemscope=&#39;itemscope&#39; itemtype=&#39;http://schema.org/WebPage&#39;&gt;

STEP 11: Find </body> and replace it with the following code:
&lt;!--</body>--&gt; &lt;/body&gt;

STEP 12: Save template. And check your blog speed with Top 10 Free Mobile Speed Test Tools | Loading Optimization | Website Testing Tools


Blogger’s default stylesheet CSS and JavaScript Widgets bundle are the biggest reason which affects your blog's page loading speed and causes to increase page loading time. Also, Blogger doesn't have any way to disable default JavaScript and CSS, so completely eliminating default CSS & JS from your Blogspot blogger blog is the only option to speed up your blog load time.

So these are some of the best techniques and tricks to improve page loading time by removing Blogger default CSS bundle & unwanted JavaScript widget JS files added automatically to your blogger blog. If you find any difficulty while making changes then please let me know via the comment section shown below.



Vinayak SP

Vinayak is a web geek, digital columnist, and solo entrepreneur working on ProBlogBooster. You can follow PBB on social media or subscribe to our email newsletter and never miss an update. twitter instagram amazon linkedin external-link

Post a Comment

IT'S YOUR TURN...

To respond : Drop in just anything but spam. Please don't drop comments just to add your link here. You can use basic HTML tags <a> <b> <i>.

Posting code : You may use <em> to emphasize the code. Please turn all < > to be < >,

Important : If you're looking for further clarification, advice or support, please address by email through contact page.

Previous Post Next Post
Disclaimer

We are one of the type of a professional review site that operate like any other website on the internet. We respect & trust our readers. And we are confident & would like to mention that the above post contains some affiliate/referral links. And if you make a purchase; we receive commission from the links/apps/products we refer. We are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not. We test each product thoroughly and give high marks to only the very best. We are independently owned and the opinions expressed here are our own.

Copyrights

All of the ProBlogBooster ideas are free for any type of personal or commercial use. All I ask is to keep the footer links intact which provides due credit to its authors. From time to time, we may use visitors/readers, information for distinct & upcoming, unanticipated uses not earlier disclosed in our privacy notice. If collected data or information practices changed or improved at some time in the future, we would post all the policy changes to our website to notify you of these changes, and we will use for these new purposes only data collected from the time of the policy change forward. If you are concerned about how your information is used, you should check back our website policy pages periodically. For more about this just read out Privacy Policy