mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-05-06 20:00:39 +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
|
||||
|
||||
// https://github.com/PoomSmart/YouTube-X/blob/1e62b68e9027fcb849a75f54a402a530385f2a51/Tweak.x#L27
|
||||
%hook YTAdsInnerTubeContextDecorator
|
||||
- (void)decorateContext:(id)context {}
|
||||
%hook YTHotConfig
|
||||
- (BOOL)disableAfmaIdfaCollection { return NO; }
|
||||
%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
|
||||
%hook SSOKeychainCore
|
||||
+ (NSString *)accessGroup {
|
||||
|
|
|
|||
Loading…
Reference in a new issue