android-components / mozilla.components.feature.webcompat / WebCompatFeature


object WebCompatFeature (source)

Feature to enable website-hotfixing via the Web Compatibility System-Addon.


Name Summary
install fun install(runtime: WebExtensionRuntime): Unit
Installs the web extension in the runtime through the WebExtensionRuntime install method

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.