mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 03:32:08 +00:00
Updated YTNoTracking Tweak
This commit is contained in:
parent
8d56ee85c8
commit
4cb8c9b5da
1 changed files with 5 additions and 2 deletions
|
|
@ -204,6 +204,9 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
||||||
isPremiumLogo = YES;
|
isPremiumLogo = YES;
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
|
- (BOOL)isPremiumLogo {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
- (void)setTopbarLogoRenderer:(id)renderer {
|
- (void)setTopbarLogoRenderer:(id)renderer {
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
@ -507,11 +510,11 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
||||||
|
|
||||||
// YTNoTracking - https://github.com/arichorn/YTNoTracking/
|
// YTNoTracking - https://github.com/arichorn/YTNoTracking/
|
||||||
%hook YTICompactLinkRenderer
|
%hook YTICompactLinkRenderer
|
||||||
- (BOOL)hasTrackingParams { return NO; }
|
+ (BOOL)hasTrackingParams { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTIReelPlayerOverlayRenderer
|
%hook YTIReelPlayerOverlayRenderer
|
||||||
- (BOOL)hasTrackingParams { return NO; }
|
+ (BOOL)hasTrackingParams { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// YTNoPaidPromo: https://github.com/PoomSmart/YTNoPaidPromo
|
// YTNoPaidPromo: https://github.com/PoomSmart/YTNoPaidPromo
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue