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
947 stars 46 forks source link

[发现错误] sharepoint.com的Excel字体列表中字体名称出现乱码 #262

Closed SelfishSailfish closed 11 months ago

SelfishSailfish commented 11 months ago

1. 准备工作

2. 描述错误信息

Excel webapp 字体列表乱码。添加*.sharepoint.com到排除列表也无效果

3. 错误再现

在Excel webapp选择字体下拉菜单

4. 屏幕截图

image

5. 预期结果

可以正确显示

6. 客户端信息

7. 脚本运行环境排查 (请确认环境条件并填写相关信息)

8. 附加信息(在此处添加您认为有用的其他信息)

F9y4ng commented 11 months ago

我没有组织账户用于登录sharepoint.com,所以无法看到问题页面。

我相信你也无法提供测试账户,所以你遇到的这问题我无法帮助你解决。

 不过你可以打开页面上字体选取列表后,按Ctrl+Shift+C打开元素选择器,选中不显示的字体名称,并将元素选择器截图上传至这里,我会尝试给你解决方案(不代表一定能解决)。

SelfishSailfish commented 11 months ago

我没有组织账户用于登录sharepoint.com,所以无法看到问题页面。

我相信你也无法提供测试账户,所以你遇到的这问题我无法帮助你解决。

不过你可以打开页面上字体选取列表后,按Ctrl+Shift+C打开元素选择器,选中不显示的字体名称,并将元素选择器截图上传至这里,我会尝试给你解决方案(不代表一定能解决)。

image 如图所示

F9y4ng commented 11 months ago

尝试一下: 在需要渲染的网页元素中,追加 :not(span[class*='ms-Button']),保存为站点独享数据。

如无效,请截图这部分内容: PS_2023-09-20_15-02-48

SelfishSailfish commented 11 months ago

需要渲染的网页元素中,追加 :not(span[class*='ms-Button']),保存为站点独享数据。

求救如何追加?

F9y4ng commented 11 months ago

求救如何追加?

https://github.com/F9y4ng/GreasyFork-Scripts/wiki/%E5%AD%97%E4%BD%93%E6%B8%B2%E6%9F%93%EF%BC%88%E8%87%AA%E7%94%A8%E8%84%9A%E6%9C%AC%EF%BC%89

SelfishSailfish commented 11 months ago

:not(span[class*='ms-Button'])

Untitled 是这个吗

F9y4ng commented 11 months ago

Try this:

:not([class*='ms-Button'] *)