Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

How to prevent redirect with web extension?

  • 1 risposta
  • 1 ha questo problema
  • 5 visualizzazioni
  • Ultima risposta di 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?

Tutte le risposte (1)

more options

It's better to ask about it on discourse.

Addon devs are sitting there :).