Make edits to all URLs accessed in my computer
by dedec0 from LinuxQuestions.org on (#6QNJG)
Hello,
I suppose this is the better forum for my question, but you may suggest moving it to other, if you think it is better. It depends on what can be the answer(s), so, I am a bit unsure, right now.
I want to configure my Debian to change (redirecting, I imagine a solution, but I need guidance on how to do it) some URLs, with arbitrary rules I can imagine for them.
For example, when my browser access
http://something.good/?bad="trash"
I want to redirect it to
http://something.good/
Removing all GET variables is something, but removing only one among more can be also desired.
Another example can be changing
http://something.good/wherever
to
http://something.good/restaurant
Further, changing domains and subdomains are surely wanted. And when the protocol for those URLs are given as https, instead of http (as I just discovered a trouble, and asked in a separate and probably much simpler question, with this small intersection, and that thread is here: How to block https websites like the others?
I am not sure if I can change all these things in the OS level. I think it is possible, and will not probably be much hard. But I need to learn new things, at list about Debian settings, and (possibly) linux settings too. A browser extension is bad because it would not give results to other programs that access the web: previews in messengers, mail managers, etc.
I want to be over all of them.
I suppose this is the better forum for my question, but you may suggest moving it to other, if you think it is better. It depends on what can be the answer(s), so, I am a bit unsure, right now.
I want to configure my Debian to change (redirecting, I imagine a solution, but I need guidance on how to do it) some URLs, with arbitrary rules I can imagine for them.
For example, when my browser access
http://something.good/?bad="trash"
I want to redirect it to
http://something.good/
Removing all GET variables is something, but removing only one among more can be also desired.
Another example can be changing
http://something.good/wherever
to
http://something.good/restaurant
Further, changing domains and subdomains are surely wanted. And when the protocol for those URLs are given as https, instead of http (as I just discovered a trouble, and asked in a separate and probably much simpler question, with this small intersection, and that thread is here: How to block https websites like the others?
I am not sure if I can change all these things in the OS level. I think it is possible, and will not probably be much hard. But I need to learn new things, at list about Debian settings, and (possibly) linux settings too. A browser extension is bad because it would not give results to other programs that access the web: previews in messengers, mail managers, etc.
I want to be over all of them.