comment #8 - More detection + add release note
This commit is contained in:
parent
a6cc1c149f
commit
110e15a6b1
|
@ -59,7 +59,8 @@ class Utils {
|
|||
"hmb_medium",
|
||||
"hmb_source",
|
||||
"[\\?|&]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 + "="+ urlRegex, "/");
|
||||
url = url.replaceAll("#" + utm + "="+ urlRegex, "");
|
||||
}
|
||||
}
|
||||
if (url != null && url.endsWith("?")) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Added:
|
||||
- Allow to redirect Invidious, Nitter and Bibliogram links to the preferred instances
|
||||
- Remove amp tracking after unshortening URL
|
||||
- Unshorten support for buff.ly
|
||||
|
||||
Changed:
|
||||
|
|
Loading…
Reference in New Issue