Files
webextensions-examples/root-cert-stats
Ibrahim Hasaan faadfca8dd Update root-cert-stats to use runtime.sendMessage #542 (#547)
* Adding send message and on message functions

* moving table displaying into a new function

* updating rootCertStats from var to let

* updating comments

* Apply Linter change, unused const

Co-authored-by: Rob Wu <rob@robwu.nl>

---------

Co-authored-by: Rob Wu <rob@robwu.nl>
Co-authored-by: rebloor <git@sherpa.co.nz>
2023-11-05 06:16:53 +13:00
..

root-cert-stats

What it does

The extension includes:

  • a background page which collects stats about the trusted root certs used when browsing the web. It records the subject name of each root cert, and how many times that particular root cert was used to establish a TLS connection.

  • a browser action with a popup. The popup displays the collected stats.

What it shows

  • how to use the webRequest.getSecurityInfo() API.