zxlie / FeHelper

😍FeHelper--Web前端助手(Awesome!Chrome & Firefox & MS-Edge Extension, All in one Toolbox!)
https://www.baidufe.com/fehelper
MIT License
5k stars 1.24k forks source link

代码美化功能一旦关闭无法开启? #145

Open eeeecw opened 3 years ago

eeeecw commented 3 years ago

直接打开js页面的时候,有代码美化的一个提示窗口,吸顶的黄色的操作条。 但是如果选择了关闭,以后就无法打开了吗?这样太残忍了。。

krsy commented 3 years ago

我也手贱点了关闭,现在很苦恼,没有办法恢复了吗

zxlie commented 3 years ago

恩。。。目前我确实是这样设计的,毕竟都选择「彻底关闭」了 如果实在是想恢复使用这个功能,可以通过这样的方法来搞:

1、打开FeHelper设置页面: chrome-extension://pkgccpejnmalmdinmhkkfafefagiiiad/options/index.html

2、打开Console,执行下面这段代码:

chrome.runtime.sendMessage({type:"fh-dynamic-any-thing",func:((e,t)=>(localStorage.setItem("JS_CSS_PAGE_BEAUTIFY",1),t&&t(),!0)).toString()});