JavaScript improvements
Google has also been crawling some JavaScript for a while. Primarily, they’ve been extracting very simply coded links. As of today, they’re able execute JavaScript onClick events. They still recommend using progressive enhancement techniques, however, rather than to rely on Googlebot’s ability to extract from the JavaScript (not just for search engine purposes, but for accessibility reasons as well).
Googlebot is now able to construct much of the page and can access the onClick event contained in most tags. For now, if the onClick event calls a function that then constructs the URL, Googlebot can only interpret it if the function is part of the page (rather than in an external script).
Some examples of code that Googlebot can now execute include:
Code:* <div onclick="document.location.href='http://foo.com/'"> * <tr onclick="myfunction('index.html')"> * <a href="#" onclick="myfunction()">new page</a> * <a href="javascript:void(0)" onclick="window.open('welcome.html')">open new window</a>
These links pass both anchor text and PageRank.
il suffit de mettre la page en noindex dans les metanonal a dit:parce que j'ai des pages de résultats différentes en fonction du choix de classement que l'internaute choisis, mais qui, dans certains cas (pas assez de résultats, donc une seule page), peuvent faire du full duplicate :!: