F9y4ng / GreasyFork-Scripts

The open source code of this project is used for userscripts (油猴脚本) for desktop browsers, including Font Rendering (Customized) (字体渲染(自用脚本)- Font Rendering.user.js), and Search Engine Assistant (优雅的搜索引擎助手 - Google & Baidu Switcher.user.js), etc.
https://f9y4ng.github.io/GreasyFork-Scripts/
GNU General Public License v3.0
919 stars 45 forks source link

CSDN 公式渲染问题 #347

Closed ncwuguo closed 1 month ago

ncwuguo commented 1 month ago

测试网页: https://blog.csdn.net/Elenstone/article/details/105677886

CSDN的公式也会被自定义的字体渲染,怎么屏蔽掉,自定义的字体不适合显示公式

F9y4ng commented 1 month ago

需要渲染的网页元素中,追加:not(.katex *),保存为站点独享数据。