リンクが機能しているかどうかにかかわらず、任意のドメイン名のリンクをチェックしていますが、ローカルホストからデバッグしているため、特定のドメイン名を指定することはできませlocalhost:xyz/preferences?hl=en
ん。 ?hl=en ) 文字列を置き換えることでできること
var linkWithLocalHost = "http://localhos:234/foo";
var result = // ??? some code that manipulates linkWithLocalHost
// expecting "http://google.co.il/foo" as result