Skip to content

0.1.57a

Choose a tag to compare

@RobertCraigie RobertCraigie released this 31 Dec 12:57
8a6011f

Search engine configuration

You can now configure new search engines directly in the Glide config, for example:

glide.search_engines.add({
  name: "Discogs",
  keyword: "disc",
  search_url:
    "https://www.discogs.com/search/?q={searchTerms}",

  // optional
  favicon_url: "https://www.discogs.com/favicon.ico",
  is_default: false,
});

With this example you could search using Discogs by focusing the address bar and typing disc<space>!

The glide.search_engines.add() function takes the same arguments as the chrome_settings_overrides.search_provider web extension manifest v2 object.

Changes

  • Bumped Firefox from 147.0b3 to 147.0b8
  • Improved type inference for glide.content.execute() params
  • Added support for hiding the native tab bar with glide.o.native_tabs = "hide", or with "autohide" to show the tab bar on hover on Linux
    • Thanks @45Hnri for the contribution!
  • Added glide.styles.has()
  • Added glide.styles.get()
  • Added support for overwriting existing styles with glide.styles.add('css', { id: '...', overwrite: true })
  • Added :tab_pin and :tab_unpin commands
  • Updated :config_reload to apply across all open windows
  • Updated the commandline to show suggested commands first
    • Thanks @jyn514 for the contribution!
  • Updated hint generation to clear previous "No hints found" notifications when hints are eventually found
  • Removed Perplexity as a default search engine
  • Fixed usage of the browser API on privileged pages
  • Fixed permissions error when creating or updating tabs with a privileged URI, e.g. browser.tabs.create({ url: "resource://glide-docs/index.html" })
  • Fixed glide.bo.hint_size so that it correctly applies the styling for the current buffer
  • Fixed i sending an unnecessary <left> key event
  • Fixed serialisation of the browser.contentScripts.register() return value. You can now access it, and call script.unregister().
  • Misc
    • Many thanks to @jyn514 for updating lots of docs and improving the contributing experience!
    • Set up a Zulip chat for realtime discussion
    • Reduced the number of redundant DOM mutations inside the commandline