mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Cloudflare fix. Closes #344
This commit is contained in:
		| @@ -55,7 +55,7 @@ class CloudflareInterceptor(private val cookies: PersistentCookieStore) : Interc | ||||
|  | ||||
|             val js = operation | ||||
|                     //language=RegExp | ||||
|                     .replace(Regex("""a\.value =(.+?) \+ .+?;"""), "$1") | ||||
|                     .replace(Regex("""a\.value =(.+?) \+.*"""), "$1") | ||||
|                     //language=RegExp | ||||
|                     .replace(Regex("""\s{3,}[a-z](?: = |\.).+"""), "") | ||||
|                     .replace("\n", "") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user