tumpio / requestcontrol

A Firefox extension
https://addons.mozilla.org/addon/requestcontrol
Mozilla Public License 2.0
173 stars 25 forks source link

why do intermediate URLs appear in browser history? #85

Closed practik closed 6 years ago

practik commented 6 years ago

Last question: I've noticed that when a filter or redirect rule is applied, the intermediate URL still appears in the browser history. For example:

If I open https://addons.mozilla.org/en-US/firefox/addon/requestcontrol/ and click on the "Support Site" link, the URL in the address bar immediately changes to https://github.com/tumpio/requestcontrol/issues.

But if I check Firefox history, the sequence is:

Is this correct behavior?

anewuser commented 6 years ago

Yes, all manipulated URLs are added to your history even though they aren't being downloaded. The developer would need to make the extension more complex to remove those history entries. You can use this instead and remove all unwanted history entries automatically:

https://addons.mozilla.org/addon/historia/

practik commented 6 years ago

Thanks, @anewuser. I thought that would be the answer, but I just wanted to check – when I first saw those history entries I thought maybe Request Control wasn't actually filtering the requests. Historia looks interesting, thanks for the tip!