Locke Extension 版本历史 - 6 个版本
Locke Extension 作者: Sonomos
Locke Extension 版本历史 - 6 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 2.1.0
发布于 2026年11月23日 - 203.74 KB适用于 Firefox 128.0 及更高版本Summary. 2.1.0 makes the extension usable before the Locke desktop app
is installed, and screens more of what is sent to AI services once it is.- Before the desktop app is installed, the extension blocks nothing.
It tells the user it is not connected (toolbar mark, popup, and a
one-time page on first install) and links to the free desktop app.
Screening turns on once the app is installed. - Google AI Mode is screened. A prompt typed into Google's search bar in
AI Mode is checked on-device before it is sent. - Stricter handling when screening is unavailable. If the desktop app's
user has opened a temporary "fail-open" window, only plain chat messages
are let through unchecked; attachments and anything unrecognised are held. - New permissions, both for Google AI Mode only:
declarativeNetRequestWithHostAccessand the host permission
https://www.google.com/*are used solely to redirect the AI Mode search
navigation (/search?…udm=50…) to the extension's own screening page.
Ordinary Google search is untouched. The extension makes no network
requests to Google or anywhere else: its pages' content security policy
still allows connections only to the local desktop app on 127.0.0.1, and
request content goes only to that app, over native messaging.
源代码遵循 Mozilla 公共许可证 2.0 发布
- Before the desktop app is installed, the extension blocks nothing.
较早版本
版本 2.0.4
发布于 2026年11月12日 - 170.41 KB适用于 Firefox 128.0 及更高版本Summary. 2.0.4 closes four places where a prompt could leave the browser
without being screened, and stops the extension from blocking sign-in to
Locke itself. No permission, host permission or popup change:host_permissions
is still loopback-only (http://127.0.0.1/*) and request content still goes
only to the local Locke desktop app over native messaging.
Changed — what the page shim screens
- WebSocket sends.WebSocket.prototype.sendnow holds each outgoing frame
and screens it on-device the same way asfetchbodies, releasing frames per
socket in their original order. Grok's web app sends prompts this way and
was previously unscreened.
- Bodyless requests with a query. AfetchGET that carries a query string
is now passed to the local guard (with an empty body); a redaction is applied
only to the same origin and path, otherwise the request is blocked. Google AI
Mode sends prompts asGET /async/folif?…&q=<prompt>. Ordinary page GETs
are unaffected if the guard is unavailable.
- FirefoxRequestbodies. Firefox has noRequest.prototype.body, so
fetch(new Request(url, {method: 'POST', body}))was read as bodyless and
skipped (every Gemini prompt on Firefox). Such requests are now read and
screened.
Fixed
- Requests tosonomos.aiand its subdomains are never held or screened, so
signing in to Locke works while the desktop app is off or starting.
Data —shared/ai-surfaces.jsonandshared/vocab.jsonre-vendored from
upstream (Google AI Mode capture path, Microsoft Copilot, ChatGPT regional
upload hosts).源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.0.3
发布于 2026年11月3日 - 164.18 KB适用于 Firefox 128.0 及更高版本Summary. 2.0.3 changes the extension's icon to the Locke logo. The package
differs from 2.0.2 only in the four icon PNGs and the version number; no
script, permission, host or popup markup changes. For reviewers, since the 2.0.2 notes understated it: from
2.0.2 onward the content scripts match everyhttp://andhttps://page (they
previously matched a fixed list of AI sites) so each bodied request can be
classified on-device by the Locke desktop app.host_permissionsis still
loopback-only (http://127.0.0.1/*), no permission was added, and the
extension sends request content only to the local desktop app over native
messaging. 2.0.3 is unchanged from 2.0.2 in this respect.
Changed — Locke logo on the extension icon and store listing
-icons/icon-{16,32,48,128}.pngare re-rendered from the Locke padlock mark
(transparent background), replacing the charcoal-tile version. Sizes are
unchanged, somanifest.jsonand the store-build size checks are untouched.
-docs/store/assets/store-listing-logo.png(the Locke mark on white, with
padding) and its 300x300 downscaleedge-logo-300x300.pngare the store
listing logo. Published listings keep the old art until the next version is
submitted.icons/action.svgis no longer the master for the PNG icons.源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.0.2
发布于 2026年10月18日 - 159.17 KB适用于 Firefox 128.0 及更高版本Summary. 2.0.2 raises the fail-closed verdict ceiling so a cold screen of a
long conversation can finish instead of being blocked for taking too long, and
documents a coverage limit that had gone unstated since it landed: onchatgpt.com,claude.aiandwww.perplexity.aionly a short list of paths is
screened, so other bodied requests on those hosts are not held. The same
catalog revision closes the worst of that gap by addingclaude.ai's two
attachment-upload paths. For reviewers: nothing here weakens fail-closed, no
permission was added or widened, outbound requests are still loopback-only, the
Firefox data-collection declaration is stillnone, andHONEST.mdnow states
the path limit in full.
Fixed
- A blockedXMLHttpRequestleftreadyStateatOPENEDand fired no
readystatechange, so a page driving XHR throughonreadystatechange— the
older of the two idioms, and still common — waited forever on a request we had
already refused. A refused XHR now transitions toDONEand fires
readystatechangebeforeerrorandloadend, which is what the page sees
from a network failure.
-HONEST.mdandREADME.mdboth claimed a same-origin bodied request to a
covered AI host is held. On the three hosts the catalog narrows by path, it is
not. Both documents now say which paths are screened and what that leaves
unscreened; a test fails if either drifts from the generated file again.
- Three native-host failure codes (host-panic,bridge-protocol-mismatch,
native-timeout) told the user "the Locke desktop app could not be reached.
Start it." Nothing was unreachable in any of them. Each now says what actually
happened, and the first two no longer leave the popup reading "Active" off a
receipt from before the failure.
Added
-claude.aiattachment uploads (/api/*/upload,
/api/organizations/*/convert_document) are now held and screened.
- The popup reports how many requests were blocked this session beside the
count of items redacted, and the toolbar badge shows the blocked count for ten
seconds after a block. A block was previously visible only as a failed request
on the page and a line on a console nobody has open. The badge stays empty when
healthy and every existing badge state still wins over the count.
Changed
- The fail-closed verdict ceiling is 200 s (was 45 s), behind the service
worker's 190 s native-call timeout and the native host's 180 s capture
deadline, so a slow-but-valid screen is no longer refused for being slow and
each hop still reports its own specific reason. The managed
enforceTimeoutMsrange is 1000–300000, default 200000.
- Native host requests are cancellable, and live browser connection status
recovers rather than staying stuck after a failed round trip.源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.0.1
发布于 2026年9月4日 - 111.61 KB适用于 Firefox 128.0 及更高版本Summary. 2.0.1 makes the extension work on Firefox (2.0.0 blocked every
in-scope AI request there), closes the remaining ways a request could leave the
browser unscreened, and stops the popup and toolbar badge reporting "Active" on
anything short of a real screened request. For reviewers: the Firefox
data-collection declaration isnone, the privacy policy is the
extension-specific one, the only outbound requests are to loopback, and the
source is published under a view-only licence.
Fixed
- Firefox: every in-scope AI request was blocked because the content-script
relay expected a promise fromchrome.runtime.sendMessage; both messaging
dialects are now handled, and settings (including admin policy) are read the
same way.
- Attachments an AI web app uploads to object storage on another host were
never seen; a cross-origin object write from a covered page is now held and
screened, with no host permission added.
- The popup and badge could show "Screening: Active" from a connection alone, a
reachability probe, or a fail-open send; "Active" now requires a real
screened-request receipt.
- Frames with no URL of their own (about:blank,srcdoc,blob:) and
subdomains of catalog hosts got no hooks; the manifest now covers them.
- A blocked request looked like the site breaking and often carried wrong
advice; every block now names Sonomos, its kind, and a remedy that is true.
- Popup status no longer claims the desktop app is down before asking, and the
enforce timeout is back to 45 s.
- On a managed profile, a request fired before the admin policy arrived was
screened even for an excluded provider; and a redacted resend of
fetch(new Request(url), init)droppedinit.
Added
- Source published assonomoshq/Locke-Extensionunder a view-only licence.
-data_collection_permissions: { required: ["none"] }under
browser_specific_settings.gecko.
- TheallowedProvidersmanaged policy is enforced (subtractive).
- In-scopenavigator.sendBeaconandfetchLater()requests carrying a body
are refused rather than sent unscreened.
- The popup reports how many items of personal information were redacted this
session and how many requests went out under the user's fail-open setting.
Changed
- Privacy policy URL is nowhttps://sonomos.ai/locke/privacy.
- Injection host list resynced from the catalog: removedphind.com,
www.phind.com,chat.lechat.fr,leo.brave.com,brave.com,
grok.x.ai; addedcopilot.microsoft.com,grok.com,duck.ai,
assistant.kagi.com.
- Store packages ship PNG icons only and exclude build inputs; the Firefox
package drops the Chrome-onlystorage.managed_schemapointer.
- Publishing is a manualworkflow_dispatch, not a side effect of merging.源代码遵循 Mozilla 公共许可证 2.0 发布
版本 2.0.0
发布于 2026年8月27日 - 38.11 KB适用于 Firefox 128.0 及更高版本源代码遵循 保留所有权利 发布