cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Firefox needs to do something about Back-Button-history loading

KirkH420
Making moves

Websites are regularly filling up the back-button history with several copies of the same page, or even injecting different URL that the user never visited.

Please come up with a way to stop websites from having the ability to inject URLs into the back button. I don't even see why this is a desirable feature to have in a web browser. Back should do what it's intended for, not be manipulated by web designers to send the user somewhere else (or keep them on the page.) Thanks.

1 ACCEPTED SOLUTION

jscher2000
Leader

There is a preference related to this which hasn't been switched to true because... I'm not sure, maybe there are bugs? If you want to try it:

(A) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. Please keep in mind that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(B) In the search box in the page, type or paste browser.navigation.requireUserInteraction and pause while the list is filtered

(C) Double-click the preference to switch the value from false to true

 

 

View solution in original post

5 REPLIES 5

jscher2000
Leader

There is a preference related to this which hasn't been switched to true because... I'm not sure, maybe there are bugs? If you want to try it:

(A) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. Please keep in mind that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(B) In the search box in the page, type or paste browser.navigation.requireUserInteraction and pause while the list is filtered

(C) Double-click the preference to switch the value from false to true

 

 

I was not able to make the back key work correctly regarding the combination of browser.navigation.requireUserInteraction and browser.backspace_action I configure. With the later one set to 0, I get the previous url pasted into the URL bar but the page is not loaded. I need to press enter to really go back to the original page and that will also translate to a page reload, meaning that original position on the page will be lost.


@ssbarnea wrote:

I was not able to make the back key work correctly regarding the combination of browser.navigation.requireUserInteraction and browser.backspace_action I configure. With the later one set to 0, I get the previous url pasted into the URL bar but the page is not loaded. I need to press enter to really go back to the original page and that will also translate to a page reload, meaning that original position on the page will be lost.


I don't know whether this is a known issue. If you don't mind filling in nerdy forms, you could file a bug on https://bugzilla.mozilla.org/.

It seems to me that setting this to true breaks history in YouTube with autoplay. Maybe a desirable behaviour would be requiring user interaction OR some duration?

KirkH420
Making moves

Hey, thanks for the answer! I will give this a try. I appreciate the tip.

Since it will probably be a while for me to test this out, I'll go ahead and mark the answer as accepted now, and next time I come back here, if it lets me, I'll leave a comment regarding how it worked for me.

Thanks again.