Documentation ¶
Overview ¶
Browsercheck implements a simple way to check whether a specific browser and installed plugins are outdated. The check is performed only using the useragent including the installed plugins, an example is provided in the subdirectory example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ReadableName string `xml:"readable-name"` // Readable name which can be shown to the user StringRegex string `xml:"regex"` // Regex to match the application and the version Regex *regexp.Regexp LastSecureVersion string `xml:"last-secure-version"` // Defines the last secure version UpdateUrl string `xml:"update-url"` // Link to a document stating how to install the new version // contains filtered or unexported fields }
Defines a single application
func Check ¶
func Check(ua string) []Application
Checks for insecure applications in an UA, returns nil or an list of insecure applications The UA may contain installed plugins, e.g. Adobe Flash
Click to show internal directories.
Click to hide internal directories.