Blocking SWFs in chrome???

Posting here is no longer possible, please use the corresponding product forum.
Locked
FlashFirebug

Blocking SWFs in chrome???

Post by FlashFirebug »

Our FlashFirebug embeds SWF inside the chrome that activates the product for Pro users. A user just reported that he could not activate until he disabled Adblock Plus. Why oh why do you guys play with the chrome area???
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking SWFs in chrome???

Post by mapx »

what are you talking about ? (site, address, capture screen, subscriptions ?)
FlashFirebug

Re: Blocking SWFs in chrome???

Post by FlashFirebug »

I'm talking about FireFox extensions' Chrome area. The non-gbrowser places. For example, Firebug's panel when you press F12. Browser overlays, etc. Our extension adds an SWF inside the chrome area that is totally invisible. And it's blocked by AdBlockPlus. Now I understand blocking an AD on a webpage, but SWFs inside extension space???
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Blocking SWFs in chrome???

Post by lewisje »

ABP is indeed able to block and hide within the browser chrome: en/filters#elemhide_domains

It probably hid the SWF because one of the elements used to generate it triggered a global hiding rule; could you post what code is injected to display that SWF?
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
FlashFirebug

Re: Blocking SWFs in chrome???

Post by FlashFirebug »

Code: Select all

              var tmp = document.createElementNS("http://www.w3.org/1999/xhtml","embed");
              tmp.id = "ffbugversionswf";
              tmp.name = "ffbugversionswf";
              tmp.src = "chrome://flashbug/content/version.swf?email=" + email + "&key=" + key + "&sender=" + sender + "&callFlashPlayerReady=true";
              tmp.allowscriptaccess = "always";
              Firebug.chrome.$("ffbugversion").appendChild(tmp);
This is all done outside the gBrowser and inside the chrome area. This component is totally invisible and does the function of activating the Pro version of FlashFirebug. So blocking it is simply breaking the extension without achieving any AD blocking effects. Come to think of it, I can't see any reason to even think about SWFs outside the gBrowser area. They're simply not web pages and shouldn't be treated as part of a user's web page.
FlashFirebug

Re: Blocking SWFs in chrome???

Post by FlashFirebug »

Any updates on this? Please remove this bug from your next AdBlock Plus release. Or just set it as an option in its preferences/settings that's defaulted to off (with a note when enabling it that it could interfere with some extensions that use Flash). I see no use for such a function whatsoever, I wouldn't even add it to settings if it was my call. But you know best. Please update me on your plans for this.
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Blocking SWFs in chrome???

Post by MonztA »

If this issue still exists for you, please file a detailed report on https://issues.adblockplus.org.
Locked