»Q«:
>Hartmut Figge <[email protected]> wrote:
>> »Q«:
>> >FWIW, I keep a dummy pref at the bottom of my user.js :
>> >
>> > // test to make sure this file is really loaded
>> > user_pref("01.user.js.file.loaded", "OF COURSE!");
>> >
>> >If I ever open about:config and don't see that at the top, I know
>> >I've introduced some error into user.js
>>
>> Once set, this pref will remain in about:config, even if you insert an
>> error before the bottom. Unless you take care of removing this pref
>> from the prefs.js before starting SM.
>
>Arrgh, you're right! Thanks for setting me straight. At least I can
>use it to test once I suspect I've borked user.js, by using
>about:config to reset it, then restart SM.
Or you could enhance your idea. The first line of the user.js could be
user_pref("01.user.js.file.loaded", "Maybe");
and the last line
user_pref("01.user.js.file.loaded", "OF COURSE!");
:)
Hartmut
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey