|
|
|
@ -115,10 +115,10 @@ let showSetSearchEngine = (box, window_close_icon) => {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
let search_engin_provider = {
|
|
|
|
|
"goToYouDaoSearch": "有道",
|
|
|
|
|
"goToGoogleSearch": "谷歌",
|
|
|
|
|
"goToBingDictSearch": "必应词典",
|
|
|
|
|
"goToBingSearch": "必应",
|
|
|
|
|
goToYouDaoSearch: "有道",
|
|
|
|
|
goToGoogleSearch: "谷歌",
|
|
|
|
|
goToBingDictSearch: "必应词典",
|
|
|
|
|
goToBingSearch: "必应",
|
|
|
|
|
};
|
|
|
|
|
let select = document.createElement("select");
|
|
|
|
|
select.setAttribute("name", "search_engin_provider");
|
|
|
|
@ -139,8 +139,8 @@ let showSetSearchEngine = (box, window_close_icon) => {
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
let search_engin_provider_tab = {
|
|
|
|
|
"current_tab": "当前标签展示结果",
|
|
|
|
|
"new_tab": "新标签展示结果",
|
|
|
|
|
current_tab: "当前标签展示结果",
|
|
|
|
|
new_tab: "新标签展示结果",
|
|
|
|
|
};
|
|
|
|
|
let select = document.createElement("select");
|
|
|
|
|
select.setAttribute("class", "search_engin_provider_tab");
|
|
|
|
@ -233,7 +233,7 @@ let setupConfig = (search_engine_name, tab) => {
|
|
|
|
|
|
|
|
|
|
let cleanOpener = () => {
|
|
|
|
|
sessionStorage.removeItem(opener_key);
|
|
|
|
|
console.log("重置扩展搜索结果打开方式配置---ok");
|
|
|
|
|
console.log("重置搜索结果打开方式配置---ok");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export {
|
|
|
|
|