this post was submitted on 14 Mar 2025
32 points (100.0% liked)
Linux
52889 readers
243 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Edit: Oh, OP basically already said the same thing.
I think it really depends on the website and even where you are on the website. For example, if you're on YT, the
watch?v=<b64_id>
is probably not something you want to throw away. If you're on a news site likeimaginarynews.com/.../the-article-title/?tracking-garbage=<...>
then you probably do. It's just a matter of having "sane" defaults that work as most people would expect.Sure, but my script only gets rid of the second and later parameters, i.e. ones with
&
not?
. Personally I don't think I've ever seen a single site where an&
param is critical. These days there few where the?
matters either, but yes YT is a holdout.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.
Search results, sure. Personally I have rarely if ever wanted to save or share such URLs. But sure.