We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

Etsi tuesta

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.

Lue lisää

Firefox refreshes on OBJECT tag (once, then display properly)

  • 6 vastausta
  • 9 henkilöllä on sama ongelma
  • 2 näyttöä
  • Viimeisin kirjoittaja Namjies

more options

Issue

I have a problem with an extension, plugin or with Thunderbird

Description

I didn't notice it before. I was doing some database script to count pageviews and noticed a strange behavior (increment of 2 instead of 1 on pages refresh) I first thought it was my code, but then realized only Firefox showed this behavior, and only when a flash object is on the page. If there's no embedded object, Firefox doesn't cause this double incrementation.

Which tells me Firefox must choke or something on the object and refresh the page to fix it. But only refreshes once, because the page is shown and the object too. I'm not sure of the issue, but I'd like to prevent that from happening. Double count of pageviews seems pretty bad to me.

Firefox version

3.6.3

Operating system

Windows XP

== Issue == I have a problem with an extension, plugin or with Thunderbird == Description == I didn't notice it before. I was doing some database script to count pageviews and noticed a strange behavior (increment of 2 instead of 1 on pages refresh) I first thought it was my code, but then realized only Firefox showed this behavior, and only when a flash object is on the page. If there's no embedded object, Firefox doesn't cause this double incrementation. Which tells me Firefox must choke or something on the object and refresh the page to fix it. But only refreshes once, because the page is shown and the object too. I'm not sure of the issue, but I'd like to prevent that from happening. Double count of pageviews seems pretty bad to me. == Firefox version == 3.6.3 == Operating system == Windows XP

Kaikki vastaukset (6)

more options

This sounds like a web-developer question rather than a user question. Maybe the resources at https://developer.mozilla.org/en/Web_Development will help.

more options

It might. But I don't know the source of the issue (plugin, code, settings).

Firefox refreshes whatever the flash file is, so I don't think that's the issue. I'd guess a plugin or the code might be the issue.

If it's plugin based and code is correct, then the issue might be impossible to solve on my part.

If it's code based, I don't see why a refresh would then display the object correctly (and not loop indefinitely). But anyone who knows how Firefox works might pinpoint if it's a normal behaviour for Firefox and know what can cause it.

Because as far as I know, my flash file displays correctly on Firefox and IE, but the server side incrementation is done twice when it's Firefox AND there's an flash file embedded on the page. Which tells me there must be a fast refresh triggered during load. And that's this behaviour that I want to fix, which can either be code or my browser's settings & plugins.

I'll try development forum too in case someone knows something about it.

more options

Are there two OBJECT tags or an OBJECT with a classid for IE and an EMBED for Firefox on those pages?

If that is the case then does it help if there is only one OBJECT without a classid but with a type="application/x-shockwave-flash" ?

more options

The code uses one OBJECT with

data="http://arcade.namworld.com/games/gamename.swf" type="application/x-shockwave-flash"

and a PARAM inside the OBJECT for IE with name="movie" value="http://arcade.namworld.com/games/gamename.swf"


FF - As soon as I remove the GAMENAME in the DATA to an invalid flash file or remove DATA completly, it stop double incrementing pageviews. But of course it stops displaying anything.

I got some plugins like Firebug, Web Developper, NoScript which can mess with on-page codes. In case these are known to cause refreshes or something.

more options

I just realized... Google Chrome does this too. And I know Chrome used some components from Mozilla.

Not IE.

So I guess it invalidate the plugins theory and makes it an event applicable to something shared by Chrome and Firefox. Either the OBJECT code is wrong for them or they decide to refresh the page for some reason.

more options

Hmm, although the code is always the same, it seems not all flash games files makes this happen. Some do, some don't. And IE does not do it but FF and chrome do.

So I suppose it's supposed to behave this way although I do not know what triggers this.

Wouldn't it be better to simply attempt to redownload the flash file instead of the whole page, whatever triggers this? I don't create the games and some are popular and displayed on major games portals, so I'll be keeping them.

I guess I'll just have to hope this behavior gets changed eventually.