Ravi A
Ravi A

Reputation: 525

read "about config" prefrences of mozilla firefox using javascript

I want to know that how can I read the about:config preferences of Mozilla Firefox ? Please note that I do not want to change its value, I only want to read them.

I've already gone through about-config-preferences-and-js

but I end up following error. RefrenceError: getPrefs is not defined.

Will anyone help to get me out from this?

Upvotes: 2

Views: 4314

Answers (1)

Arun P Johny
Arun P Johny

Reputation: 388446

I don't think it is possible as a security measure

If the browser configuration is exposed to client code like javascript then it could modify the setting to create/expose vulnerabilities

Upvotes: 1

Related Questions