mirror of
https://github.com/zen-browser/desktop.git
synced 2026-09-02 03:33:34 +00:00
29 lines
970 B
C++
29 lines
970 B
C++
diff --git a/browser/components/urlbar/content/UrlbarShared.mjs b/browser/components/urlbar/content/UrlbarShared.mjs
|
|
index 5522d8a8c8d9549453c1700ff6fec40be52747ce..7b8ad33cc337907249749074057254bf7e316994 100644
|
|
--- a/browser/components/urlbar/content/UrlbarShared.mjs
|
|
+++ b/browser/components/urlbar/content/UrlbarShared.mjs
|
|
@@ -32,6 +32,7 @@ export const UrlbarShared = {
|
|
// `looksLikeOrigin()` returned `LOOKS_LIKE_ORIGIN.OTHER` for this token.
|
|
// It may or may not be an origin.
|
|
POSSIBLE_ORIGIN_BUT_SEARCH_ALLOWED: 12,
|
|
+ RESTRICT_WORKSPACE: 13,
|
|
}),
|
|
|
|
/**
|
|
@@ -52,6 +53,7 @@ export const UrlbarShared = {
|
|
TITLE: "#",
|
|
URL: "$",
|
|
ACTION: ">",
|
|
+ WORKSPACE: "`",
|
|
}),
|
|
|
|
/**
|
|
@@ -68,6 +70,7 @@ export const UrlbarShared = {
|
|
if (lazy.UrlbarPrefs.get("scotchBonnet.enableOverride")) {
|
|
keys.push(this.RESTRICT_TOKENS.ACTION);
|
|
}
|
|
+ keys.push(this.RESTRICT_TOKENS.WORKSPACE);
|
|
return new Set(keys);
|
|
},
|
|
};
|