eight04 / linkify-plus-plus

A userscript/extension which can linkify almost everything. Based on Linkify Plus.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onion links

w4t3r1ily opened this issue · comments

Realized LPP doesnt linkify onion links. Is that purpose or bug?

commented

Can you provide some examples?

I just mean that something.onion doesn't turn into link the same way something.com does.

The script validates a URL by its top level domain. You can see a list here:
https://github.com/eight04/linkify-plus-plus-core/blob/master/lib/tlds.json
Since .onion is not a valid domain, it won't be linkified.

Do onion links have the same format as regular URLs? If so then we can try adding .onion to TLD list so they will be linkified as well.

Yes, I tried that and it works.