Remove Blogger Theme Widget Js & Over Weight Javascripts Easily

Learn how to AMP'd your blog with valid AMP HTML Blogger theme framework. Visit Blogr-AMP Theme and AMPaction Theme. No 3rd party application. Compatible with published posts. Quick in search & on any devices.
Blogger default injected javascript & widget.js have been in every Blogger theme developer & designer nightmare -- poor blog pages performance.

Blogger platform have improved tremendously & ever since the release of the responsive Blogger themes, new operators have been integrated for users to use with their themes.

Earlier, Blogger users uses HMTL hacks to remove injected Blogger widget.js & javascripts -- this can be daunting for new users who are about learn to customize their themes.

Out with the old & in with the new, here's the simple & super easy way to remove or disable Blogger widgets.js, including other related overweight javascripts injected by default with/on any blog pages for Blogger platform.

Disable Blogger Theme Widget Javascript widget.js without hack super easy

What Happens if widget.js Removed?

  • Blogger widgets that relies on widget.js custom functions is un-usable.
  • Contact form functions is disabled.
  • Blogger dashboard + layout + posts/pages integrated functionalities disabled.
  • Some widgets styled by javascript is not available.

Why Disable Blogger Injected widget.js & Blogger Theme Javascripts?

  • You want to start a custom Blogger theme from scratch.
  • Works great when developing custom plugins for your theme projects.
  • Reduce injected assets to your blog page - reduce page weight & quicker page display
  • Remove reported warnings by 3rd party webpage performance inspectors due to adhesive javascripts injections.

Here's how you can achieve this, without hacking your Blogger Theme element tags in Theme > Edit HTML panel. Backup your theme before proceeding...

  • Go to Theme
  • Select Edit HTML 
  • Find below:-

<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' ....>

  • Add the b:js='false' attribute with the <html> tag at the start of your theme so it will look like so:-

<html b:js='false' b:version='2' class='v2' expr:dir='data:blog.languageDirection' ... >

  • Click Save Theme
  • Refresh your blog pages & use "View Page Source" or F12 to view your page HTML & the results.

Note: Individual widgets which uses its own javascripts does not honor this b:js tag, You may need to remove your widgets manually -- if necessary.

New shopping cart widget for Blogger blogs -- transform your blog & sell products using your blog posts instantly! Visit Add Shopping Cart Widget Page to learn more.

Interesting Related to this Topic at Irsah inDesigns Blog

Got It!

Data submitted via comments collected & stored by the respective providers.

Read our Privacy Policy to learn more on data management & protection.