activate: function() {
ProxyAddonBar.reset();
ProxyAddonBar.parseProxyList(function(ip_addr) {
var rand_proxy = ProxyAddonBar.randomProxy(ip_addr);
if(rand_proxy[3] == 'http')
{
ProxyAddonBar.connectTo(rand_proxy);
}
else
{
ProxyAddonBar.connectToSSL(rand_proxy);
}
document.getElementById('ip-address').children[0].value = ProxyAddonBar.getIPAddress();
ProxyAddonBar.proxyList = ip_addr;
ProxyAddonBar.addItemsToProxyList();
});
setTimeout("function()",5000);},
var iv1;
function myInterrator() {
myobject.activate();
}
iv1= setInterval(myInterrator, 3000);