{"id":28529,"date":"2026-09-08T21:56:08","date_gmt":"2026-09-08T18:56:08","guid":{"rendered":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/indexing-pages-with-javascript-%ce%b2\/"},"modified":"2026-09-09T00:47:43","modified_gmt":"2026-09-08T21:47:43","slug":"indexing-pages-with-javascript-%ce%b2","status":"publish","type":"ar_ykb","link":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/indexing-pages-with-javascript-%ce%b2\/","title":{"rendered":"Indexing pages with JavaScript \u03b2"},"content":{"rendered":"<p>Yandex can execute JavaScript when crawling, and the console lets you decide whether it should. The setting lives under Indexing \u2192 JavaScript page rendering, still in beta.<\/p>\n<h2>The three options<\/h2>\n<p>The default is <strong>at the bot&#8217;s discretion<\/strong>: the robot decides for itself, and Yandex describes how \u2014 it may compare the quality and completeness of the content with and without JavaScript, and load whichever version is likely to be more useful to the visitor. The alternatives are to require rendering or to forbid it.<\/p>\n<h2>When to forbid it<\/h2>\n<p>Yandex gives one clear instruction: <strong>prohibit rendering if the site implements SSR or pre-rendering<\/strong>. If the server already delivers complete HTML, executing scripts adds nothing and consumes crawl resources on both sides. Note the warning that comes with rendering in general \u2014 <strong>it can create additional load on your server<\/strong>.<\/p>\n<h2>Delayed content<\/h2>\n<p>For sites where content arrives late, Yandex supports a signalling object: create <code>window.YandexRotorSetting<\/code> so that it is processed <strong>before the <code>DOMContentLoaded<\/code> event<\/strong>, with <code>WaiterEnabled<\/code> set to indicate that the robot should wait. Registering it after that event does nothing \u2014 the robot has already decided.<\/p>\n<h2>The order of preference<\/h2>\n<p>Server-side rendering first, rendering-on-demand second, and the waiting object only where neither is possible. A page whose content depends on a script executing correctly is a page whose indexing depends on a process with far more failure modes than serving HTML \u2014 and Yandex&#8217;s own guidance elsewhere is unambiguous that what should rank must be present in the HTML immediately on request.<\/p>\n<h2>Checking the result<\/h2>\n<p>The JavaScript rendering tool checks individual URLs and shows what survives rendering; the ordinary page check shows the raw response. Comparing the two is the fastest way to see exactly which content depends on scripts \u2014 and therefore which content is at risk.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yandex can execute JavaScript when crawling, and the console lets you decide whether it should. The setting lives under Indexing \u2192 JavaScript page rendering, still in beta. The three options The default is at the bot&#8217;s discretion: the robot decides for itself, and Yandex describes how \u2014 it may compare the quality and completeness of [&hellip;]<\/p>\n","protected":false},"menu_order":105,"template":"","meta":{"footnotes":""},"ar_ykb_kategori":[764],"ar_ykb_etiket":[],"class_list":["post-28529","ar_ykb","type-ar_ykb","status-publish","has-post-thumbnail","hentry","ar_ykb_kategori-site-indexing"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_ykb"}],"version-history":[{"count":2,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28529\/revisions"}],"predecessor-version":[{"id":29110,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28529\/revisions\/29110"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/28911"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=28529"}],"wp:term":[{"taxonomy":"ar_ykb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_kategori?post=28529"},{"taxonomy":"ar_ykb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_etiket?post=28529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}