This isn't a great solution

But generic `ref` causes problems, so this is a bit of a temp fix. If there is a better regex, feel free to suggest one.
This commit is contained in:
iam-py-test
2023-05-04 20:02:39 -04:00
committed by GitHub
parent 2499ee1ce0
commit b7760c0609
+4 -1
View File
@@ -1,5 +1,5 @@
! Title: ➗ Actually Legitimate URL Shortener Tool
! Version: 04May2023v1
! Version: 04May2023v2
! Expires: 1 day
! Description: In a world dominated by bit.ly, adf.ly, and several thousand other malware cover-up tools, this list reduces the length of URLs in a much more legitimate and transparent manner. Essentially, it automatically removes unnecessary $/& values from the URLs, making them easier to copy from the URL bar and pasting elsewhere as links. Enjoy.
! Homepage: https://github.com/DandelionSprout/adfilt/discussions/163
@@ -3983,6 +3983,9 @@ $document,removeparam=waporef
! https://tech.slashdot.org/story/23/04/19/2219234/imgur-to-ban-nudity-or-sexually-explicit-content-next-month?sdsrc=rel
$removeparam=sdsrc,document
! https://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs?ref=troyhunt.com
$removeparam=/^ref=troyhunt\.com/
!#if !env_mobile
! ——— Entries mostly dedicated to maximising image sizes (thus poorly suited for phones) ———
! https://sproutsluckycorner.files.wordpress.com/2019/12/ring-fit-adventure-smoothies-1.png?w=600 (Shows the actual raw image instead of a promotion page; 25/11/2020)