The following are the blog posts tagged as hack
echo
Jun
19
2009

Bypass image proxy for Globe Telecom 3G/EDGE/GPRS

Globe Telecom uses a transparent proxy on it’s http.globe.com.ph access point. This means when you open a website, it passes thru their server for caching or whatever purpose it might server before it reaches your cellphone or computer.

Before caching
URL of image when not cached.

I’ve noticed though that they replace the URL of images inside <img> tags with another URL on their server for caching. This, in turn, causes some problems with web applications that requires authentication and generates images on the fly such as StatCounter. This replacement/caching process is only done when Globe Telecom detects that you are using a web browser on a computer or on a mobile phone (I curl-ed this website and the output did not have any URL replacements).

URL of image after caching!
URL after caching. Notice, the cached and compressed image is in Globe or a third-party partner’s server.

As a workaround, you can spoof your User-Agent by modifying the headers of your requests. You may do this in Firefox by:

  1. Going to about:config. A warning will have to scare you but just continue.
  2. Then, find the general.useragent.extra.firefox setting. Using the filter above may help you find it.
  3. Once you find it, double click the entry and change it to whatever you want. For it to work, it should not contain words like Mozilla, Firefox, Safari or other web browsers. I’ve changed mine to MikkoFox. :D

about:config screenshot

Have fun browsing without cached images. :D

Tags: ,  
Posted in Internet, Mobile