AirBashX / UserScript

🐵 自用的油侯脚本
https://greasyfork.org/zh-CN/users/698573
GNU General Public License v3.0
103 stars 9 forks source link

使用bing会出现替换搜索项导致无法正常打开网页 #22

Closed 892050179 closed 3 months ago

892050179 commented 6 months ago

https://github.com/AirBashX/UserScript/blob/98269fbe4a01d63a59b5f2751675975f9c2f1465/LinkManager.user.js#L424 该位置存在错误导致使用bing替换的搜索项无法正常打开网页。 应该把此处的替换为 a.href = cite.innerText;

使用bing国内版没有重定向,可判断#est_cn是否为选中状态,若非选中状态可以不做处理

AirBashX commented 4 months ago

目前更新了新版本,国外版应该是没问题了,后续会采取你这个方案