I use this library: Modernizr .
The BundleConfig.cs class :
// Use a versão em desenvolvimento do Modernizr para desenvolver e aprender. Em seguida, quando estiver
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include("~/Scripts/modernizr-*"));
Warning on console log:
[Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See www.goo.gl/rStTGz for more details. window.Modernizr.tests.applicationcache @ modernizr-2.8.3.js: 815
Any solution to resolve this warning?