I have a script which does some position fixes within my site - things like

$(".slider_text").css("paddingLeft", procentaj_stdr);
$(".slider_text").css("paddingTop", procentaj_slider/12);

There are less than 100 lines of JavaScript and jQuery code that make this corrections.

Should I worry about Google lowering my position in search results?

  • Why do you think this would affect your rankings in Google?
    – John Conde
    Commented Aug 24, 2015 at 12:41
  • @JohnConde I've read on the Internet that the scripts that Google uses to crawl the webpage don't "like" javascript because they don't understand it
    – Hello Lili
    Commented Aug 24, 2015 at 13:11
  • 4
    @HelloLili, maybe a decade ago... I recommend you read up to date advice. Commented Aug 24, 2015 at 13:52

1 Answer 1


No! There will be no specific influence in your Google SERP if you use JavaScript in your webpage. In older days Google was not that much smart to fetch dynamically generating contents, JavaScript and AJAX but now Google algorithm is very smart to Crawl and Index those contents.

Historically, SEO recommendations have centered around having ‘plain text’ content whenever possible. Dynamically generated content, AJAX, and JavaScript links have been a detriment to SEO for the major search engines. Clearly, that is no longer the case for Google. Javascript links work in a similar manner to plain HTML links

This is the statement in Search Engine Land article titled We Tested How Googlebot Crawls Javascript And Here What We Learned. They tested 5 category of tests like

  1. JavaScript Redirects
  2. JavaScript Links
  3. Dynamically Inserted Content
  4. Dynamically Inserted Meta Data and Page Elements
  5. An Important Example with rel=“nofollow”

All these cases were passed successfully and Google was able to fetch and index those contents just like other Plain Texts which means that there would be no change in Google SERP if you use JavaScript in your website.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.