新增恢复扩展默认配置

pull/387/head
jingjingxyk 2 years ago
parent 3f74d11ebf
commit 3759b87881

@ -233,7 +233,7 @@ let setupConfig = (search_engine_name, tab) => {
let cleanOpener = () => { let cleanOpener = () => {
sessionStorage.removeItem(opener_key); sessionStorage.removeItem(opener_key);
console.log("重置搜索结果打开方式配置---ok"); console.log("恢复扩展默认配置---ok");
}; };
export { export {

@ -63,7 +63,7 @@ let init = () => {
let table = document.querySelector("#readme table"); let table = document.querySelector("#readme table");
let parent = table.parentNode; let parent = table.parentNode;
let note = document.createElement("span"); let note = document.createElement("span");
note.innerText = `重置扩展提供的搜索结果打开方式`; note.innerText = `恢复扩展默认配置`;
note.setAttribute( note.setAttribute(
"class", "class",
"chinese-programmer-wrong-pronunciation-custom-note-reset" "chinese-programmer-wrong-pronunciation-custom-note-reset"

Loading…
Cancel
Save