fix get-firefox-tab-url to get url more reliably

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