Glide is in very early alpha. There will be many missing features and bugs.
Extensions
Glide lets you access the web extensions browser API directly in the config file.
For example, you could define a key mapping to update the UI theme:
glide.keymaps.set("normal", "<leader>a", async () => {
await browser.theme.update({
colors: { frame: "#50abd3" },
});
});
Differences
While the browser object Glide provides is mostly compatible with the standard API, there are some differences:
- all method calls return a Promise<T>.
- some APIs are not supported, e.g. browser.runtime.connect() and any other Port API.
Availability
Currently, the browser API has similar restrictions to standard web extensions where it will not function on certain protected pages such as about:config or addons.mozilla.org. This will be fixed in the future.