MAKE_HTTPS property
final
Changes a URL from http to https. URLs with a specified (nondefault) port and links using other protocols are unaffected.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Linux WPE WebKit
Implementation
static final MAKE_HTTPS = ContentBlockerActionType._internalMultiPlatform(
'make-https',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 'make-https';
case TargetPlatform.iOS:
return 'make-https';
case TargetPlatform.macOS:
return 'make-https';
case TargetPlatform.linux:
return 'make-https';
default:
break;
}
return null;
},
);