While some websites (such as Youtube) have dedicated HTML5 versions, most other websites are still using Flash only. Interestingly, if you browse these sites on a mobile device then you'll find that they have actually been adapted to run without Flash. The premise is, using a special filter for GlimmerBlocker, we can have a system-wide setting in place which will spoof the user agent of an iPad to coax these websites into displaying Flash-free HTML5 goodness. Why are we spoofing an iPad? Well because it has a resolution similar to that of our PPC machines - the result is that we get a cleaner layout, but one which was designed for a bigger screen as opposed to a tiny mobile.
You will need GlimmerBlocker installed and running.
In the filters tab, add a new filter to store the rule in.
Add a new rule and leave everything as-is except Action, which needs to be changed to Modify Request. If you only want the to view certain sites then you can add them to the Host box - you will need to duplicate the rule for each site.
On the Request tab, copy and paste the following code:
If you only want to apply this rule to a single browser, then uncomment the line mentioned and change Safari to whichever browser you want it to apply to.
You should be all good to go!
Quite a few browsers have a user agent changer built in, but I use Stainless which does not - hence why I created this.
Enjoy!
You will need GlimmerBlocker installed and running.
In the filters tab, add a new filter to store the rule in.
Add a new rule and leave everything as-is except Action, which needs to be changed to Modify Request. If you only want the to view certain sites then you can add them to the Host box - you will need to duplicate the rule for each site.
On the Request tab, copy and paste the following code:
Code:
var ua = gb.request.headers["User-Agent"]
ua = ua ? ua.toString() : "none";
//if (ua.match(/Safari/)) // Uncomment this line if you only want a single browser to display in mobile mode
gb.request.headers["User-Agent"] = ["Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10"];
You should be all good to go!
Quite a few browsers have a user agent changer built in, but I use Stainless which does not - hence why I created this.
Enjoy!
Last edited: