Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“检测页面元素”可能无法适用于基于Firefox的其他浏览器 #2307

Closed
pm2kjiagm opened this issue Aug 15, 2022 · 1 comment
Closed
Milestone

Comments

@pm2kjiagm
Copy link

联系方式

No response

发生了什么?

Snipaste对“是否为Firefox”的检测可能基于安装路径或者文件名称,这导致基于Firefox的其他浏览器(例如:Waterfox)无法启用这一功能。

复现:

  1. 正常安装Waterfox,默认安装路径为%programfiles%\Waterfox。
    在此情况下,“检测页面元素”不生效,about:support的无障碍环境“已激活”显示为false;

  2. 将%programfiles%\Waterfox的文件夹名称修改为“Mozilla Firefox”
    在此情况下,“检测页面元素”生效,about:support的无障碍环境“已激活”显示为true;

  3. 将上一步的文件夹名称恢复原状,并将执行文件“waterfox.exe”的文件名修改为“firefox.exe”
    在此情况下,“检测页面元素”生效,about:support的无障碍环境“已激活”显示为true;

  4. 将上一步的文件名称恢复原状
    在此情况下,“检测页面元素”不生效,about:support的无障碍环境“已激活”显示为false。

暂时的回避办法:
将Waterfox安装在%programfiles%\Mozilla Firefox。

需求:
希望增加一个“Firefox所在位置”的参数,以便手动指定。

运行平台

Windows 桌面

软件版本

2.7.3-Beta

@liulex
Copy link
Member

liulex commented Oct 19, 2022

是基于文件名的。
下个版本 2.8 我把 waterfox.exe 也加上吧。

@liulex liulex added this to the 2.8 milestone Oct 19, 2022
@liulex liulex closed this as completed Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants