X
Tap here to go to the mobile version of the site.

Support Forum

redirect not working

Posted

Hi, after a bit of head scratching, I realized that the Firefox option to Warn if page attempts to redirect, seems to be broken.

I am getting no warning message that a redirect was attempted.

I am using the FF 25.0.1 and it is up to date as the latest.

I am using this on XP SP3.

If I turn off Warn if page attempts redirect all is well. But if it is turned on, there is no warning message, this leaves users sitting on a page unaware that they should be somewhere else.

It has the effect of breaking a websites normal operation.

IP camera live feeds don't work, nor do any pages that are supposed to constantly update.

I just noticed this after all the error pages on all sites stopped going back to the index page. Not just one site, I could blame me if that were the case. Then I thought maybe the change to PHP 5.4, and started searching for this error and ended up looking at FF. So, then I tried and turned of warn if redirect is attempted, and the sites work normally.

Without the message, we are blind to what is going on.

What has happened to the warning message?

Am I the only person with a missing warning on a redirect or refresh attempt?

Hi, after a bit of head scratching, I realized that the Firefox option to Warn if page attempts to redirect, seems to be broken. I am getting no warning message that a redirect was attempted. I am using the FF 25.0.1 and it is up to date as the latest. I am using this on XP SP3. If I turn off Warn if page attempts redirect all is well. But if it is turned on, there is no warning message, this leaves users sitting on a page unaware that they should be somewhere else. It has the effect of breaking a websites normal operation. IP camera live feeds don't work, nor do any pages that are supposed to constantly update. I just noticed this after all the error pages on all sites stopped going back to the index page. Not just one site, I could blame me if that were the case. Then I thought maybe the change to PHP 5.4, and started searching for this error and ended up looking at FF. So, then I tried and turned of warn if redirect is attempted, and the sites work normally. Without the message, we are blind to what is going on. What has happened to the warning message? Am I the only person with a missing warning on a redirect or refresh attempt?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.9 r900
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.05
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Adobe Shockwave for Director Netscape plug-in, version 12.0.4.144
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.8
  • VLC media player Web Plugin 2.0.6
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • GEPlugin
  • Npdsplay dll

Application

  • Firefox 25.0.1
  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0
  • Support URL: https://support.mozilla.org/1/firefox/25.0.1/WINNT/en-US/

Extensions

  • BetterPrivacy 1.68 ({d40f5e7b-d2cf-4856-b441-cc613eeffbe3})
  • Firebug 1.12.5 (firebug@software.joehewitt.com)
  • Live HTTP headers 0.17 ({8f8fe09b-0bd3-4470-bc1b-8cad42b8203a})
  • NoScript 2.6.8.6 ({73a6fe31-595d-460b-a920-fcc0f8843232})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Adobe Acrobat - Create PDF 1.2 (web2pdfextension@web2pdf.adobedotcom) (Inactive)
  • Microsoft .NET Framework Assistant 1.0 ({20a82645-c095-46ed-80e3-08825760534b}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) HD Graphics
  • adapterDescription2:
  • adapterDeviceID: 0x0152
  • adapterDeviceID2:
  • adapterDrivers: igxprd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'blockedDriver']
  • directWriteEnabled: False
  • directWriteVersion: 0.0.0.0
  • driverDate: 4-2-2012
  • driverDate2:
  • driverVersion: 6.14.10.5406
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'skia', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'none', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D9 vs_3_0 ps_3_0)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Direct3D 9

Modified Preferences

  • accessibility.blockautorefresh: True
  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 307200
  • browser.cache.disk.smart_size.enabled: False
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.privatebrowsing.autostart: True
  • browser.search.update: False
  • browser.sessionstore.upgradeBackup.latestBuildID: 20131112160018
  • browser.startup.homepage: http://www.terranimpact.com/
  • browser.startup.homepage_override.buildID: 20131112160018
  • browser.startup.homepage_override.mstone: 25.0.1
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 25.0.1
  • font.internaluseonly.changed: True
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1386002476
  • places.history.expiration.transient_current_max_pages: 91186
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.java: 0
  • plugin.state.npdeployjava: 0
  • plugin.state.npdrmv: 0
  • plugin.state.npwmsdrm: 0
  • plugin.state.npwpf: 0
  • privacy.cpd.offlineApps: True
  • privacy.cpd.siteSettings: True
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • privacy.sanitize.timeSpan: 0
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1385596429

Misc

  • User JS: No
  • Accessibility: No
philipp
  • Top 25 Contributor
  • Moderator
5315 solutions 23463 answers

hello kduinoz, can you try to reset firefox & see if the problem is still there?

Refresh Firefox - reset add-ons and settings

hello kduinoz, can you try to reset firefox & see if the problem is still there? [[Reset Firefox – easily fix most problems]]
cor-el
  • Top 10 Contributor
  • Moderator
17525 solutions 158458 answers

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance). *Do NOT click the Reset button on the Safe Mode start window. *https://support.mozilla.org/kb/Safe+Mode *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

This came up in another thread as well: https://account.live.com opens to a blank screen. In that case, the page used a <meta> refresh tag to redirect immediately.

This came up in another thread as well: [https://support.mozilla.org/en-US/questions/979298 https://account.live.com opens to a blank screen]. In that case, the page used a &lt;meta> refresh tag to redirect immediately.

Question owner

Hi philipp, this made no difference, before I reset FF, I tried it in safe mode, it was still broken.

Hi cor-el, as I mentioned above, it made no difference, I did safe mode first then a reset, the message still does not appear.

Mr jscher2000, I'm not sure what you are trying to tell me here, some more info from me though, The website I am looking at has the following refresh code at the top of the page,

header("Refresh: 30; http://www.mysite.com/cams/cam-display.php");

A few more tests I did,

http://www.physiology.wisc.edu/ravi/test/test9.html

The url above is a test page and it refreshes every 10 seconds.

The warning does appear, but it is there constantly, it never goes away.


I am under the impression that the warning should only appear when a page actually attempts to refresh.

After looking at that test page, I return to my own site, same old, same old, no message, it just hangs. My page attempts a refresh every 30 seconds.

I went to the weather bureau, their radar map refreshes auto fashion as well. When I enabled the warning about being redirected and visited this page, again the warning appears and won't go away.

So, now I am wondering, what's the difference between my refresh and others on the net.


Something I also noted that happens after I have enabled the redirect warning after it has been sitting on the page and already refreshed several times.

The page actually does one more refresh and update, but, it looks as though FF is trying to show the warning, the page jumps down one line and quickly slides back up, but the message is not displayed.

I also tried this on a laptop that has been sitting for a while and has FF 22 in it, same story.

Stumped.

If I think of anything else, I'll be back.


EDIT:

I just looked at the code for the page that refreshes every 10 seconds, it has what I assume Mr jscher2000 made mention of.

<meta http-equiv="refresh" content="10">

and the weather bureau has, <meta http-equiv="Refresh" content="300" />

It seems that a page with this code in it, gets a permanent message about redirect warning, and it won't go away.

My own page with, header("Refresh: 30; http://www.mysite.com/cams/cam-display.php"); Does one more refresh anyway and never sees a redirect warning at all.

Hi philipp, this made no difference, before I reset FF, I tried it in safe mode, it was still broken. Hi cor-el, as I mentioned above, it made no difference, I did safe mode first then a reset, the message still does not appear. Mr jscher2000, I'm not sure what you are trying to tell me here, some more info from me though, The website I am looking at has the following refresh code at the top of the page, header("Refresh: 30; http://www.mysite.com/cams/cam-display.php"); A few more tests I did, http://www.physiology.wisc.edu/ravi/test/test9.html The url above is a test page and it refreshes every 10 seconds. The warning does appear, but it is there constantly, it never goes away. I am under the impression that the warning should only appear when a page actually attempts to refresh. After looking at that test page, I return to my own site, same old, same old, no message, it just hangs. My page attempts a refresh every 30 seconds. I went to the weather bureau, their radar map refreshes auto fashion as well. When I enabled the warning about being redirected and visited this page, again the warning appears and won't go away. So, now I am wondering, what's the difference between my refresh and others on the net. Something I also noted that happens after I have enabled the redirect warning after it has been sitting on the page and already refreshed several times. The page actually does one more refresh and update, but, it looks as though FF is trying to show the warning, the page jumps down one line and quickly slides back up, but the message is not displayed. I also tried this on a laptop that has been sitting for a while and has FF 22 in it, same story. Stumped. If I think of anything else, I'll be back. EDIT: I just looked at the code for the page that refreshes every 10 seconds, it has what I assume Mr jscher2000 made mention of. <meta http-equiv="refresh" content="10"> and the weather bureau has, <meta http-equiv="Refresh" content="300" /> It seems that a page with this code in it, gets a permanent message about redirect warning, and it won't go away. My own page with, header("Refresh: 30; http://www.mysite.com/cams/cam-display.php"); Does one more refresh anyway and never sees a redirect warning at all.

Modified by kduinoz

jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

Hi kduinoz, your PHP refresh header is generating a strange phenomenon in my testing. Here's my test page:

http://www.jeffersonscher.com/res/reloads.php

If you turn OFF the warning in the options dialog and reload the test page (Ctrl+r or equivalent), the page text stays in the same position.

However, if you turn ON the warning, then each time you reload the page text will briefly slide down and up.

This suggests that Firefox is making space for the infobar to display it, but that routine gets aborted before it actually displays (or Firefox mistakenly believes the user is dismissing the bar before it displays).

Something definitely seems broken with this feature.

Hi kduinoz, your PHP refresh header is generating a strange phenomenon in my testing. Here's my test page: http://www.jeffersonscher.com/res/reloads.php If you turn OFF the warning in the options dialog and reload the test page (Ctrl+r or equivalent), the page text stays in the same position. However, if you turn ON the warning, then each time you reload the page text will briefly slide down and up. This suggests that Firefox is making space for the infobar to display it, but that routine gets aborted before it actually displays (or Firefox mistakenly believes the user is dismissing the bar before it displays). Something definitely seems broken with this feature.
John99 971 solutions 13138 answers

Just a comment in passing. This feature is shown under the accessibility heading IIRC there have been comments made along the lines that its main intended use was so that screen readers would work ok.

Could this behaviour be intended. A major redirect would mean a screen reader was reading a page that is not expected. A simple refresh or update would leave the screen reader on the correct page just a more up to date version.

I see the same behaviour on Fx10 BTW, with both test pages, so if this is a regression it is not that recent.

Just a comment in passing. This feature is shown under the accessibility heading IIRC there have been comments made along the lines that its main intended use was so that screen readers would work ok. Could this behaviour be intended. A major redirect would mean a screen reader was reading a page that is not expected. A simple refresh or update would leave the screen reader on the correct page just a more up to date version. I see the same behaviour on Fx10 BTW, with both test pages, so if this is a regression it is not that recent.

Question owner

Hello jscher2000,

I've just checked your test page and yes it does the same thing. You have at least replicated what is happening with my own setup. I'm glad of that.

Hello jscher2000, I've just checked your test page and yes it does the same thing. You have at least replicated what is happening with my own setup. I'm glad of that.

Modified by kduinoz

guigs 1072 solutions 11697 answers
yes, after some reading because of this change: [https://bugzilla.mozilla.org/show_bug.cgi?id=170021] and this redirect warning issue: *[[https://bugzilla.mozilla.org/show_bug.cgi?id=424167 Bug 424167 - Option "Warn me when web sites try to redirect or reload the page" does not work correctly. Does not handle more frames.]] *[[https://bugzilla.mozilla.org/show_bug.cgi?id=417770 Bug 417770 META REFRESH redirect warning appears immediately instead of when timer fires]]
John99 971 solutions 13138 answers

Helpful Reply

So this it has been a known issue since 2008 and I guess nothing is likely to happen.

I suspect voting will not influence this, but whilst commenting in bugzilla is generally frowned upon: unless requested, or new technical information can be added; it is permitted to vote.

So this it has been a known issue since 2008 and I guess nothing is likely to happen. I suspect voting will not influence this, but whilst commenting in bugzilla is generally frowned upon: unless requested, or new technical information can be added; it is permitted to vote. *https://bugzilla.mozilla.org/page.cgi?id=voting.html *https://bugzilla.mozilla.org/page.cgi?id=etiquette.html