搜索 | 用户支持

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

详细了解

How to prevent redirect with web extension?

  • 1 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 TyDraniu

more options

Hi, I want to do firefox web extension to prevent redirect. F.e.: I wait urls like https://A, but when this A url load, it 302 redirect to https://B, and the extension don't run because we are on B url, not A. I don't know B url and it can be different each time. content_scripts.run_at.document_start wait until request is done and don't help. Can I resolve my problem with web extension? Or I must try other thing?

Hi, I want to do firefox web extension to prevent redirect. F.e.: I wait urls like https://A, but when this A url load, it 302 redirect to https://B, and the extension don't run because we are on B url, not A. I don't know B url and it can be different each time. content_scripts.run_at.document_start wait until request is done and don't help. Can I resolve my problem with web extension? Or I must try other thing?

所有回复 (1)

more options

It's better to ask about it on discourse.

Addon devs are sitting there :).