Plugins
The browser allows you to list the plugins that are installed. This is exactly what this component does.
Example
"plugins": {
"plugins": [
"PDF Viewer|internal-pdf-viewer|Portable Document Format",
"Chrome PDF Viewer|internal-pdf-viewer|Portable Document Format",
"Chromium PDF Viewer|internal-pdf-viewer|Portable Document Format",
"Microsoft Edge PDF Viewer|internal-pdf-viewer|Portable Document Format",
"WebKit built-in PDF|internal-pdf-viewer|Portable Document Format"
]
},
Code
Check out the implementation