A
A
Andrey Khokhlov2015-12-12 07:35:21
Google
Andrey Khokhlov, 2015-12-12 07:35:21

Is the content of the script indexed?

Dear SEOs.
Something I just can't google specifics on the issue - Is the content of the script tag indexed ?
Just in case, more about the case.
There is a script that, when the page is loaded, checks for browser support for certain features, and if there is no support, it displays a message about the need to update the browser.
At the same time, the template of this message cannot be stuffed into the js code itself, because it should be:
1. Absolutely customizable
2. Ready for multilingualism
. it should be generated by the site engine.
There are two ways: either to load the block with Ajax, or to give the markup along with the page.
I don't really like the first one yet, according to the second one, it was believed that the presence of extra links in the page code is not ideal for fine SEO optimization.
I came up with the idea to use this construction for storage (this is jade syntax):

script(type="text/browser-test-template")#browser-test-template
    .old-browser
        .old-browser__title Вы используете устаревший браузер
        .old-browser__text Сайт может отображаться некорректно. Вам необходимо обновить браузер:
        .old-browser__list
            a(href="http://www.google.ru/intl/ru/chrome/" target="_blank" rel="nofollow" title="Google Chrome").old-browser__browser.old-browser__browser--chrome

Will the search engine crawl into this block?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-12-12
@alexey-m-ukolov

Why not use the standard indexing suppression tools and sleep peacefully?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question