On 8/16/20 11:44 PM,
linxz...@gmail.com wrote:
> At first, I created a new preference `translators.CNKI` with a simple
> value "OK". Everything is OK when I explore my code in the translator
> editor. The preference value is displayed in the output window
>
> ```javascript
> var p = Z.getHiddenPref("CNKI");
> Z.debug(p);
> ```
>
> Then I update my code in a translator, in the debug output of Zotero
> connector. The output preference value is `(3)(+0000001): ===>null<===
> (object)`. I also tried preferences on this
> [page](
https://www.zotero.org/support/preferences/hidden_preferences#translator_preferences1).
> The value is still `null`.
>
> Is it caused by the sandbox? or I use the code in a wrong way?