mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-05-21 05:41:52 +00:00
Fix blocking ads not working?
This commit is contained in:
parent
6d1d2511ec
commit
8848c35cf0
1 changed files with 7 additions and 3 deletions
10
uYouPlus.xm
10
uYouPlus.xm
|
|
@ -246,11 +246,15 @@ static BOOL didFinishLaunching;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// https://github.com/PoomSmart/YouTube-X/blob/1e62b68e9027fcb849a75f54a402a530385f2a51/Tweak.x#L27
|
%hook YTHotConfig
|
||||||
%hook YTAdsInnerTubeContextDecorator
|
- (BOOL)disableAfmaIdfaCollection { return NO; }
|
||||||
- (void)decorateContext:(id)context {}
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// https://github.com/PoomSmart/YouTube-X/blob/1e62b68e9027fcb849a75f54a402a530385f2a51/Tweak.x#L27
|
||||||
|
// %hook YTAdsInnerTubeContextDecorator
|
||||||
|
// - (void)decorateContext:(id)context {}
|
||||||
|
// %end
|
||||||
|
|
||||||
// Fix login for YouTube 17.33.2 and higher
|
// Fix login for YouTube 17.33.2 and higher
|
||||||
%hook SSOKeychainCore
|
%hook SSOKeychainCore
|
||||||
+ (NSString *)accessGroup {
|
+ (NSString *)accessGroup {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue