Search code examples
javascriptajaxfirebugpreview

Google instant preview doesn't make an ajax resquest! How is that possible?


This new feature in google called google instant preview (where you click the magnifying glass) that shows a snapshot of the page doesn't produce any ajax request or such as far as firebug can see. How is that possible? Is there another magic way of retrieving content without using an XMLHttpRequest (ActiveX for for the slow people)


Solution

  • The robot which collects the page has a "Google Web Preview" user agent. You could serve a version which doesn't show the popup when that user agent visits.