zxlie / FeHelper

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

请停止为 body 注入内边距 #197

Closed YoringChen closed 1 year ago

YoringChen commented 1 year ago

JSON 格式化插件会为 body 标签添加左右边距 8px。目前所有页面都受影响

DarknessChaser commented 1 year ago

+1 可以临时设置为 image 点击后才能访问网页数据规避

fi3ework commented 1 year ago

+1,不只是 padding 泄露,还有字体的 -webkit-font-smoothing: antialiased;

看起来泄露的代码在 JSON formatter https://github.com/zxlie/FeHelper/blob/8ae3852ee574a45b9e8deaaa4be4a7d5f29b3066/apps/json-format/content-script.css#L279-L281

YangAidi commented 1 year ago

+1,2022-12-27下午开始出现的,特别是字体变细了,导致整个页面看起来好难受。。

zxlie commented 1 year ago

已发现这个问题,马上会发布一个版本Fix

n0099 commented 1 year ago

200

n0099 commented 1 year ago

左右边距 8px: image 我还以为github前端突然删了 https://github.com/necolas/normalize.css/

zxlie commented 1 year ago

对此bug给大家造成的困扰,表示非常感谢!🙏 在审核中的FH V2022.12.2716版本中,已经采取按需注入方式,也就是只有页面是JSON并且通过工具美化完以后,才会注入样式,其他任何情况都不会。在最新版本还没审核之前,请大家暂时禁用FH

zxlie commented 1 year ago

最新版本 V2022.12.2716 已经审核通过,可以到 chrome://extensions/ 手动更新下;在新版本里,所有样式都会按需注入;之前的样式注入是一个Bug,不是有意为之,望理解哈