Able to actually block scripts using a plugin, have XPC set up between plugin and host process. Limited UI support
18 lines
288 B
Objective-C
18 lines
288 B
Objective-C
//
|
|
// SBRProcessPlugin.h
|
|
// SBrowserProcessBundle
|
|
//
|
|
// Created by James Magahern on 7/22/20.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <WebKit/WKWebProcessPlugIn.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface SBRProcessPlugin : NSObject <WKWebProcessPlugIn>
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|