Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

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

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

Подробнее

firefox says it prevented page redirect. What html code causes that?

  • 5 ответов
  • 5 имеют эту проблему
  • 1 просмотр
  • Последний ответ от Barbyr

more options

I run a website at www.cirrusimage.com. I'm stuck using an old version of Frontpage and my code is not the best.

I noticed the latest Firefox sometimes displays a drop-down bar with the error "Firefox prevented this page from automatically redirecting to another page", with an "allow" button.

It only does it once in awhile, and only on the first visit to a page (I have over a thousand pages). There seems no rhyme or reason to it.

I don't want people to think I'm scamming them or something!

Thanks for any help.

I run a website at www.cirrusimage.com. I'm stuck using an old version of Frontpage and my code is not the best. I noticed the latest Firefox sometimes displays a drop-down bar with the error "Firefox prevented this page from automatically redirecting to another page", with an "allow" button. It only does it once in awhile, and only on the first visit to a page (I have over a thousand pages). There seems no rhyme or reason to it. I don't want people to think I'm scamming them or something! Thanks for any help.

Все ответы (5)

more options

I'm not seeing it. The usual methods to redirect a page are:

(1) <meta> refresh tag
(2) JavaScript: location.href = newURL or similar

more options

-> click Firefox button and click Options -> Advanced panel -> General tab -> Remove Checkmark from Warn me when websites try to redirect or reload the page

-> Click OK on Options window -> Restart Firefox

Check and tell if its working.

more options

No - I want to eliminate the code in my webpages that is causing Firefox to display the alert! As far as I know, there are no redirects on the page(s).

more options

The URL without the www. (http://cirrusimage.com/) gives me a redirect confirm bar at the top, but I'm not seeing any differences.

I see a redirect from http://google.com/pagead/drt/ui

#request# GET http://google.com/pagead/drt/ui
Location: https://googleads.g.doubleclick.net/pagead/drt/si?p=CAA&ut=AFAKxlQAAAAATlmUtgdFv4257P5kAIPoRtnuT5V2HuhE
#redirect# GET /pagead/drt/si?p=CAA&ut=AFAKxlQAAAAATlmUTqXMSZCcqv9DoJgj0RQlyfb-zRnR

Изменено cor-el

more options

I don't get the redirect confirm bar when I call that url. That's the problem - sometimes Firefox reports a redirect, sometimes it doesn't.

I don't know enough to tell where you are seeing the lines of code you posted.

Is Google giving me Adsense code that triggers Firefox errors?