私はこれを理解できません:
var right = {"Google" :1, "Bing" :1}
        do {
            var website = prompt("Where should I redirect you: Google, Yahoo!, ebay or CCSF?", "");         
        } while (!right[website]);
        if (website == "Google") {
            var url = "https://www.google.com/";
            window.location(url, '_blank');
            window.focus();
        } else if (website == "Bing") {
            var url = "http://www.bing.com/";
            window.location(url, '_blank');
            window.focus();
        } else {
            ;
        }
ループは、正しい単語 (私の例では Google または Bing) を入力するまで人を保持することになっています。ただし、この URL を開く次の機能は機能しません。(select/option は使いたくない)。また、最後の「else」も疑わしいようです。
ありがとうございました。