• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: August 24th, 2023

help-circle

  • ivn@jlai.lutoLinux@lemmy.mlClean all URLs in clipboard
    link
    fedilink
    English
    arrow-up
    1
    ·
    22 hours ago

    There are plenty of sites that use more than one parameters. It’s true that a lot of sites now use the history API instead of url parameters but you can still find plenty, and you have no garante about the parameters order. Any site with a search page that have a few options will probably use url parameters instead of the history API. It’s easier to parse and will end up being shorter most of the time.


  • ivn@jlai.lutoLinux@lemmy.mlClean all URLs in clipboard
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    22 hours ago

    Well for youtube it’s quite easy, there are only 4 useful parameters that I can think of, the video id v, the playlist id list and index if it’s a playlist and the time t if you’re sending a specific time in the video. Everything else can be removed. Here’s what uBlock Origin with the AdGuard URL Tracking filter list:

    ! Youtube
    $removeparam=embeds_referring_euri,domain=youtubekids.com|youtube-nocookie.com|youtube.com
    $removeparam=embeds_referring_origin,domain=youtubekids.com|youtube-nocookie.com|youtube.com
    $removeparam=source_ve_path,domain=youtubekids.com|youtube-nocookie.com|youtube.com
    ||youtube.com^$removeparam=pp