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