mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add isoldwindows lol
This commit is contained in:
		
							parent
							
								
									d1ba50ee79
								
							
						
					
					
						commit
						464c2b37e8
					
				| @ -220,12 +220,24 @@ core.video(v).then((data) => { | ||||
|         } | ||||
|        | ||||
|        | ||||
|         var uaos = req.useragent.os | ||||
|         var IsOldWindows; | ||||
|          | ||||
|          | ||||
|         if(uaos == "Windows 7" && req.useragent.browser == "Firefox" ) { | ||||
|           IsOldWindows = true | ||||
|         } else if(uaos == "Windows 8" && req.useragent.browser == "Firefox") { | ||||
|           IsOldWindows = true | ||||
|         } else { | ||||
|           IsOldWindows = false | ||||
|         } | ||||
|          | ||||
|         renderTemplate(res, req, "poketube.ejs", { | ||||
|           color: data.color, | ||||
|           color2: data.color2, | ||||
|           linkify, | ||||
|           engagement, | ||||
|           IsOldWindows, | ||||
|           support, | ||||
|           u:u.url, | ||||
|           isvidious:u.isInvidiousURL, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley