• 0 Posts
  • 49 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
    0
    ·
    24 days 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
    0
    ·
    edit-2
    24 days 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
    





  • ivn@jlai.lutoLinux@lemmy.mlImmutable Distro Opinions
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    I’ve had NixOS absolutely refuse to run some compiler toolchain I depended upon that should’ve been dead simple on other distros, I’m really hesitant to try anything that tries to be too different anymore.

    Yes, some toolchain expect you to run pre-compiled dynamically linked binaries. These won’t work on NixOS, you need to either find a way to install the binary from nix and force the toolchain to use it or run patchelf on it somehow.


  • ivn@jlai.lutoLinux@lemmy.mlImmutable Distro Opinions
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Well that was an approximation to keep it simple and disprove the given example. There are other directories in the root filesystem that are in the path by default, or used in some other critical way (like /etc). Even if they are links to directories in the nix store you can replace the link.




  • ivn@jlai.lutoLinux@lemmy.mlImmutable Distro Opinions
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    To be honest I don’t know these very well. I only use NixOS. My understanding is that in an immutable distribution the root filesystem is read-only. Granted in NixOS the nix store is immutable and most things in the root filesystem are just links to the nix store, but the root filesystem itself is not read-only.



  • if it’s being read from, it can be written to.

    Why would being able to read imply being able to write?

    Having an extra step or two in the way doesn’t make it “extremely secure”.

    Well it can greatly improve security by preventing a compromised app to achieve persistence.







  • ivn@jlai.lutolinuxmemes@lemmy.worldThe best Unix
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    I don’t think this is of interest, this is an article in a student journal, written by one person which seems to be a student too. The quote is weak and cherry-picked.

    A quote from the same paper:

    Security measures in Linux are slim to none as it is a free OS to download.