Glide Browser for Mac
The latest version of Glide Browser for Mac is 0.1.66a, released . Extensible, firefox-based web browser.
What's new in Glide Browser 0.1.66a
- Bumped Firefox from 159.0b4 to 161.0b5
- Fixed Perplexity still being listed as a built-in search engine
- Fixed hints not being shown for links that are partially covered by another element, e.g. some Google search results
- Fixed in-app updates on macOS stripping Glide's code signature, which broke screen sharing and other OS permissions
Source: github.com
How to update Glide Browser on your Mac
- In Glide Browser. Glide Browser updates itself while it's open.
- With Homebrew. If you installed Glide Browser with Homebrew, run:
brew upgrade --cask glide-browser - With Fresh. Fresh lives in your menu bar, spots when Glide Browser and your other apps are out of date, and updates them all in one click. It launches soon.
Glide Browser version history
- 0.1.66a
0.1.65a
- Bumped Firefox from 156.0b3 to 159.0b4
- Fixed gemini:// pages failing to load with "Connection Failed"
- Fixed :map opening an empty mappings page
- Fixed the tutor not showing your config file path or detecting your config file
- Fixed a spurious "Glide Internal is hiding tabs" notification when browser.tabs.hide() is called from your config
- Disabled the new Firefox "Nova" UI redesign by default (browser.nova.enabled), keeping the pre-157 tab and toolbar styling
- Fixed the glide.tabs.getfirst() example in the cookbook and config docs, which used an invalid URL match pattern
Source: github.com
0.1.64a
- Bumped Firefox from 153.0b5 to 156.0b3
- Fixed a mode switching race condition in the commandline
- Fixed document mirror corruption on stale references
Source: github.com
0.1.63a
- Bumped Firefox from 152.0b2 to 153.0b5
- Added :modereset excmd for recalculating the current mode
- Added glide.modes.get()
- Added support for registering custom ignore modes, glide.modes.register('...', { switchmodeonfocus: false })
- Added support for populating keymap descriptions from the excmd they're mapped to
- Thanks to @suveshmoza for the contribution!
- Fixed glide.process handling of relative PATH entries
Source: github.com
0.1.62a
- Bumped Firefox from 151.0b4 to 152.0b2
- Added support for toggling reader mode on gemini:// pages
- Fixed styling for code blocks on gemini:// pages
- Fixed broken behaviour in :tabpintoggle excmd
- Thanks to @suveshmoza for the contribution and @Kazimazi for reporting!
Source: github.com
0.1.61a
Experimental support for the gemini protocol
This release adds experimental support for the gemini:// protocol. A lightweight, document oriented protocol.
This is experimental as it has not been thoroughly tested, and the full gemini protocol has not been implemented yet.
If you've just installed this version then you can try it out at any of the following sites:
- gemini://geminiprotocol.net
- gemini://midnight.pub
- gemini://bbs.geminispace.org
- gemini://warmedal.se/~antenna/
The default styling is intentionally minimal, you can custommise it however you'd like with glide.o.geministyles:
glide.o.geministyles = css html { margin: 20px; } body { max-width: 800px; font-family: serif; line-height: 1.6; } / ... / ;
Changes
- Bumped Firefox from 149.0b8 to 151.0b4
- Added support for glide.o.nativetabs = 'autohide' on macOS
- Thanks to @suveshmoza for the contribution!
- Prevented enhanced tracking protection from resetting on restarts
- Thanks to @suveshmoza for the contribution
Source: github.com
0.1.60a
- Bumped Firefox from 148.0b15 to 149.0b8
- Added AddonInstalled autocmd
- Added glide.commandline.close()
- Added :tabduplicate excmd
- Added yt normal mode keymapping to duplicate the current tab
- Added ‹A-p> normal mode keymapping to pin / unpin the current tab
- Thanks to @suveshmoza for the contribution!
- Fixed macOS distribution missing passkey entitlements
- Fixed the :whichkey UI disappearing after reloading the config
- Fixed ‹C-d> / ‹C-u> so they actually scroll half pages instead of full pages
- Fixed (hopefully) a race condition preventing the ConfigLoaded autocmd from firing
- Breaking change: the glide.unstable.splitviews API now requires numeric IDs
- This was an upstream Firefox change.
Source: github.com
0.1.59a
Breaking change: diacritic keymaps on macOS
Previously on macOS if you wanted to define a keymap with the Option key, then you would have to use the diacritic version of the key as macOS uses Option to enable diacritics.
By default Glide will now use the physical key pressed instead of the diacritic, for example:
/// before glide.keymaps.set("normal", "‹A-π>", "tabpin"); /// after glide.keymaps.set("normal", "‹A-p>", "tabpin");
For more information see the Key codes docs.
Findbar API
This release includes support for programmatically operating the Firefox findbar. You can now open / close the findbar, and traverse through findbar matches directly from the config.
For example, a keymap that opens the findbar to search for the text that is currently selected:
glide.keymaps.set("normal", "~", async ({ tabid }) => { const selected = await glide.content.execute( () => window.getSelection()?.toString(), { tabid }, ); if (!selected) { throw new Error("No text selected in the page"); } await glide.findbar.open({ query: selected }); });
The full API includes:
- glide.findbar.open()
- glide.findbar.nextmatch()
- glide.findbar.previousmatch()
- glide.findbar.close()
- glide.findbar.isopen()
- glide.findbar.isfocused()
Previous / next link following
This release adds the [[ and ]] default keymappings in normal mode that will automatically follow "previous" and "next" links respectively.
For example, entering ]] while on https://lobste.rs/active will take you to https://lobste.rs/page/2, then [[ will take you to https://lobste.rs/page/1.
This works by searching for link elements (e.g. ‹a>, ‹div role="link">) that contain specific text (e.g. "next", "more"). If multiple elements are found, then the element at the bottom of the page is selected.
You can customise the text strings to search for with glide.o.gonextpatterns and glide.o.gopreviouspatterns.
Or use different keymappings by mapping :gonext and :goprevious.
Customisable keyboard layouts
Added support for resolving keymaps from the physical key pressed instead of whatever key string your software layout resolved it to.
This is particularly important for users with multiple keyboard layouts, as you no longer have to define keymaps multiple times for each layout, e.g.
/// before // english glide.keymaps.set("normal", "‹C-t>", "tabprev"); // russian glide.keymaps.set("normal", "‹C-т>", "tabprev");
You can now tell Glide to use the physical key code instead:
/// after glide.o.keyboardlayout = "qwerty"; glide.o.keymapsusephysicallayout = "force"; glide.keymaps.set("normal", "‹C-t>", "tabprev");
Note
Glide still needs a way to map the key code to the corresponding key string in mappings. For example, what should pressing Shift + Digit2 be matched against?
The answer can change depending on your specific keyboard. On a US keyboard with a qwerty layout you would expect it to match against keymaps using @, but on a German keyboard it should be ".
The default keyboard layout is US qwerty. If you use a different layout, see the glide.o.keyboardlayouts option.
Half page scrolling
The ‹C-d> and ‹C-u> keymaps now scroll half pages instead of full pages like they did before. This was changed to match Vim behaviour more closely.
Changes
- Bumped Firefox from 148.0b4 to 148.0b15
Source: github.com
0.1.58a
Experimental windows support
This release adds support for Windows!
This support is marked as experimental as it has not been tested as thoroughly as Linux or macOS.
If you run into any issues please report them!
Important
The Windows binaries are not signed yet. This means that Windows will warn you that you're installing an
app from an "unknown publisher"; you'll have to click through these warnings if you want to try out Glide on Windows right now.
Changes
- Bumped Firefox from 147.0b8 to 148.0b4
- Added process output helpers, await process.stdout.text(), await process.stdout.lines()
- These will resolve when the process exits, if you want to consume output as soon as it is available you can async iterate instead of awaiting
- for await (const line of process.stdout.lines()) { ... }
- Added support for writing to process stdin with await process.stdin.write("data")
- Thanks @philocalyst for the contribution!
- note: you must call await process.stdin.close() for the process to exit
- Added support for registering event listeners in the browser UI
- e.g. window.addEventListener("click", (event) => { ... })
- Added glide.o.newtaburl for customising the newtab page
- Added glide.fs.mkdir()
- Added Addon.reload() for reloading an installed addon
- Added Addon.type for identifying the type of an addon, e.g. extension, theme, etc
- Added yf keymapping to copy the href of an element to the clipboard
- Thanks @suveshmoza for the contribution!
- Added autoactivate: "always" to glide.hints.show() for always activating the first hint found, instead of only auto activating when there is a single hint found
- Promoted glide.unstable.include() to glide.include()
- note: glide.unstable.include() still exists for backwards compatibility but it will be removed in a future release
- Fixed calling glide.commandline.show() within an excmd
- Fixed the commandline not closing immediately if an excmd takes a long time to complete
- Fixed expanding ~ in the process cwd, e.g. glide.process.execute("pwd", [], { cwd: "~/.dotfiles" })
- Thanks @suveshmoza for the contribution!
- Fixed errors while reloading the config from potentially corrupting internal state
- docs: added table of contents sidebar to reference pages
- Thanks @suveshmoza for the contribution!
- docs: fixed clashing /tutorial pages
Source: github.com
0.1.57a
Search engine configuration
You can now configure new search engines directly in the Glide config, for example:
glide.searchengines.add({ name: "Discogs", keyword: "disc", searchurl: "https://www.discogs.com/search/?q={searchTerms}", // optional faviconurl: "https://www.discogs.com/favicon.ico", isdefault: false, });
With this example you could search using Discogs by focusing the address bar and typing disc‹space>!
The glide.searchengines.add() function takes the same arguments as the chromesettingsoverrides.searchprovider web extension manifest v2 object.
Changes
- Bumped Firefox from 147.0b3 to 147.0b8
- Improved type inference for glide.content.execute() params
- Thanks @TomerAberbach for the contribution!
- Added support for hiding the native tab bar with glide.o.nativetabs = "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 :tabpin and :tabunpin commands
- Thanks @suveshmoza for the contribution!
- Updated :configreload 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
- Thanks @suveshmoza for the contribution!
- 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.hintsize 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
- Thanks @suveshmoza for the contribution!
Source: github.com
Details
- Latest version
- 0.1.66a
- Released
- Last checked
- Website
- glide-browser.app
- Homebrew cask
- glide-browser