Lines Matching full:engine
48 var engine = localStorage.getItem(preferenceKey);
49 if (engine === null) {
50 engine = isBrowsingLatest ? "google" : "sphinx";
52 setActiveSearchEngine(engine);
67 function setActiveSearchEngine(engine) {
68 if(engine === "sphinx") {
76 var selectedElement = document.getElementById("search-se-menuitem-" + engine);
78 "search-se-menuitem-" + (engine === "sphinx" ? "google" : "sphinx")
87 window.switchSearchEngine = function (engine) {
88 setActiveSearchEngine(engine);
89 localStorage.setItem(preferenceKey, engine);