- New: Custom logic to hide rejected urls. Hide referrer is now disabled by default.
- Fix: Third try to the 'open/share does nothing' bug.
- Fix: Status module no longer decodes the location.
The important feature is the fix? for the bug on newer android versions where opening or sharing links does nothing.
I wanted to add the backup feature, I really did, but I couldn't find the time to implement this :( hopefully next version.
Hi, I'm from Argentina and I'love URLCheck. Can I make you a request? It will be very useful a module to select a DOI from an URL to share to another app (example: this URL https://www.nejm.org/doi/full/10.1056/NEJMe2311558 contain the DOI 10.1056/NEJMe2311558). Another utility would be a module to replace part of the URL with a string (example youtube.com to invidiuos.snopyta.org). Thanks and cheers
ReplyDeleteHi, the Pattern Checker module should match exactly your needs. The configuration is still with json, you need to be careful to paste it at the end before the last '}' (the format is {"name":{...},"name":{...}} careful with the commas!). If you need help just ask (here, email, or github: https://github.com/TrianguloY/UrlChecker/discussions/new/choose)
DeleteFor what you describe:
For extracting the DOI (note that the replacement is not a valid url, but you can still share it):
,"Extract DOI": {
"regex": "https:\/\/www.nejm.org\/doi\/full\/(.*)",
"replacement": "$1"
}
For the youtube to invidious there is already one, but it's disabled by default. You just need to replace the "enabled": "false" with "enabled": "true". You can even add more instances if you like, or even use user-created ones (https://github.com/Raj9039852537/urlChecker-patternchecker-config):
,"Youtube ➔ Invidious": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/(.*)",
"replacement": [
"https:\/\/yewtu.be\/$1",
"https:\/\/farside.link\/invidious\/$1",
"https:\/\/invidiuos.snopyta.org\/$1",
],
"enabled": "true"
}
Thank you for your response, it was very helpful. Thank you for all your work
ReplyDelete