Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Way to confirm before redirect

  • 8 ответов
  • 0 имеют эту проблему
  • 32 просмотра
  • Последний ответ от 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"]

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.