This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

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