How to reset netscape.security.PrivilegeManager.enablePrivilege?

At the same moment, I believe that I clicked the Reject button when a window appeared in FireFox with a message stating whether I want to allow the site a privilege using

netscape.security.PrivilegeManager.enablePrivilege()

method. Now I cannot find a way to reset so that the message box reappears on this particular site. I checked Tools -> Options and about: config, but nothing. Does anyone know how to reset this? Or is there another reason why the message box simply will not be displayed and will automatically throw an exception?

+3
source share
2 answers

Firefox allow/deny , PrivilegeManager, prefs.js . DENY (jar: http://www.mozilla.org/projects/security/components/signed-script-demo.jar!/signed-script-demo.html) :

user_pref("capability.principal.certificate.p0.denied", "UniversalPreferencesRead");
user_pref("capability.principal.certificate.p0.id", "C3:B3:11:2F:F2:CB:3B:86:A3:66:11:DD:C2:42:0F:7F:98:C8:21:02");
user_pref("capability.principal.certificate.p0.subjectName", "CN=Netscape Communications Corp.,OU=For internal testing only,O=Netscape Communications Corp.,L=Mountain View,ST=California,C=US");

, -, . Firefox , , .

+3

→ → , / ( , , ), " " ( "" )., ).

0

Source: https://habr.com/ru/post/1715664/


All Articles