Check what sites see: doxigo.github.io/alibi. Download: latest release.
Alibi is a Chrome extension that spoofs your time zone, geolocation, and locale to any location you choose. The locale also sets navigator.language and the Accept-Language header, so every place a site can ask tells the same story. It can also seal WebRTC, so a page can't learn your real IP address by going around your VPN or proxy. Use it to test websites in different regions or to match your location data to your VPN's IP address.
Alibi is free software under the GPL-3.0 license. See NOTICE for upstream attribution.
- Download
alibi-vX.Y.Z.zipfrom the latest release and unzip it into a folder you'll keep. - Open
chrome://extensions(in Brave,brave://extensions) and turn on Developer mode. - Click Load unpacked and pick that folder.
- Optional, recommended: click Details on Alibi and turn on Allow User Scripts, so Stealth Mode runs before any page script.
To update, unzip the new release over the same folder and click the reload icon on Alibi's card.
The steps are the same on Windows, macOS and Linux. To have Match my IP address follow your VPN the moment it changes exits, add Whereabouts on a Mac or Alibi Companion on Windows and Linux. Without them, Alibi checks once a minute (see IP Address).
Alibi's ID is the same wherever you load it from (dhlpjjenplighmpbogjpmljbahbnjpfa, pinned by the key in manifest.json), so Whereabouts and Alibi Companion can tell it apart from other extensions. Versions before the pinned ID got an ID from their folder. If you're updating from one of those, reloading isn't enough: remove the old card, then click Load unpacked again. Chrome sees a new extension, so your covers start fresh.
| Every site | One site, its own cover | Deep mode, dark theme |
|---|---|---|
![]() |
![]() |
![]() |
The postmark at the top shows what the current site sees: its city, local time and UTC offset.
Alibi gives your browser a story. Whereabouts makes your whole Mac stick to it.
A browser extension can only argue from inside the browser. A site's own workers, and the first scripts of a page that loads instantly, read the time zone straight from macOS, and macOS still knows where you really are. Whereabouts is a free, open source menu bar app that closes that gap from the other side. It asks one question all day long: where does the internet think this Mac is right now?
- Your location shows as a place, not a status. A flag, a country code or a city sits in the menu bar, never just "VPN: connected".
- When it's wrong, you'll know. Choose any mix of a red menu bar, a notification, a sound and a red line along the edge of the screen. An optional kill switch cuts the network until you're back where you meant to be.
- The Mac's clock moves to your exit. While the VPN is up, macOS switches to the exit's time zone, so every browser, worker and app agrees. The menu bar keeps your real time:
Oslo · 14:32 home. - It catches the quiet leaks. IPv6 exits, DNS resolvers, an unexpected ISP, and a Mac whose time zone or region tells a different story than its connection.
- It works with rules about places. Allow or block countries, expect certain ISPs, or give a site its own location, matched against the browser tab you're on.
| Where a site can look | Alibi | Whereabouts |
|---|---|---|
| Page scripts, iframes, blob workers: time zone, locale, language, location | ✓ | |
The Accept-Language header |
✓ | |
| WebRTC: your IP address around a proxy, or a VPN that leaves routes out (with WebRTC Sealed) | ✓ | |
| The site's own workers and the first scripts of instant pages: time zone | ✓ | |
| Your public IP and VPN exit, with alerts and a kill switch | ✓ | |
| IPv6 and DNS leaks | ✓ |
Run both, with Alibi on Match my IP address so both follow your VPN exit (Whereabouts tells Alibi the moment the exit changes), and every time zone on the check page agrees, including the ones Alibi can't reach. (A site's own workers still read the browser's locale; Alibi's Deep mode covers that.)
The next Whereabouts (doxigo/whereabouts#1, after 1.2.0) can also keep the Mac on Alibi's location, not only the VPN's. With Match my Mac's time zone and region and Follow Alibi's location both on, a place you choose for All sites in Alibi moves the Mac to its time zone and region. Off and Match my IP address leave the Mac to follow your connection, as without Alibi. Follow Alibi's location is off unless you turn it on, because it moves the whole Mac, not just the browser.
Whereabouts runs on macOS only. On Windows, Alibi Companion is the same kind of app, in the tray: your location as a place, alerts when it's wrong, Windows' clock on your VPN's time zone or on Alibi's location, if you turn that on, and IPv6 and DNS checks. On Linux it tells Alibi the moment your VPN exit changes.
Alibi Companion does for Windows what Whereabouts does for a Mac, and on Linux the part that Alibi talks to.
On Windows it's a tray app:
- Your location shows as a place. The tray icon is the code of the country your connection comes out in, on Alibi's blue stamp. Hover over it for the city and the time at home. Click it for the rest: the network you come out of, your IP address, and whether Windows' time zone, IPv6 and DNS all tell the same story.
- When something's wrong, you'll know. The stamp turns red and you get a notification, and if you turn them on in the menu, a sound and a red line along the top of the screen too. That happens when IPv6 or DNS goes around the VPN, and, once you pick your countries, when your connection comes out in a country you blocked or outside the ones you allow.
- Windows' clock can follow your VPN. Turn on Keep Windows on my VPN's time zone in the menu (or install with
--timezone), and while a VPN is up, Windows moves to the time zone of wherever your connection comes out. With no VPN up, it stays on your own. Every browser, worker and app then agrees with your IP. The companion changes Windows' Country or region only when the zone's name needs it: Norway's zone reads asEurope/Osloonly with the region on Norway, and asEurope/Berlinotherwise. - And, if you like, Alibi's location. Under it, or on Alibi's location for all sites, off unless you turn it on, lets a place you choose for All sites in Alibi move Windows there instead, within a second: a city or a custom zone. Off and Match my IP address leave Windows following your VPN. A per-site cover stays in the browser, since Windows has one clock. If Windows' clock and your connection are in different countries (Alibi on Tokyo, the VPN in Norway), the tray says so, because sites can compare the two.
- Your own time zone stays yours. A time zone or region you set yourself, or that Windows' own automatic time zone sets, becomes home from then on. When you switch following off, quit the app, sign out, shut down or uninstall, Windows goes back home, once, unless something else has moved it since, and is then left alone.
- It tells Alibi the moment your exit changes, so Match my IP address follows within seconds instead of within a minute.
Windows' own Set time zone automatically moves the zone to where Windows' location service puts the computer, which is your real location. While it's on, the companion leaves the zone alone, as Whereabouts does, and the tray says why. The companion never changes that setting itself. The installer and the tray menu open Settings > Time & language > Date & time, where you switch it off, and uninstalling reminds you that you can switch it back on there.
You can choose which countries count. settings.json in the companion's folder takes allowedCountries and blockedCountries, for example {"allowedCountries": ["NO", "SE"]}. Without them, every country passes, as in Whereabouts. It also takes homeCountry (by default, the country of your own time zone): DNS going through it while your connection comes out elsewhere is a leak. After editing it, quit the app from the tray and start it again from the Start menu.
On Linux it tells Alibi the moment your exit changes, and that's all: there's no tray, and the system's time zone stays as it is.
It's made for a VPN that covers the whole computer. It asks where your connection comes out the same way the rest of the computer connects, so with a proxy set only in your browser it would report your real location. If you proxy just the browser, skip the companion: Alibi's own once-a-minute check goes through the browser's proxy and gets it right.
Install
- From the latest release, download the companion for your system:
alibi-companion-windows-x64.exe(-arm64.exefor Windows on Arm), oralibi-companion-linux-x64(-arm64). - Windows: double-click it. It isn't code-signed, so SmartScreen may stop it first: choose More info, then Run anyway. The tray app starts right away, and Alibi Companion in the Start menu starts it again later. To have it start whenever you sign in, turn on Start when I sign in in its menu. Windows 11 puts new tray icons behind the ^ arrow; to keep the stamp in view, drag it onto the taskbar, or turn it on under Settings > Personalization > Taskbar > Other system tray icons. To keep Windows on your VPN's time zone from the start, run
alibi-companion-windows-x64.exe install --timezonefrom a terminal instead; you can also turn it on later from the tray. Linux: runchmod +x alibi-companion-linux-x64 && ./alibi-companion-linux-x64 install. - In Alibi, choose Match my IP address. A browser that's already open finds the companion within a minute.
Install copies the program into your user folder (%LOCALAPPDATA%\Programs\Alibi Companion on Windows, ~/.local/share/alibi-companion on Linux), so you can delete the download afterwards. It then registers it, for your user only and without admin rights, as the native messaging host com.doxigo.whereabouts, which only Alibi may start. On Windows that's a key under HKEY_CURRENT_USER for each of Chrome, Edge, Brave and Chromium, an Alibi Companion shortcut in the Start menu, and an entry in Settings > Apps > Installed apps. Start when I sign in adds it to the programs Windows starts at sign-in. On Linux it's a file in the profile folder of each Chrome, Chromium, Brave, Edge or Vivaldi it finds, so open a newly installed browser once before you install. It won't replace a registration that belongs to another program unless you run install --force. To update, run the new download the same way: it keeps your settings. A browser that's running the old copy keeps it until it next starts the companion.
alibi-companion statusshows where it's registered, whether the tray app runs, how Windows' time zone and region are set and what browsers read from them, and where your connection appears to be.alibi-companion agent --dry-run(Windows) shows what the time zone sync would set right now, and changes nothing.alibi-companion uninstall, or Uninstall on Alibi Companion in Settings > Apps > Installed apps, stops the app, puts Windows' time zone and region back home if they're still where it left them, and removes the program, its registrations, its Start menu shortcut and its settings.--quietasks nothing.
Every 2 seconds it compares your network adapters. When one comes up, goes down or changes address, it asks GeoJS where the connection now comes out, a few times over the next 20 seconds while the new routes settle. It also asks every 60 seconds, for exits that change without the adapters changing. On Windows the tray app does the asking while it runs, and the part the browser starts passes on its answer. That answer names the zone the way Windows now reads it (America/New_York for a Detroit exit, as on any real Windows PC there), so Alibi recognises the system as already matching. Without the tray app (on Linux, or while it isn't running), the part the browser starts asks GeoJS itself, and only while a cover is on Match my IP address: picking a city asks nothing.
Alibi and the companion talk over Chrome's native messaging, on your computer only. Alibi says first whether any cover is on Match my IP address, {"following": true}, and again whenever that changes. The companion says hello, and on Windows, while the tray app runs (or starts at sign-in) and follows Alibi's location, that it takes covers: {"hello": "alibi-companion", "accepts": ["cover"]}. It says hello again when that changes, and Alibi asks again when you open its popup, in case no companion was running to say so. Alibi then sends it the All sites cover's configuration, time zone and locale whenever they change, {"cover": {"configuration": "tokyo", "timezone": "Asia/Tokyo", "locale": "ja-JP"}}, and keeps the port open while that cover is a place. The companion answers with places, as Whereabouts does, and with the zone it holds Windows on, {"system": "Asia/Tokyo"}, or {"system": null} while it holds none, which the popup shows. Pages keep their own cover either way. Whereabouts speaks the same protocol on the Mac from doxigo/whereabouts#1 on ("hello": "whereabouts"). A companion that says no hello, like Whereabouts 1.2.0 and earlier, gets no cover, as before. On Windows each part the browser starts keeps its browser's cover for the tray app in a file of its own, covers\cover-<process id>.json, and deletes it as it exits; the tray app skips any whose browser part is gone.
Whenever the connection moves, and every 5 minutes, the tray app also checks where DNS and IPv6 come out. For DNS it looks up whoami.akamai.net, whose servers answer with the address of the DNS resolver that asked them, and asks GeoJS where that address is, once an hour at most for the same resolver. For IPv6 it asks GeoJS once more, over IPv6 only. It keeps home.json (your own time zone and region, and what it last set Windows to), settings.json, covers\ (each open browser's cover), agent.json (its latest answer, for the browser) and agent.log in the companion's folder.
Limits:
- It has no kill switch. Use your VPN's own (WireGuard: Block untunneled traffic), which stops traffic before any of it can leave the tunnel.
- It follows your VPN only while it sees one: a connected PPP, tunnel or virtual network adapter (IKEv2, SSTP, L2TP, WireGuard and most VPN apps use one), or one with WireGuard, OpenVPN, TAP or VPN in its name. A VPN on your router, or one whose adapter looks like plain Ethernet, isn't seen, so Windows stays on your own zone. A place from Alibi, with or on Alibi's location for all sites on, needs no VPN.
- While it follows your VPN, a zone you set by hand becomes home, but the exit's zone goes back on until the VPN disconnects. Turn off Keep Windows on my VPN's time zone in the tray menu to keep your own everywhere.
- Windows has one clock, so it follows the All sites cover only. A site with its own cover gets it in the browser only, as before. With Alibi in more than one browser or profile, Windows follows the newest place among those still open; Off or Match my IP address in one never outvotes a place in another.
- Windows has one clock for everyone signed in, too: one user's companion keeps it at a time. Another user's shows that it's waiting, moves nothing, and takes over once the first signs out.
- On Linux there's no tray and no time zone sync: setting the zone needs an administrator's approval that a program starting at sign-in can't ask for. There, the check page's rows that read the zone from the system still show yours.
- Browsers installed as a Snap or Flatpak can't start programs outside their sandbox. Alibi keeps checking once a minute in those.
- On macOS, use Whereabouts. The companion doesn't install there, because Whereabouts registers the same host.
- Its tests run in CI on Windows, macOS and Linux.
Anything that changes a page's JavaScript can be spotted by a determined script. The safest cover is one where nothing is faked, because the real system already tells the same story. On Windows:
- A VPN for the whole computer, not just the browser, with IPv6 tunnelled too (
::/0next to0.0.0.0/0) and its kill switch on (WireGuard: Block untunneled traffic). - Alibi Companion keeping Windows on your VPN's time zone, and Windows' Set time zone automatically off (the tray menu opens the setting for you). Windows then carries the exit's zone while the VPN is up, so with Match my IP address Alibi leaves the zone to Windows instead of faking it, and the tray turns red if DNS or IPv6 goes around the VPN (or, with your countries set, if the VPN drops).
- Alibi on Match my IP address, in Deep mode, with WebRTC Sealed. Deep mode gives the cover through Chrome itself, below the page. To hide its banner, start Chrome with
--silent-debugger-extension-api(see Modes). Sealed WebRTC keeps calls on the VPN too (see WebRTC). - Check it on the check page: every row should agree, and the time zone and language under Your IP address should match where your IP is.
On a Mac it's the same, with Whereabouts in the companion's place, with Match my Mac's time zone and region on.
Some things can't be hidden. Sites can often tell that an IP address belongs to a VPN provider: they won't know where you are, but they'll know you use a VPN. Only a residential or dedicated IP avoids that. A site can also estimate how far you are from the VPN server by timing its replies.
Stealth Mode (default). On every navigation, Alibi injects a script into each frame's page context. The script patches Intl, Date, toLocaleString, navigator.language(s) and navigator.geolocation. A page that asks for the default locale with an empty list, as in toLocaleTimeString([], …), gets the cover's locale too. No debugger is involved, so Chrome shows no banner. Limits:
- New iframes and blob Web Workers get the cover too. Workers started from the site's own files still see the real time zone and the browser's own language (
navigator.languageand theIntllocale). A system on the cover's time zone, as Whereabouts or Alibi Companion keep it, fixes their zone, but nothing outside Chrome moves their language: Chrome takes it from its own interface language. Covering them means restarting them from a blob, and on sites whose security policy forbids blob workers that fails silently, breaking the site. Third-party scripts, where fingerprinting usually comes from, can't start file workers (a worker's script must come from the page's own site), so they're limited to blob workers, which are covered. Alibi builds a blob worker's covered copy from the page's own Blob without reading its script, so a security policy that forbids readingblob:URLs doesn't stop it. On sites that require Trusted Types for scripts, such as Google Meet, blob workers start as they are, because covering them would be refused and reported to the site. So do blob workers whose URL was made before Alibi's script ran on sites that turn off synchronous requests, such as Cloudflare's dashboard, since covering those means reading their script. Deep covers file workers and those blob workers too. - An empty iframe reached through
window.frames[n]before anything touches itscontentWindowis still unpatched. - Cloudflare's Turnstile frame (
challenges.cloudflare.com, the "verify you are human" check on Cloudflare's own sign-in and many other sites) is left untouched. It compares its language with a blob worker of its own, its security policy keeps Alibi from covering that worker, and a mismatch fails the check. The worker already shows Cloudflare your real time zone and language, so patching the frame hid nothing and only broke sign-ins. The site itself still sees your cover. Deep covers the frame and its worker alike. - Determined fingerprinting scripts can detect the patches.
For Stealth Mode to also catch scripts that run the instant a page loads, open chrome://extensions, click Details on Alibi, and turn on Allow User Scripts. Alibi then registers its patches through chrome.userScripts, and Chrome runs them before any page script. With the toggle off, Alibi injects on page commit instead, and inline <head> scripts can still see real values when the HTML arrives within a few milliseconds of the headers. The popup shows a hint while the toggle is off.
Deep Mode. Browser support is required. Chrome 157 rejects extension requests for native timezone and locale overrides; Alibi reports Failed with instructions to choose Stealth and reload. It does not silently claim protection or switch modes. This restriction is present in Chromium's emulation implementation. The behavior below applies only when the browser accepts the overrides.
Turn this on in the popup. Alibi attaches chrome.debugger and uses the CDP Emulation.* overrides. Spoofing then happens below the page, which is much harder to detect, and cross-site iframes and Web Workers get the cover before their first script runs. Leaving the New Tab page (which the debugger can't touch), Alibi briefly parks the tab on a blank page to attach first, then continues to the site, so even that first page is covered from its first script. One limit remains: when you move between two sites with different covers in the same tab and the new page's HTML arrives almost instantly, its first inline scripts can see the previous site's cover (never your real location). Chrome holds debugger commands until the navigation commits, and re-sending the navigation could break form submissions. While it's active, Chrome shows the "started debugging this browser" banner. To use Deep Mode without the banner, launch Chrome with --silent-debugger-extension-api (how to pass flags). On Windows, right-click the shortcut you start Chrome from, choose Properties, and add the flag to the end of Target, after the closing quote. Quit Chrome completely first, including from the system tray, or the copy that's still running ignores the flag.
The popup has two tabs. All sites holds your usual cover. The second tab is named after the current site: choose Give it its own cover and that site, along with its subdomains, gets separate settings. The most specific rule wins, and iframes follow the page they're embedded in. Chrome 145 and later also use the top-level site's language for requests from embedded frames. Older versions use the requesting frame's site for those headers. To keep one site on your real location, give it its own cover and set it to Off (real location). A site's own cover has its own Stealth/Deep mode too, and can seal WebRTC on its own (see WebRTC).
Open Manage in the popup to search, add, edit or remove site rules. Named profiles save a reusable copy of a cover. Loading a profile keeps the site rule's expiry. Choose Save cover to apply it. A temporary site rule can expire in one hour or 24 hours. Expiry removes that rule, so the next matching parent rule or All sites applies. Existing Stealth documents need a reload; supported Deep overrides update live.
Export settings saves a versioned JSON backup locally. Preview import lists the additions and replacements before you apply them. Undo last import restores the previous values for entries you have not edited since. Backups contain hostnames and coordinates. Limits are 1 MB per import, 1,000 site rules and 100 profiles.
Application status distinguishes Configured, Applied, Failed, Reload required and Off. Applied means the injection or browser commands completed; it is not proof against fingerprinting. A Stealth settings change keeps the old document's cover until reload. Deep-to-Stealth changes also require reload. Unrelated tabs keep their debugger sessions. The manager shows the last successful browser IP lookup or companion location update and any later lookup failure. A failed lookup or 150 seconds without a successful check marks an IP cover stale. After a Deep failure, Switch this site to Stealth and reload keeps the effective cover and changes the mode for this site.
Run diagnostics compares the selected tab's page, fresh iframe, classic and module blob workers, Accept-Language header, permitted geolocation and WebRTC candidates. It does not request location permission. The header test contacts httpbingo.org and the STUN test contacts Google's server, so those services see the connection address. No page contents or referrer are sent by the header test. Results come from the page and can be affected by its scripts or policies. No WebRTC candidates is inconclusive. These blob-worker checks do not cover Stealth's known file-worker limitations.
Alibi does not change your IP address. Use a VPN or proxy for that, then choose Match my IP address. The cover then follows your connection. While any cover uses it, Alibi asks GeoJS where you appear to be once a minute, so switching VPN exits moves the cover within a minute. Pages already open pick up the new place when they reload.
With Whereabouts running, the cover moves as soon as Whereabouts sees the new exit, and the browser uses that report while it is fresh. To set it up:
- Install Whereabouts 1.2.0 or later and open it once. Each time it starts, it registers itself with Chrome and Brave as a native messaging host (
com.doxigo.whereabouts) that only Alibi may use. - Load this version of Alibi or a later one (see the note on the pinned ID under Install).
- Choose Match my IP address for all sites or for one site.
If the companion reports a failed check, quits, or goes 150 seconds without confirming its location, Alibi checks GeoJS at its next minute alarm. Older companions that report only changes also get this browser recheck. The Chrome Web Store build leaves this out: it has a different ID and no nativeMessaging permission.
On Windows and Linux, Alibi Companion takes Whereabouts' place: install it once, and the cover moves as soon as the companion sees the new exit.
When Whereabouts also moves the Mac's time zone to the exit, open pages follow the new time zone without a reload: while the Mac's zone already matches the IP, Alibi leaves the zone to Chrome, which passes the Mac's zone changes into pages that are already open. Their language, locale and location still change on reload.
WebRTC, which sites use for calls, asks a STUN server over UDP which IP address it sees, and the page can read the answer. UDP doesn't go through a browser proxy, and with a VPN that doesn't carry every route (split tunnelling, or IPv6 left out), that answer can be your real IP address, whatever cover Alibi gives the page.
The WebRTC line under Mode in the popup closes that. Point at either box for what it does. Sealed sets Chrome's WebRTC IP handling policy (chrome.privacy.network.webRTCIPHandlingPolicy) to disable_non_proxied_udp. WebRTC then goes through your proxy only, or with no proxy over TCP alone, which a VPN carries, and asks no STUN server for your address. It's one setting for the whole browser, so it holds for every site in both modes, and it reaches pages that are already open without a reload. Open, the default, leaves the setting to Chrome.
A site with its own cover can be Sealed while All sites stays Open. Chrome's setting covers the whole browser, so that seal is in the site's pages instead: Alibi has their WebRTC use relays only, reached over TCP or TLS. Pages already open pick it up when they reload. It's weaker than Chrome's seal, since a page that sets out to can reach a fresh frame (frames[0]) before Alibi patches it. While All sites is Sealed, every site is, and a site's own boxes are greyed out.
Sealed has a cost. Calls connect through a TCP relay instead of directly, which can add some delay, and a site that offers no TCP relay can't connect a call at all. The popup shows Chrome's effective setting. If another extension or policy prevents the browser seal, the popup shows it as blocked. A site with its own seal can still use its relay protection after a reload.
The check page shows the public address WebRTC gives a page next to the one its requests come from. Sealed, it shows none, and so does a public test such as BrowserLeaks.
scripting, host permissions (all sites): Stealth Mode needs these to inject its spoofing script into pages.
declarativeNetRequestWithHostAccess: Sets the Accept-Language request header to match each site's cover.
privacy: Only while WebRTC is Sealed for all sites: sets Chrome's WebRTC IP handling policy, so WebRTC can't show sites your IP address around your VPN or proxy. Alibi touches no other privacy setting.
userScripts: Lets Stealth Mode run before page scripts once you turn on "Allow User Scripts". Note: the Chrome Web Store limits this API to user-script managers, so a store build may need to drop it and rely on the injection fallback.
debugger: Deep Mode needs this to attach to tabs and emulate location, time zone, and locale.
webNavigation: Detects new page loads so Alibi can apply the active mode.
storage: Stores settings and preferences.
alarms: Re-checks your IP address once a minute while a cover is set to Match my IP address.
nativeMessaging: Alibi listens to Whereabouts, the companion Mac app, or to Alibi Companion on Windows and Linux, so a cover on Match my IP address moves the moment your VPN exit does. Alibi receives the exit's time zone, locale and coordinates. It tells the companion whether any cover is on Match my IP address, so the companion looks nothing up while none is. To a companion that can keep the system's clock on Alibi's location (Alibi Companion on Windows, Whereabouts from doxigo/whereabouts#1 on the Mac) it also sends its All sites cover's configuration, time zone and locale. The store build leaves this permission out.
Alibi is built using JavaScript and Tailwind CSS.
yarn
yarn build # outputs to /build
yarn build:store # Chrome Web Store zip: same build without the userScripts and nativeMessaging permissions or the pinned key
yarn test # settings, background/debugger lifecycle, stealth and geolocation regressions
yarn test:browser # real Chrome checks in a disposable profile, native messaging disabled
yarn testpage # the check page at http://localhost:8642/, with a second site and delay/policy options
The scripts run the same on Windows, macOS and Linux, with no rm, cp or zip needed. You need Node 22.2 or later and Yarn 1 (npm install -g yarn; recent Node releases no longer bundle Corepack). On Windows, if PowerShell refuses with "running scripts is disabled on this system", run the same commands from Command Prompt.
test:browser uses CHROME_PATH if set, otherwise the standard Chrome path on macOS or google-chrome on PATH. It serves fixtures on loopback, uses Chrome's testing-only extension loader, and leaves your normal browser profile untouched. Diagnostic network replies are stubbed. Supported Deep overrides are checked; browsers that block them must report an explicit failure. CI runs the browser suite on Chrome stable.
Alibi Companion lives in companion/ and is written in Go (1.26 or later):
yarn build:companion # the Windows and Linux programs, into companion/dist
cd companion && go test ./... # its tests
companion/locales.go is generated from Node's CLDR data, so the companion picks the same locale Alibi does, and names countries and time zones the same way. After a Node update, refresh it with go generate in companion/. yarn build:companion also runs companion/cmd/winres, which builds Alibi's stamp (from img/icon-*.png), the version and a manifest into the Windows programs.
- Open
chrome://extensions/. - Enable Developer mode.
- Click "Load unpacked".
- Select the
buildfolder, or the root folder if you're runningyarn watch:css.
Every push and pull request runs the tests and builds on Windows, macOS and Linux. Pushes keep the unpacked extension and the companion programs as CI artifacts (Actions → the latest run on main → alibi-extension, alibi-companion).
-
Bump
versioninmanifest.jsonand commit it. -
Tag it with the release notes as the message, then push the tag:
git tag -a v1.0.1 -m "What changed" git push origin v1.0.1
The Release workflow runs the tests, checks that the tag matches manifest.json, and publishes a GitHub Release with alibi-v1.0.1.zip (for Load unpacked), alibi-v1.0.1-chrome-web-store.zip (for the store), and Alibi Companion for Windows and Linux with a SHA256SUMS file.



