Fix redirectUrl; use foolish.row3.org:1337 vs row3.org

1. When using row3.org, the redirected url becomes weird things, i.e.,
gosafe.htmlblank.html, which results in page not being found.
2. Fix code that tries to pick up values from popup.html directly.