Re: Setting XULRunner 7 in offline mode?

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Georgios Petasis wrote:

>Is there a preference for setting XULRunner 7 in offline mode?
>  
>
No, you have to do it in code, something like this:

Components.utils.import("resource://gre/modules/Services.jsm");
Services.io.offline = false;

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.