Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/js/fast_baidu_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ function replaceLink(title) {
// originLink.style.color = 'orange'
}
else {
// 其他url 还是使用ajax result 替换
showUrlTxt = showUrlTxt.replace(/\.\.\..*/, "")
// 其他url 还是使用ajax result 替换,去除部分链接中https前缀,避免替换失败
showUrlTxt = showUrlTxt.replace(/\.\.\..*/, "").replace("https://","")
showUrlTxt = $.trim(showUrlTxt)
baiduDotComIndex = showUrlTxt.indexOf("baidu.com")
if(baiduDotComIndex > 0 ) {
Expand Down