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/2693 below:

Implement `$queryjump` for static network filter · Issue #2693 · uBlockOrigin/uBlock-issues · GitHub

Prerequisites I tried to reproduce the issue when... Description

Based on the idea of #760 (comment), could there be any ways to implement a way of redirecting to a query parameter? The main goal is to reduce click-tracking and instertitial ad-page while minimizing users' annoyances of strict-blocking page. It can be a nice complement for removeparam and href-sanitizer.

The difference between queryjump and href-sanitizer are at least these 3 things:

  1. The click-tracking is added by javascript after clicking on it.

Example: Links on youtube. Steps to reproduce:

youtube.com##+js(href-sanitizer, a[href^="https://www.youtube.com/redirect?"][href*="&q="], ?q)
  1. Email click-tracking. Since href-sanitizer is a scriptlet applying to specific websites, it would not be too appropriate to use it since emails are sent to many different email vendors.

Example: Pinterest URLs in email has the form of https://www.pinterest.com/email/click/?user_id=...&target=...

https://www.pinterest.com/email/click/?user_id=MTA0MTk1MDIwMTE5NzI0MDMyNg%3D%3D&od=dD0yZDBjZGRiODIzMGQ0NzI2YjJiYzMzZjVhNzYwMmUwMyZjPVRSRU5ESU5HX1NFQVJDSEVTJnM9OTFlMzYwOGNmYWIxMzZhMjBiOWJiODFlMTI2YjkyYzgmbj02ZmM4OGY3NDljYzM0ZTRlODZkZDAzZDVmNTdlOWJlMA%3D%3D&target=https%3A%2F%2Fwww.pinterest.com%2Fsecure%2Fautologin%2F%3Fuser_id%3DMTA0MTk1MDIwMTE5NzI0MDMyNg%253D%253D%26od%3DdKKENk85zsaP7IxNnl%252B%252F3BfKeAdMt2BnnX4kIzzErLl%252BHJCI3X3MgQ5Vyk8Bgv46xaFJxo2UFLLGns6W2EWnAwCuw6ezCA%252BLt6DIu8G6yCOaNDrS6aAHtNw2mvy2R296xiOFGxkxngakYRQIxAYpwQ%253D%253D%26next%3D%252Fsearch%252Fpins%252F%253Frs%253Demailtrending%2526q%253DM%2525C3%2525A0u%252520%2525C4%252590en%2526source_id%253Dets_mkvrQjX2%2526utm_campaign%253Dtrending_searches%2526e_t%253D2d0cddb8230d4726b2bc33f5a7602e03%2526utm_source%253D31%2526utm_medium%253D2031%2526utm_term%253D1
  1. 3rd-party click-tracking service that are used by many websites.

Example: app.adjust.com is usually used as an interstitial tracking link for website's mobile apps promotion. Steps to reproduce:

https://app.adjust.com/trmm8ps_g8xwzkj?fallback=https%3A%2F%2Fwww.paypal.com%2Fuk%2Fwebapps%2Fmpp%2Fmobile-apps
https://app.adjust.com/4d876gw?campaign=pc&adgroup=top&creative=20200114-1&redirect=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Djp.or.jwa.tenkijpyama

I think the syntax can be similar to removeparam?

||youtube.com/redirect?*&q=$queryjump=q
A specific URL where the issue occurs.

https://www.youtube.com/watch?v=Onr0frormCU

Steps to Reproduce
  1. Access https://www.youtube.com/watch?v=Onr0frormCU
  2. Click on any link in the description of youtube's video.
Expected behavior

Go to direct link that appears in youtube's description. For example: https://github.com/gorhill/uBlock/wiki/Dashboard:-Filter-lists#purge-all-caches

Actual behavior

There's youtube interstitial redirection link before going to direct link. For example:

https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbmpTbkQwX0tMWjlVbWlrcEV3eFBBcXZqNWd5QXxBQ3Jtc0tuTWI2N2FLMFBGMnZWUlB4ektSRUVUUUF3dXluemdSeXhNS1RYbXNJMVVhR2E0ek11UzdERmdSY242a2cxUU1MdDRUbVN0V0xVMzVZdjMtNzZqVGFkeDVablpKM3lCR0ZhVnhjc1FlTTU2bkRHeDBuNA&q=https%3A%2F%2Fgithub.com%2Fgorhill%2FuBlock%2Fwiki%2FDashboard%3A-Filter-lists%23purge-all-caches&v=Onr0frormCU
uBO version

1.50.0

Browser name and version

Firefox 114.0.1

Operating System and version

Windows 10

MasterKia, OverzealousLotus, dportvine, iam-py-test and astolfoismywaifu


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