Various improvements

This commit is contained in:
Isaac
2026-02-06 15:18:17 +04:00
parent 44fab3078a
commit 45b1306274
33 changed files with 158 additions and 117 deletions

View File

@@ -513,8 +513,10 @@ void WKWebsiteDataStoreReinitializeAppBoundDomains(CFTypeRef dataStoreRef);
- (id)_65087dc8_objectForInfoDictionaryKey:(NSString *)key {
if ([key isEqualToString:@"WKAppBoundDomains"]) {
//NSLog(@"Returning trusted domains: %@", [WebHelpers threadSafeTrustedDomains]);
return [WebHelpers threadSafeTrustedDomains];
NSArray *result = [WebHelpers threadSafeTrustedDomains];
if (result.count != 0) {
return result;
}
}
return [self _65087dc8_objectForInfoDictionaryKey:key];
}