Comment on I wrote hacky tampermonkey script to fix Lemmy instance links. Any advice?

<- View Parent
Andy@programming.dev ⁨1⁩ ⁨year⁩ ago

user:pw@lemdro.id:443 is a valid url to lemdro.id and should match but will not

Well that one:

maliciouswebsite.to/?q=http://lemdro.id will match but should not

No, it does not match.


AFAICT, this solution is working properly, but if you can find a URL that breaks it, please let me know.

source
Sort:hotnewtop