mirror of
				https://github.com/anticensority/runet-censorship-bypass.git
				synced 2025-10-31 16:07:31 +03:00 
			
		
		
		
	Exclude hosts w/o own proxies, fix heart icon
This commit is contained in:
		
							parent
							
								
									7114233053
								
							
						
					
					
						commit
						82b5bf67f9
					
				|  | @ -217,7 +217,7 @@ | |||
|       const ifExcluded = pacMods.excluded && pacMods.excluded.length; | ||||
|       const ifExceptions = ifIncluded || ifExcluded; | ||||
| 
 | ||||
|       if (ifExceptions && pacMods.filteredCustomsString) { | ||||
|       if (ifExceptions) { | ||||
|         res += ` | ||||
|     /* EXCEPTIONS START */ | ||||
|     const dotHost = '.' + host; | ||||
|  | @ -239,7 +239,10 @@ | |||
|     if (excWeight !== 0) { | ||||
|       if (excWeight > 0) { | ||||
|         // Always proxy it!
 | ||||
|         return "${pacMods.filteredCustomsString}" + directIfAllowed; | ||||
|         ${ pacMods.filteredCustomsString | ||||
|           ? `return "${pacMods.filteredCustomsString}" + directIfAllowed;` | ||||
|           : '/* No proxies -- continue. */' | ||||
|         } | ||||
|       } else { | ||||
|         // Never proxy it!
 | ||||
|         return "DIRECT"; | ||||
|  |  | |||
|  | @ -508,7 +508,7 @@ | |||
|       </section> | ||||
| 
 | ||||
|       <section data-for="acc-ntf"> | ||||
|         <header>Я ❤️ yведомления:</header> | ||||
|         <header>Я <span style="color: #f93a17">❤</span> yведомления:</header> | ||||
|         <ul id="list-of-notifiers"></ul> | ||||
| 
 | ||||
|       </section> | ||||
|  |  | |||
|  | @ -278,7 +278,7 @@ chrome.runtime.getBackgroundPage( (backgroundPage) => | |||
| 
 | ||||
|           const labelIfProxied = '✔'; | ||||
|           const labelIfNotProxied = '✘'; | ||||
|           const labelIfAuto = '🔄'; | ||||
|           const labelIfAuto = '↻'; | ||||
| 
 | ||||
|           const addOption = function addOption(host, yesNoUndefined) { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user