mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
44 lines
1.6 KiB
Objective-C
44 lines
1.6 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <objc/runtime.h>
|
|
#import <dlfcn.h>
|
|
#import <sys/utsname.h>
|
|
#import <substrate.h>
|
|
#import <rootless.h>
|
|
|
|
#import "uYouPlusThemes.h" // Hide "Buy Super Thanks" banner (_ASDisplayView)
|
|
#import <YouTubeHeader/YTAppDelegate.h> // Activate FLEX
|
|
#import <YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h>
|
|
|
|
// #import <YouTubeHeader/YTISectionListRenderer.h> // Hide search ads by @PoomSmart - https://github.com/PoomSmart/YouTube-X
|
|
|
|
#define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil]
|
|
#define IS_ENABLED(k) [[NSUserDefaults standardUserDefaults] boolForKey:k]
|
|
#define APP_THEME_IDX [[NSUserDefaults standardUserDefaults] integerForKey:@"appTheme"]
|
|
|
|
// Disable snap to chapter
|
|
@interface YTSegmentableInlinePlayerBarView
|
|
@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter;
|
|
@end
|
|
|
|
// Hide autoplay switch / CC button
|
|
@interface YTMainAppControlsOverlayView : UIView
|
|
@end
|
|
|
|
// Skips content warning before playing *some videos - @PoomSmart
|
|
@interface YTPlayabilityResolutionUserActionUIController : NSObject
|
|
- (void)confirmAlertDidPressConfirm;
|
|
@end
|
|
|
|
// Hide iSponsorBlock
|
|
@interface YTRightNavigationButtons : UIView
|
|
@property (nonatomic, readwrite, strong) UIView *sponsorBlockButton;
|
|
@end
|
|
|
|
// Hide YouTube annoying banner in Home page? - @MiRO92 - YTNoShorts: https://github.com/MiRO92/YTNoShorts
|
|
@interface _ASCollectionViewCell : UICollectionViewCell
|
|
- (id)node;
|
|
@end
|
|
@interface YTAsyncCollectionView : UICollectionView
|
|
- (void)removeShortsAndFeaturesAdsAtIndexPath:(NSIndexPath *)indexPath;
|
|
@end
|