Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

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

Подробнее

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 :).