Jump to content

Google X ?


SE_Danny

Recommended Posts

Hi !I recently discovered the Mobilizer from Google : http://www.google.com/gwt/xAnd I asked myself : How is this working ???I mean how are they dislpaying these sites without iframes ?And it even changes the links inside the page ! For exemple : if in the normal page it's src="http://exemple.com/" , it's changed to something like src="http://www.google.com/gwt/x?u=http://exemple.com/"How is this possible?I looked in the code source and did some research but could not find anything...Can someone help me please ?Thanks !

Link to comment
Share on other sites

Hi !I recently discovered the Mobilizer from Google : http://www.google.com/gwt/xAnd I asked myself : How is this working ???I mean how are they dislpaying these sites without iframes ?And it even changes the links inside the page ! For exemple : if in the normal page it's src="http://exemple.com/" , it's changed to something like src="http://www.google.com/gwt/x?u=http://exemple.com/"How is this possible?I looked in the code source and did some research but could not find anything...Can someone help me please ?Thanks !
It changes all the links so they will load the page in Google.
Link to comment
Share on other sites

they could just be using something like cURL to get the webpage as text and then load that into some sort of formatter to make it more compatible for viewing in a mobile web browser.

Link to comment
Share on other sites

The security reason you're talking about is JavaScript related.In the case of Google here, they're doing what is commonly called an "HTTP proxy". With an HTTP proxy, you're embedding the source code of the specified page as part of your source, manipulating it in any way you want to (with HTTP proxies usually altering links and images so that you can keep using them), but the JavaScript is still executed over your domain.Is it a security risk from a user's point of view still? Yes. You're trusting that the proxy is not going to keep any of the HTTP requests you made to it, which may contain sensetive information. Then again, for information that must REALLY be protected, you should be using only HTTPS served forms, which HTTP proxies can't really work with... at least not without a big warning appearing on your browser.

Link to comment
Share on other sites

Any server-side language could do it. I don't think Google regularly uses PHP though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...