You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audit group:Content best practices Description: Avoids plugins Failure description: Does not avoid plugins ({plugins...}) Help text: Some types of media or content are not playable on mobile devices, such as license-constrained media or experiences that require Flash or other players that are not broadly supported on mobile devices. Unplayable content, when featured on a page of any website can be very frustrating for users.
Success condition: No plugin in the blocklist below is detected on the page.
Previous PR was focusing on security. Team's goal there was to make sure that the audited page blocks plugins using CSP + sandbox combo. Our angle is different since we don't want (in this audit at least) to mention CSP or sandbox attribute. We just want to discourage plugin use.
Flash is very often embedded using swfobject library. This library does feature detection and only creates <object> when flash plugin is detected. Assuming that silverlight and java might be doing similar feature detection (haven't checked yet), it means that plugins will be only detectable by lighthouse on environments that have them installed.
More on swfobject here: http://blog.deconcept.com/swfobject/ .
<object> might be used for other things than plugins, e.g embedding SVG. So just checking for <object> will not be enough. We should probably check mime-type, or at least the extension of the embedded file.
Audit group: Content best practices
Description: Avoids plugins
Failure description: Does not avoid plugins
({plugins...})
Help text: Some types of media or content are not playable on mobile devices, such as license-constrained media or experiences that require Flash or other players that are not broadly supported on mobile devices. Unplayable content, when featured on a page of any website can be very frustrating for users.
Success condition: No plugin in the blocklist below is detected on the page.
Blocklist:
Notes:
The text was updated successfully, but these errors were encountered: