How do you remove unused JavaScript on blogger

how to remove unused javascript in blogger?

The free Blogger platform provided by Google is a great place for everyone to create a blog. Here you get a free subdomain free hosting and many other features. If you want to start new blogging then you can read our post about the difference between Blogger and WordPress.
Also read
How to Put Ads Between Posts in Blogger
How To Set Custom Redirects in Blogger - Techno Pratap
Blogger loads from Google's servers so the loading speed of the blog is very fast. But Blogger has its own CSS JavaScript bundles that greatly reduce the loading speed of the blog. Even if you use Blogger's custom themes, then Still Blogger's default CSS JavaScript bundles are automatically injected by Blogger. And Blogger's default CSS and JavaScript slow down blog loading speeds.

So now the question is How do you remove unused JavaScript on blogger?

Let us tell you step by step how to permanently remove these unwanted codes from the Blogger template. It's very easy, you just need to edit some of the code in your template and your blogger's speed will increase.

remove unused javascript blogger

  • First, open your blog's dashboard.
  • Then click on the three lines in the top left corner.
  • Then click on the Themes option.
  • Then click on the arrow to the right of the customization button.
  • Then you click on the Edit HTML option.
  • Then you need to change the head tag and body.

Replace <head> with    &lt;head&gt;
Replace </head> with    &lt;!--&lt;head&gt;</head>
Replace <body> with    <body>
Replace </body> with    &lt;!--</body>--&gt;&lt;/body&gt;

Find out the advantages and disadvantages of removing JavaScript from blogger

  • The loading speed of the website will be fast.
  • Your Google ranking will be increased.

  • This will remove Blogger's default JavaScript.
  • Blogger's default widget won't work.