How to get 1080p in Youtube’s HTML5 player in Firefox

Recently, I updated my Firefox browser, and when I was watching Youtube, I couldn’t get 1080p HD anymore. 🙁

I found this article and it solved my issue. Let me remember these steps just in case in future it happened again.

  1. Enter
     about:config

    in your address bar to get to the advanced configuration page. Click “I’ll be careful, I promise” (and actually be careful because you can break all sorts of things in there if you’re not!) to continue.

  2. Search
    "mediasource"

    to see the options you need.

  3. Double-click both “media.mediasource.enabled” and “media.mediasource.webm.enabled” in order to change their value to “true”.

Domino’s Pizza $5.95 mobile ordering site exploit

Domino’s Pizza has new mobile ordering site, and any value or traditional pizza only $5.95 each pick up.
This deal is for mobile user only. It will re-direct non-mobile user to normal online ordering site, and the price jumps up to $7.95.

From technical perceptive, how does Domino’s server determine a mobile user? Normally a web request contains “User-Agent” to help web server tell who is visiting. This is a typical example of web request. If we change the “User-Agent” content, we can cheat domino’s web server and order $5.95 pizza.

GET / HTTP/1.1
Host: www.dominos.com.au
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive

OK, let’s do it!

  1. Download user agent switcher for your Firefox and install.
  2. Change user agent to iPhone
  3. Star ordering from http://dominos.com.au/mobile.aspx and enjoy $5.95 pizza