Defunctr is a module for Modernizr that will detect the current browser using feature detection. It will then append browser informational classes to the head element of the page, giving the designer the ability to override CSS styles without using older browser hacks. Changing the browsers compatability mode will cause the correct classes to be applied and changing a user-agent will have not effect on the class generation.
See the version list below for details.
Install-Package Defunctr -Version 1.1.1
dotnet add package Defunctr --version 1.1.1
<PackageReference Include="Defunctr" Version="1.1.1" />
paket add Defunctr --version 1.1.1
Now includes support for Opera Next.
- Modernizr (>= 2.6.2)
This package is not used by any popular GitHub repositories.