Ok, some more information on this.

According to this post:
http://mannu.livejournal.com/314676.html

"Firefox has another setting called dom.popup_allowed_events that
specifies the DOM events that are allowed to lead to pop-ups."

You can see this by typing about:config in the URL bar, and scrolling
down to the dom.popup_allowed_events parameter - by default this is
set to "change click dblclick mouseup reset submit".

So theoretically, a normal getURL should fall within the "click" or
"mouseup" dom events, and shouldn't get blocked. However, this is
clearly not the case.

I would guess that the mozilla plugin uses the Netscape Gecko Plugin
API call "NPN_GetURL":
http://web.archive.org/web/20040215215012/devedge.netscape.com/library/manuals/2002/plugin/1.0/npn_api4.html#999426

This contains the following info:

- a reference to the plugin which is calling the URL (i.e. Flash)
- the url string
- the target parameter (e.g. "_blank");

So, firefox can presumably distinguish between different swfs by
comparing the reference parameter, which would be unique for each swf
displayed. Presumably, if a swf violates one of the popup blocking
rules, it gets blocked.

I'm thinking that maybe if all the getUrl calls are routed through a
function that changes them to POSTs, the action might count as a
submit, and thereby get through the popup blocker rules? Anyone tried
this?

Thanks in advance,
Alias

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to