New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernizr Google Analytics warning in Chrome #720
Comments
I don’t see this warning on http://demo.html5boilerplate.com/ (Chrome 13.0.782.215, OS X Lion). Which Chrome version are you testing in? |
That's strange. I'm seeing this on my local server but not at the demo site. PS When we get to the bottom of this we should also update the GA loading in elements.html demo file to match index.html |
It’s probably because @svizion You could switch back to the plain vanilla optimized Google Analytics snippet instead to avoid the issue. (I personally still think it should be the default, since it has no dependencies.) |
I personally use the Chromium nightly builds for Debian, Lion and Snow Leopard depending on what computer I'm using. ( Still can't get the app store to work on my Hackintosh Build so I haven't updated my second Mac to Lion yet ) I guess the warning really doesn't hurt anything, I was just curious about it. Thanks for your information on the yepnode issue now it makes sense to make me. Once again, thanks for the awesome work on the boilerplate the amount of information I have learned just by reading all the comments and links in it is amazing. |
I've run into this issue, however recently scripts have been prevented from running. Since boilerplate uses modernizer, which in turn includes yepnope for resource loading, here is the issue over at the yepnope repo: "This is intended because we images to preload resources certain versions of webkit in yepnope." This feels like a 'loop hole' and firmly believe this shouldn't exist in something like html5-boilerplate. Chrome should be satisfied and not flag resources which are being loaded in a round about manner. |
Pretty sure we're going to revert to the previous GA snippet to avoid the dependency on Modernizr. |
Great! That really gives me a lot of faith that html5-boilerplate will continue to be stable and well run/liked in browsers. |
Thanks! |
I've been noticing this warning in the console ever since I switched to using 2.0.
Only Effects Chromium and Possibly Safari ( haven't had a chance to check it in Safari yet, forgot the command to turn on the dev tools for Safari in Lion )
Resource interpreted as Image but transferred with MIME type text/javascript. => ga.js:-1
I believe it's a issue with the current Modernizer Packaged with the Boilerplate Download, will build a custom Modernizer and see if I get the same warning and respond back later.
Shawn Crigger
@svizion
The text was updated successfully, but these errors were encountered: