为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Have to press backspace key twice to go to previous page.

  • 11 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 Davilo

more options

The first time I press the backspace key it makes the next page arrow button appear on the toolbar, then when I press the backspace key a second time it goes to the previous page. I'm using Fx v. 55.0.1, Windows 10.

The first time I press the backspace key it makes the next page arrow button appear on the toolbar, then when I press the backspace key a second time it goes to the previous page. I'm using Fx v. 55.0.1, Windows 10.

所有回复 (11)

more options

When this occurs, could you right-click the Back button to see whether the current page appears twice in history? This could occur if you use an internal shortcut within the page (address bar may then show #sometext after the address), or some sites apparently add entries to the tab history on their own.

more options

Here's an example of what I'm talking about:

I'm on the following Google search results page:

https://www.google.com/search?q=where+do+i+find+the+model+number+on+a+brother+printer&ie=utf-8&oe=utf-8

and I click on this link:

https://support.office.com/en-us/article/Printing-and-print-preview-1c15515c-98b5-4421-baa9-68b7a870398a

and then click on a Bookmarks Toolbar shortcut to this page (the page you're reading):

https://support.mozilla.org/en-US/questions/1172003

Then when I hit the backspace key or click on the backspace arrow to go to the previous page it takes me back to

https://www.google.com/search?q=where+do+i+find+the+model+number+on+a+brother+printer&ie=utf-8&oe=utf-8

Then if I hit backspace again to return to the Google search results page, nothing happens. I have to hit backspace a second time to make it go back to the google search results page.

Then if I use Alt-forward arrow on keyboard or just click on the forward arrow on the menu bar it takes me back to the to

https://support.office.com/en-us/article/Printing-and-print-preview-1c15515c-98b5-4421-baa9-68b7a870398a

but won't let me page forward any further, so I cant return to the mozilla support page that I visited previously.

more options

(I do not see an office.com result for that query, but I only checked the first page.)

Does this problem occurs only once you click through a Google result? Do you use any add-ons that modify Google results links or try to reduce tracking by Google?

more options

My bad. I posted the wrong google search link in my previous example.

Example #1:

If I go here

https://www.google.com/search?q=office&oq=office&gs_l=psy-ab.3..0i67k1l2j0i131k1j0i131i67k1.4342.5425.0.5523.6.6.0.0.0.0.128.649.3j3.6.0....0...1.1.64.psy-ab..0.6.646...0.zrcsyEQQT_Y

and click on the link titled "Office 2016 for Home, Students and Professionals - Microsoft Store" (about the fifth link down)

https://www.microsoft.com/en-us/store/b/office

I then have to hit backspace twice to return to the previous page.

Example #2:

If I go to the same google search results

https://www.google.com/search?q=office&oq=office&gs_l=psy-ab.3..0i67k1l2j0i131k1j0i131i67k1.4342.5425.0.5523.6.6.0.0.0.0.128.649.3j3.6.0....0...1.1.64.psy-ab..0.6.646...0.zrcsyEQQT_Y

And click on the same search result

https://www.microsoft.com/en-us/store/b/office

and then go to

https://support.mozilla.org/en-US/questions/1172003

I then have to hit backspace twice to return to the google search results page. If, after doing that, I click the forward arrow (or Alt-right arrow key) one time it takes me back to the microsoft page but I'm unable to go forward to the Mozilla page (there's no forward arrow on the browser toolbar and if I use Alt-right arrow key nothing happens).

I executed the two above examples several times and got the same result every time.

由Davilo于修改

more options

I see what you mean. Once you load that Microsoft store page, it somehow triggers Firefox to add itself again, just as though you clicked a link to the same page again. If you go back to Google and then forward, this extra forward navigation happens again, which wipes the previous forward history.

In my regular profile I use the NoScript extension, which blocks all scripts by default until you mark the host servers as trusted. To stop the extra history I had to "untrust" akamaized.net. Once this script was blocked, the problem went away:

https://statics-onestore-wcus-ms-com.akamaized.net/store/_scrf/js/themes=store-web-default/38-e42e0d?ver=2.0

As with most scripts these days, the highly compressed code has no explanation of what it does, so it's hard for me to see where the problem is. Or possibly the problem is in the main page or one of the other scripts but doesn't execute unless that script is allowed.

(Unblocking all scripts doesn't solve the problem... I tested in a separate profile that doesn't have any blockers installed and had the same problem.)

more options

Thanks so much for your time and research regarding this problem. I think I'll just live this annoyance for now. If it starts happening more frequently I'll try the NoScript approach. Thanks again.

more options

Hi Davilo, NoScript would be a sledgehammer and not recommended for just one problem script. If you find other examples, it would be great if you could share them and one of us could post a bug asking that the developers figure out how to stop sites from doing it. (We could do that now, but I think more examples would help.)

more options

The next time I run into this problem I'll bookmark the pages and post info here. I wouldn't be surprised if this bug has already been filed but don't know how it would be worded and don't have time to look right now. I'll try to find out when I get the chance.

more options

Here's another example:

Go to this page

https://www.google.com/search?q=how+turn+off+autoformat+in+word+2016&ie=utf-8&oe=utf-8

click on the first result

https://support.microsoft.com/en-us/help/291473/how-to-turn-off-autoformat-options-in-word

To return to the previous page you have to backspace (or Alt-left arrow key/click the back arrow on the menu bar) three times.

Note that if you click and hold on the browsers back arrow to view previous pages there are three entries for the "How to turn off autoformat options in Word" page.

Also note that if you press backspace before the Microsoft Edge advertisement displays at the top of the page it's possible to return to the previous page using only one backspace command.

So far I've only experienced this problem/behavior when viewing pages on Microsoft.com.

more options

Here's another related example:

If I click on the Microsoft.com link in my previous post and then try to return to this page using the backspace key it won't return to this page unless I tap the backspace key multiple times in rapid succession.

If I allow a one second interval between backspace key presses it's impossible to return to the Mozilla page because the Microsoft page automatically forwards to the page with the Microsoft Edge advertisement.

more options

I suspect that this problem is caused by unorthodox or non HTML compliant page coding by Microsoft and isn't a Firefox bug.