Using javascript to block Flash image uploader on Gumtree (GreaseMonkey type User Script) -
i'm using browser called fake.app (you don't need know - firefox) , presented wretched flash image uploader thing:
screenshots
this doesn't happen in safari.
the actual code causing problem:
<object id="p18vl0ccenjf51khk17i6m2ibvi0_flash" type="application/x-shockwave-flash" data="/common/plupload/plupload.flash.swf" width="100%" height="100%" style="outline:0; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"><param name="movie" value="/common/plupload/plupload.flash.swf"><param name="flashvars" value="id=p18vl0ccenjf51khk17i6m2ibvi0"><param name="wmode" value="transparent"><param name="allowscriptaccess" value="always"></object>
the surrounding code:
<ul class="image-container-droppable" id="plupload-container_post-ad_image-select"> <li id="image-upload-trigger-container" style="visibility: visible; position: relative;"> <a id="plupload-select_post-ad_image-select" href="#" class="secondary button">add image</a> <div id="p18vks8n6n1mcpp1gvcr12sb1hkk0_flash_container" class="plupload flash" style="position: relative; top: 0px; background-color: transparent; z-index: 99999; width: 90px; height: 27px; opacity: 1 !important; margin: -26px 0px 0px; left: 0px; cursor: pointer;"><object id="p18vks8n6n1mcpp1gvcr12sb1hkk0_flash" type="application/x-shockwave-flash" data="/common/plupload/plupload.flash.swf" width="100%" height="100%" style="outline:0; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"><param name="movie" value="/common/plupload/plupload.flash.swf"><param name="flashvars" value="id=p18vks8n6n1mcpp1gvcr12sb1hkk0"><param name="wmode" value="transparent"><param name="allowscriptaccess" value="always"></object></div><div id="p18vks8n6n1mcpp1gvcr12sb1hkk0_html5_container" class="plupload html5" style="position: relative; background-color: transparent; width: 90px; height: 27px; overflow: hidden; z-index: 99999; opacity: 0; margin: -26px 0px 0px; top: 0px; left: 0px; cursor: pointer; background-position: initial initial; background-repeat: initial initial;"><input id="p18vks8n6n1mcpp1gvcr12sb1hkk0_html5" style="font-size: 999px; position: absolute; width: 100%; height: 100%;" type="file" accept="image/gif,image/jpeg,image/png,image/tiff" multiple="multiple"></div></li> </ul>
i want (adobe) flash image uploader go away.
when use safari, doesn't happen. non-flash image uploader. appears flash thing overlay of sort
Comments
Post a Comment