Disabling The Bad SEO JavaScript In Blogger Template

Bad SEO JavaScript
As we already know that blogger templates are developed with many programming languages such as JavaScript, CSS/Css3, HTML5, Jquery, Bootstrap, and Font-awesome etc. but have you ever thought which one among these prevents Googlebot to crawl our blogger site efficiently? Maybe yes. JavaScript is one of the programming languages that can extremely harm our site SEO and it stops Web Crawlers to fully understand our site. There are many scripts present in our blogger templates but some scripts play a vital role to maintain our template functionality. Removing the wrong scripts can badly crush our templates. Therefore, before you disable the JS, make sure you are not going to remove the useful JavaScript. We must know which one is unwanted and which one is important for us.

How to Find Unwanted JavaScripts In Blogger?

There are many ways to detect the bad SEO JavaScript but the proper way is, we use the Search Console within the Google Webmaster Tool to know about the bad SEO JavaScript. I will show you a step by step guide. So let's do it right know.
  • Login to your Webmaster tool
  • Select your site > Crawl > Fetch as Google
  • Copy the URL of any published post/page and paste it in the fetch box
Note: Do not copy the entire URL. Just copy it without homepage as shown in the given example:
http://farooqahmadbhat.blogspot.com/2017/02/analysing-joomla-vs-wordpress.html
In the above-mentioned URL, I have highlighted the text that you need to copy from your own published post
  • Now paste it in Fetch as Google text box and hit Fetch and Render (See the screenshot)
fetch as google

You will see one of the following results:
Redirected, Partial, Complete, Success
You can learn about the above-mentioned results from Google's official page
If your response is complete or success then just leave you don't to do anything but if it is redirected or partial then continue to the next step
  • Move your mouse pointer towards the submitted link and hit click
  • You'll see the scripts that are responsible for your poor SEO
  • In this step, you need to click the link(s) and you will be redirected to the new tab where you will find the exact script. It's time to disable these scripts from your template

How to Disable Bad SEO JavaScript In Blogger Template

Before you follow the steps, it is highly recommended to keep a full backup of your template
  • Go to your blogger dashboard > Template > Edit HTML
  • Click anywhere inside the template editor and press Ctrl + F
  • Search for the codes that you found within the search console during Fetch as Google
When you find the exact JavaScript code, insert the 'no' before and after as shown in the given example:

Before
<script type='text/javascript'>
//<![CDATA[
//CSS Ready
function loadCSS(e, t, n) { "use strict"; var i = window.document.createElement("link"); var o = t ||
function getposts(json){var totalposts
//]]>
</script>
After
<noscript type='text/javascript'>
//<![CDATA[
//CSS Ready
function loadCSS(e, t, n) { "use strict"; var i = window.document.createElement("link"); var o = t ||
function getposts(json){var totalposts
//]]>
</noscript>
  • Finally, click Save Template
After you make these changes, you must retry the Fetch as Google to reconfirm the results.
I hope this tutorial helped you.
Subcribe to Our Newsletter For Free

Subscribe Now

Recommended For You

Speak Your Mind