Is it possible to read the environment variable from the Google Chrome extension code, i.e. from background.js ? This is possible with Mozilla Firefox extensions , as follows:
var system = require("sdk/system"); console.log(system.env.PATH);
What is equivalent code in case of Chrome? OS - Windows.
javascript windows environment-variables google-chrome-extension firefox-addon
kol
source share