bf4 / controljs

Automatically exported from code.google.com/p/controljs
Apache License 2.0
0 stars 0 forks source link

Chrome FlashBlock Extension Prevents Prefetching #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install FlashBlocker extension in Chrome 
(http://www.chromeextensions.org/appearance-functioning/flashblock/) 
2. Load page with ControlJS 

What is the expected output? What do you see instead?

An alert() message displays "There was a failure loading script: `script_url`" 

What version of the product are you using? On what operating system?

Flash Blocker 1.2.11.10
Chromium 12.0.712
Fedora 14 x86_64

Please provide any additional information below.

It appears that FlashBlocker for Chrome prevents loading all <object> elements, 
not just Flash-specific ones.  In turn, the onload event does not trigger and 
the script loading chain breaks. 

While this is a FlashBlocker bug as much as anything, ControlJS could choose to 
handle timeouts by loading the script normally, instead of simply alert()'ing.  

Original issue reported on code.google.com by serverhe...@gmail.com on 29 Mar 2011 at 2:11