On 4月21日, 下午8时09分, iebinli <[EMAIL PROTECTED]> wrote:
> In my project, I only need the text data. How can I improve the
> peformance of my programe? Maybe, I should prohibit XULRunner from
> loading  images and running plugins. But I don't know how to config
> it?  Besides, how to cache the loaded js file?  Is there any other
> suggestions for me? Thank you!

ok, I have solved it!
I just alter
pref("permissions.default.image",           1 ); // 1-Accept, 2-Deny,
3-dontAcceptForeign
to
pref("permissions.default.image",           2);
in all.js.
BinLi
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to