comment #8 - More detection + add release note

This commit is contained in:
Thomas 2020-04-04 10:07:51 +02:00
parent a6cc1c149f
commit 110e15a6b1
2 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,8 @@ class Utils {
"hmb_medium", "hmb_medium",
"hmb_source", "hmb_source",
"[\\?|&]ref[\\_]?", "[\\?|&]ref[\\_]?",
"amp[#\\w]+" "amp[_#\\w]+",
"[\\w]+"
}; };
@ -144,6 +145,7 @@ class Utils {
url = url.replaceAll("&" + utm + "=[0-9a-zA-Z._-]*", ""); url = url.replaceAll("&" + utm + "=[0-9a-zA-Z._-]*", "");
url = url.replaceAll("\\?" + utm + "=[0-9a-zA-Z._-]*", "?"); url = url.replaceAll("\\?" + utm + "=[0-9a-zA-Z._-]*", "?");
url = url.replaceAll("/" + utm + "="+ urlRegex, "/"); url = url.replaceAll("/" + utm + "="+ urlRegex, "/");
url = url.replaceAll("#" + utm + "="+ urlRegex, "");
} }
} }
if (url != null && url.endsWith("?")) { if (url != null && url.endsWith("?")) {

View File

@ -1,5 +1,6 @@
Added: Added:
- Allow to redirect Invidious, Nitter and Bibliogram links to the preferred instances - Allow to redirect Invidious, Nitter and Bibliogram links to the preferred instances
- Remove amp tracking after unshortening URL
- Unshorten support for buff.ly - Unshorten support for buff.ly
Changed: Changed: