Tag Info

Hot answers tagged

2

I created a cloaking function in JavaScript: function isBot(){ return /bot|crawl|slurp|spider/i.test(navigator.userAgent) } Then I use that function to either show the passwords onload, or to show a message saying why no passwords were generated: if (isBot()){ $('#isbot').show(); } else { showLists(); } Now when I use the "Fetch and Render" ...


1

Your web server contains a configuration file with a configuration that directs traffic from certain sources to pages with the suspicious script. If you're using apache, start with the .htaccess files in your document root folder and every folder recursively within it. Look for any lines containing "user_agent" or "remote_addr" or even google or other ...


1

robots.txt can block JavaScript files from Googlebot. http://www.robotstxt.org/ has more information about how to construct a robots.txt file. You could put your JavaScript that shows the password into an external JavaScript file (called showlists.js): $(document).ready(function(){ showLists(); }); Call that JavaScript file in the page head: ...


1

You need to make sure that both servers have the exact same document root folder defined in the configuration files. In a fresh install of apache, look at httpd.conf and find contents similar to this: # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and ...


1

Google has a spec for AJAX (SPA) applications, https://developers.google.com/webmasters/ajax-crawling/docs/specification. basically you need to provide the server the same content, but by using classic web site (request-response) technology. I call it a core site.



Only top voted, non community-wiki answers of a minimum length are eligible