Core APIs
These APIs are shared between all types of extension: content providers and plugins.
Types
Create a core.d.ts file containing the following content:
Examples
User preference
Returns the user preference value from Add user configuration (optional)
Console
Fetch
Doc
Parse HTML
ChromeDP
Headless browser powered by the user's installed Chrome/Chromium binary.
This is experimental.
Do not forget to call close()
CryptoJS
$habari
Filename parser
$clone
Useful for safely handling events.
$replace
The $replace function is used to overwrite properties of an object within an event.
This only works on values that are not undefined and on values that are references under the hood.
$torrentUtils
$toString
Converts binary data to string.
$toBytes
Similar to the Web API TextEncoder.encode
$sleep
Use carefully
Last updated