A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/uBlockOrigin/uBlock-issues/issues/1356 below:

Add AdGuard's "$removeparam" as an alias for "$queryprune" · Issue #1356 · uBlockOrigin/uBlock-issues · GitHub

Prerequisites Description

I've been working on https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt for some weeks now, which I did while presuming that only AdGuard had a feature to remove $/& parameters from URLs. But during some syntax checking of regional lists, I discovered that $queryprune seems to have been added to uBO.

However, those two $ qualifiers seem to me to do the exact same thing, with only 2 current exceptions:

  1. AdGuard removes the parameters at the network level instead of in the URL bar
  2. $removeparam does not seem to need | in its values.

I therefore propose that they should be made into aliases of each other. This would save me from having to maintain and sync two different versions of that list, one for uBO and one for AdGuard.

A specific URL where the issue occurs

https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt

Steps to Reproduce
  1. Turn on uBO's logger
  2. Set the tab to "All"
  3. Attempt to add or sync https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt
  4. See that the logger considers all its entries to be an Invalid network filter in https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt:.
Expected behavior:

$removeparam is treated as being $queryprune

Actual behavior:

$removeparam does not work in uBO.

Your environment

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4