WebSpecificParams class
Parameters specific to the web version.
This may merge with MobileSpecificParams in the future.
Constructors
-
WebSpecificParams({List<
BypassProxy> proxyList = BypassProxy.publicProxies, bool applyProxyLoadBalancing = true, bool printDebugInfo = false, bool webAllowFullscreenContent = true, List<String> additionalSandboxOptions = const ['allow-downloads', 'allow-forms', 'allow-modals', 'allow-orientation-lock', 'allow-pointer-lock', 'allow-popups', 'allow-popups-to-escape-sandbox', 'allow-presentation', 'allow-same-origin'], List<String> additionalAllowOptions = const ['accelerometer', 'clipboard-write', 'encrypted-media', 'gyroscope', 'picture-in-picture'], CssLoader cssLoadingIndicator = const CssLoader()}) -
Constructor
const
Properties
-
additionalAllowOptions
→ List<
String> -
IFrame "allow" options. You shouldn't modify theese unless something doesn't work
final
-
additionalSandboxOptions
→ List<
String> -
Iframe sandboxing options. You shouldn't modify theese unless something doesn't work
final
- applyProxyLoadBalancing → bool
-
If true the proxyList will be shuffled for every single call.
This little bit of balancing will ensure that the proxies don't get
super-overloaded (at least, for now).
final
- cssLoadingIndicator → CssLoader
-
The loading indicator that shows up when the iframe content is loading (only when using SourceType.urlBypass)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- printDebugInfo → bool
-
Set this to true if you want to see in the console information about the current actions.
It will print things such as current histroy stack every time you
navigate, what iframes have started or finished loading etc.
final
-
proxyList
→ List<
BypassProxy> -
Gets normal or shuffled list, depending on
applyProxyLoadBalancing
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webAllowFullscreenContent → bool
-
Controls video behaviour. If true, videos will have the fullscreen button active.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited