mirror this repo: https://github.com/Alvin9999/new-pac.git
				
			
			
		
		shadowsocksssrbrookfanqiangfree-fanqiangfree-ssfree-ssrfreegategfwgoflywayioskcptunmacnaiveproxyshadowsocksrsstrojanv2rayvmesswindows
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							513 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							513 B
						
					
					
				
								var proxy = "HTTP 45.32.113.95:25; DIRECT";
							 | 
						|
								
							 | 
						|
								var domains = {
							 | 
						|
								  "localhost": 1
							 | 
						|
								};
							 | 
						|
								
							 | 
						|
								var direct = 'DIRECT;';
							 | 
						|
								
							 | 
						|
								var hasOwnProperty = Object.hasOwnProperty;
							 | 
						|
								
							 | 
						|
								function FindProxyForURL(url, host) {
							 | 
						|
								    var suffix;
							 | 
						|
								    var pos = host.lastIndexOf('.');
							 | 
						|
								    while(1) {
							 | 
						|
								        suffix = host.substring(pos + 1);
							 | 
						|
								        if (hasOwnProperty.call(domains, suffix)) {
							 | 
						|
								            return proxy;
							 | 
						|
								        }
							 | 
						|
								        if (pos <= 0) {
							 | 
						|
								            break;
							 | 
						|
								        }
							 | 
						|
								        pos = host.lastIndexOf('.', pos - 1);
							 | 
						|
								    }
							 | 
						|
								    return proxy;
							 | 
						|
								}
							 | 
						|
								
							 |