Firefox missing plugin bar fix #121

Merged
merged 1 commit into from Jun 7, 2012

Projects

None yet

2 participants

@ghost
ghost commented Jun 7, 2012

In Firefox 13 on Windows, running yepnope on localhost and including a local file causes the yellow missing plugin bar to appear. Firefox thinks the object tag that is created has a text/x-c++ mimetype.

This has no effect on the actual performance or features of the code, it's just annoying. It's also more of a problem with Firefox, if anything.

You can see it if you stick this code into an HTML file and open it. Just make sure somefile.js is real, even if it's empty.

<script>
    var elem = document.createElement("object");
    elem.data = "somefile.js";
    document.documentElement.insertBefore(elem, null);
</script>
Colin Kirby Firefox missing plugin bar fix
In Firefox 13 on Windows, running yepnope on localhost and including a
local file causes the yellow missing plugin bar to appear. Firefox
thinks the object tag that is created has a text/x-c++ mimetype.
5e7e290
@SlexAxton SlexAxton merged commit c31513f into SlexAxton:master Jun 7, 2012
@SlexAxton
Owner

Awesome find.

@vjnrv
vjnrv commented Nov 29, 2012

I keep with this problem using yepnope 1.5.4 and Firefox 17.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment