Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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