mirror of
				https://github.com/SoPat712/videospeed.git
				synced 2025-10-29 18:30:35 -04:00 
			
		
		
		
	* Overlay on reddit fix - #315 - not fixing "in the middle of the video" part
This commit is contained in:
		 Can Arslan
					Can Arslan
				
			
				
					committed by
					
						 Ilya Grigorik
						Ilya Grigorik
					
				
			
			
				
	
			
			
			 Ilya Grigorik
						Ilya Grigorik
					
				
			
						parent
						
							e84e19069d
						
					
				
				
					commit
					bcf3a0716f
				
			| @@ -151,6 +151,7 @@ chrome.runtime.sendMessage({}, function(response) { | |||||||
|  |  | ||||||
|       switch (true) { |       switch (true) { | ||||||
|         case (location.hostname == 'www.amazon.com'): |         case (location.hostname == 'www.amazon.com'): | ||||||
|  |         case (location.hostname == 'www.reddit.com'): | ||||||
|         case (/hbogo\./).test(location.hostname): |         case (/hbogo\./).test(location.hostname): | ||||||
|           // insert before parent to bypass overlay |           // insert before parent to bypass overlay | ||||||
|           this.parent.parentElement.insertBefore(fragment, this.parent); |           this.parent.parentElement.insertBefore(fragment, this.parent); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user