搜索 | 用户支持

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

Learn More

Way to confirm before redirect

  • 8 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 zeroknight

more options

Any way to confirm before automatic redirects?

Any way to confirm before automatic redirects?

被采纳的解决方案

Redirections can occur for different reasons. Sometimes the server will send a 301 Permanent Redirect or 302 Temporary Redirect header and specify the new URL. You never even see the missing page.

But if the server sends a 200 Success status and the page contains a meta tag or script that performs the redirect, Firefox would need to be able to detect that this was automated and not a user-initiated request. There might be a way to do it, just as Firefox knows why a popup window was triggered.

There is an ancient setting in Firefox which partially blocks redirects -- it blocks some but not all. You could experiment with this and see whether you find it more useful than annoying. As the name implies, its primary purpose was to reduce confusion of screen readers and other assistive technologies rather than serving as a security feature.

(1) 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. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste accessibility.blockautorefresh and pause while the list is filtered

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

定位到答案原位置 👍 1

所有回复 (8)

more options

No, redirects are non-interactive. The destination can be blocked but the redirect cannot be avoided.

more options

If you're talking about links, just hover over it to see where it's going to take you, but a lot of times they use shortened urls.

more options

zeroknight said

No, redirects are non-interactive. The destination can be blocked but the redirect cannot be avoided.

Can't it be implemented as a new feature?

more options

It would be nice to have a confirmation dialog before redirect from privacy standpoint.

Suppose we are browsing a site through archive.is and if we click on a link that is not archived, it redirects us to the original site which we definitely don't want.

more options

选择的解决方案

Redirections can occur for different reasons. Sometimes the server will send a 301 Permanent Redirect or 302 Temporary Redirect header and specify the new URL. You never even see the missing page.

But if the server sends a 200 Success status and the page contains a meta tag or script that performs the redirect, Firefox would need to be able to detect that this was automated and not a user-initiated request. There might be a way to do it, just as Firefox knows why a popup window was triggered.

There is an ancient setting in Firefox which partially blocks redirects -- it blocks some but not all. You could experiment with this and see whether you find it more useful than annoying. As the name implies, its primary purpose was to reduce confusion of screen readers and other assistive technologies rather than serving as a security feature.

(1) 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. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste accessibility.blockautorefresh and pause while the list is filtered

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

more options

jscher2000 - Support Volunteer said

Redirections can occur for different reasons. Sometimes the server will send a 301 Permanent Redirect or 302 Temporary Redirect header and specify the new URL. You never even see the missing page. But if the server sends a 200 Success status and the page contains a meta tag or script that performs the redirect, Firefox would need to be able to detect that this was automated and not a user-initiated request. There might be a way to do it, just as Firefox knows why a popup window was triggered. There is an ancient setting in Firefox which partially blocks redirects -- it blocks some but not all. You could experiment with this and see whether you find it more useful than annoying. As the name implies, its primary purpose was to reduce confusion of screen readers and other assistive technologies rather than serving as a security feature. (1) 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. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future. (2) In the search box in the page, type or paste accessibility.blockautorefresh and pause while the list is filtered (3) Double-click the preference to switch the value from false to true

This indeed worked for my use case. Any way to get it included as one of the privacy settings in Firefox?

more options

Note that setting accessibility.blockautorefresh to false can in some cases prevent you from continuing to the actual page (i.e. nothing happens if you click continue).

more options

It would be preferable to selectively block meta refresh for specific sites to minimize breakage. This can be done with uBlock Origin by adding the following line to the "My filters" tab:

website.com##^meta[http-equiv="refresh"]