Greasy Fork is available in English.

Linkify Plus Plus

Based on Linkify Plus. Turn plain text URLs into links.

< 脚本Linkify Plus Plus的反馈

提问/评论

kd
§
发表于:2020-05-21

Remove a part of a URL ?

Hi. Is there a way to remove/ignore parts of a URL?

For example:

Http://www.example.com/unnecessary

gets converted into the following clickable link

Http://www.example.com/unnecessary

So basically just the main site without anything after the / Or a way to ignore some words, like "unnecessary" in this case.

eight作者
§
发表于:2020-05-25

Nope. The script treats "unnecessary" as the path part of the URL. One simple fix is to add a space between the domain and "unnecessary".

发表回复

登录以发表回复。