if (typeof navigator.cookieEnabled == "undefined" && !cookieEnabled)
...which is clearly going to fail with default-deny for cookies (I'm using Cookie Monster to allow per-site). Since I can't make out how to write script surrogates, and gave up on that route, I'm attempting to simply deny usage of the .cookieEnabled property.
This works:
user_pref("capability.policy.default.Navigator.cookieEnabled", "noAccess");
...but if I try to follow the template laid out at http://www.mozilla.org/projects/securit ... olicy.html and set something like this:
user_pref("capability.policy.policynames", "brokencookiedetect");
user_pref("capability.policy.brokencookiedetect.sites", "https://club.nintendo.com/");
user_pref("capability.policy.brokencookiedetect.Navigator.cookieEnabled", "noAccess");
...my prefs.js gains this setting:
user_pref("noscript.policynames", "brokencookiedetect");
...and the policy isn't enforced. Help, please?

