Methods
(static) getInit() → {bool}
returns if the check has concluded
Returns:
- Type
- bool
(static) getStatus() → {bool}
returns the current status of the check
Returns:
- Type
- bool
(static) init()
init on application start, returns an all-clear signal
(private, static) isBadBot() → {bool}
checks whether this is a bot we dislike
Returns:
- Type
- bool
(private, static) isOldBrowser() → {bool}
checks whether this is an unsupported browser, via feature detection
Returns:
- Type
- bool
(private, static) isSecureContext() → {bool}
check if the context is secure
Returns:
- Type
- bool
(private, static) removeHiddenFromId(id)
removes "hidden" CSS class from element with given ID
Parameters:
Name | Type | Description |
---|---|---|
id |
string |
(private, static) showError(message)
shows an error message
Parameters:
Name | Type | Description |
---|---|---|
message |
string |