Monday, December 24, 2012

Modify Headers Add-on: testing your website on Firefox like mobile device

There are some add-ons for Firefox which can simulate data sent to servers to make it seem as if the user agent is browsing on a mobile device, even when they’re not. One of them is Modify Headers addon.

Here is its quick start:

Here is the list of iPhone User-Agent:

Here is the other User-Agent profile:

Here is iPad UA:
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

For Google Chrome, you can try out the User-Agent Switcher extension.

Happy testing :)

Joomla 2.5: Load module by module id

This plugin will help you load a module into an article by its id.

+Thoi Trang Tre Em

Tuesday, December 4, 2012

Convert RTF to HTML

Here are some places to get the source code:

Subscribe to RSS Feed Follow me on Twitter!