Hello,

my proxy only allows host names, if i type a IP address I get an proxy
security error. This is OK and expected.
I developed a Firefox extension that uses a Java Class to resolve the
IP address. The extension also changes the IP to host in the address
bar or if clicked on a link, I use javascript to do that. This works
all fine. But the XPCOM Java class slows the browser start down (10 to
20 seconds), I guess because it loads the java run time at Firefox
start.
Is there a way to speed java up, or not to load java at start at all. I
don't need that feature all the time, may only every month once. So it
would be OK if the host name resolve takes some time. Or is there a
internal object I overlooked that could resolve an host name from a
given IP address. I tried @mozilla.org/network/dns-service;1
nsIDNSService, but this only converts host to IP. Do I need to write a
C/c++ object, do I need to implement the whole DNS system? Or is there
a C++ class that would do the trick?

Markus Schulz

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to