Currently, I am developing a Firefox extension that displays SSL certificate details. My goal is to only view the certificate information without making any alterations. I am attempting to utilize this specific code example, however, the JavaScript code halts at
const {Cc, Ci} = require("chrome");
. This JavaScript code is executed from within a <script>
tag within the HTML file.
Is it possible for Firefox add-ons to still access the chrome module? Could there be something I am overlooking, such as a permission issue?
Just to note: I inquired about a similar question yesterday, but concerning FireFox Extensions specifically.