![]() |
|
New: Toggle Flash - Patch SWFObject - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43) +--- Forum: Sidki (/forumdisplay.php?fid=44) +--- Thread: New: Toggle Flash - Patch SWFObject (/showthread.php?tid=1343) |
New: Toggle Flash - Patch SWFObject - sidki3003 - Apr. 14, 2009 06:00 PM This filter patches a single script, SWFObject v2.x. However, it's very common and now also hosted at Google AJAX Libraries API. It is using pure DOM methods for Flash insertion in W3C browsers, so the "<object>...: Toggle Flash" filter has nothing to match. IE users aren't affected, as they still get matchable outerHTML'ed code. (Flash objects inserted by SWFObject v1.x are intercepted already for all browsers.) The filter is attached. I've placed it Test links: http://www.thekingcenter.org/Default.aspx http://watchmenmovie.warnerbros.com/ http://www.libertatea.ro/ http://www.hirmatrix.hu/ http://www.sport1.de/ http://www.nordlys.no/ edit 4/17: TEST6 -> WIP12 edit 4/18: WIP13 edit 5/24: Add support for Brightcove Experience RE: New: Toggle Flash - Patch SWFObject - sidki3003 - Apr. 14, 2009 09:47 PM I forgot to say, this filter is of today, still in test phase, logging to Log-Rare. What i've posted is TEST6. I'll probably update it later. RE: New: Toggle Flash - Patch SWFObject - sidki3003 - Apr. 17, 2009 02:30 AM Attachment in first post updated to WIP12. - It didn't work in Chrome (1.0.154.53), because the script is setting the object to visibility:visible, apparently overriding display:none (huh?). - It didn't handle the fall of Phil Spector (swfobject_2_0.js), nor scripts with unrelated names. So now the filter is enabled for all scripts, which is a wee bit scary, but the matching expression holds thus far. - Logging to Log-Rare is limited to scripts that aren't named "swfobject", and to functions that don't use the usual variables. RE: New: Toggle Flash - Patch SWFObject - Kye-U - Apr. 17, 2009 10:41 PM I think I've spotted a site: http://ingoodhands.com/ RE: New: Toggle Flash - Patch SWFObject - sidki3003 - Apr. 18, 2009 03:31 PM Whoa, what a CPU hog! Thanks for posting. WIP13 adds a special case for SWFObject v.2.0 Beta. I'll update the first post shortly. RE: New: Toggle Flash - Patch SWFObject - sidki3003 - May. 23, 2009 11:42 PM This version fixes a few things and adds support for another popular Flash player, Brightcove Experience. Just like interception of SWFObject, it isn't required in IE. Test links: http://www.accuweather.com/ http://www.army.mil/ http://www.lavanguardiatiendas.com/ http://www.mercurynews.com/ http://www.newsmax.com/ http://www.nme.com/ Attachment in first post updated. |