🔗 Links Helper

Open external links in a new tab, open internal links matching the specified rules in a new tab, convert text to hyperlinks, convert image links to image tags(<img>), parse Markdown style links and image tags, parse BBCode style links and image tags

< Feedback on 🔗 Links Helper

Review: Good - script works

§
Posted: 2025-12-09
Edited: 2025-12-09

偶然发现个页面文本链接自动转换为超链接无效

https://post.smzdm.com/p/ae5rg7nk/
这个页面的
www.west.cn/web/mi
勾了脚本选项无效,因为是标准的www所以来反馈下,作者看看是匹配问题还是网页限制(很可能)

github那边比较冷清还是来这边反馈,顺便加个好评

帖子点进来有点怪怪的,编辑下看好点不

PipecraftAuthor
§
Posted: 2025-12-09

我看了下代码,文本链接 http://https:// 开始的文本才会转换为链接。www.west.cn/web/mi 改成 https://www.west.cn/web/mi 的话,会自动变为链接。

当时这个功能是因为 v2ex 和微信公众号里文本链接不能点击加的转换功能。因为很吃性能,规则限制比较严格,也能减少误转换的可能。

后续有时间时,看看能不能优化吧。

Post reply

Sign in to post a reply.