There exists a (perhaps) common pattern where a plugin (typically flash or silverlight) is used to provide some functionality, with a js/html fallback. The fallback is usually good enough. The hotmail wave4 compose page is an example of this, it uses silverlight for attachments with a fallback. The problem is that with NS, the page does not know to fallback. In all other cases that's exactly what you want, but in situations such as this, you want the page to think the plugin is missing and to just give you the fallback, here both the plugin and the placeholder are a nuisance.
This can be dealt with by surrogates on a case by case basis, but it might be useful to have a more generic way that hard blocks certain plugins per site or url. Can Fx already do this through CAPS or permissions.sqlite or any other way? What do you think of this for NS?
Here's a surrogate for hotmail:
Code: Select all
user_pref("noscript.surrogate.hotmail.sources", "@.mail.live.com/mail/EditMessageLight.aspx");
user_pref("noscript.surrogate.hotmail.replacement", "watch('_useSilverlightUpload',function(p,o,n){return false;});");
in cases where both work, how does "watch" compare with "__defineGetter__?" Any reason to prefer one over the other?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8