Make firefox handle urls more effectively.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>