Notification texts go here. Contact Us Buy Now!
$10.00
10
$000

Get your blog ready With details you won't find anywhere.

blogger widgets | How To Remove Blogger Default JS And CSS

abdalrahman
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated





how-to-remove-blogger-default-js-and-css



Hello friends, in this article, I will show you how to remove the default JS and CSS of Blogger using the tips provided by Blogspot. Removing this default JS and CSS will make your blog load faster, improving user experience. If you are facing render blocking or page speed on your blogger site is slow. You can take this approach to get rid of default js and CSS and prevent other scripts from loading.



Remove Blogger Default CSS


To remove the default CSS of blogger blog, go to Themes Edit HTML . Then find the <html> tag and add b:css='false' .

Before adding


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' ......>


After adding


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' ......>

Remove Blogger Default JS


To remove the default JS above the blogger </body> tag , do the same as above. Add b:js='false' tag .

Before adding

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' ......>


After adding

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' ......>

Remove Blogger Default JS And CSS


To remove both the blogger's default JS and CSS, just add b:css='false' and b:js='false' .

Example :

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:js='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateVersion='1.3.0' expr:dir='data:blog.languageDirection' lang='vi' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


After performing 1 of the 3 steps above, please change the following pairs of cards

Change only <head> and </head> (Basic)

<head> thành &lt;head&gt;

</head> thành &lt;!--<head/>--&gt;&lt;/head&gt;


Change All (Advanced)

<head> thành &lt;head&gt;

</head> thành &lt;/head&gt;

<body> thành &lt;body&gt;

</body> thành &lt;!--<head/>&lt;!--<body/>--&gt;&lt;/body&gt;


After making changes, please click the Save theme button. If the check is successful, you just need to view-source up and scroll down to the bottom. If you see a JavaScrip in green, it's successful.

Drawbacks of removing default JS from blogger's blog


There are also some limitations if you remove the default JS from your blogger blog. that is:

  • The Contact form won't work if it's on the layout, you have to recreate it.
  • You will not be able to modify the Layout in the Blogger dashboard. If you want to edit the layout you have to remove b:js='false' from the <html> tag then go to the edit layout as you like. After editing the layout you can add it back.


Conclude


So I showed you how to remove the default JS and CSS of blogger. If you liked this article or have any problems. Please comment below. It appreciates me for writing such things. Thank you for reading. :)
Read Also

Getting Info...

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.