mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Use jsonview() for :viewcontainers
This commit is contained in:
parent
cbce8db9f5
commit
4a4a095f6d
1 changed files with 1 additions and 1 deletions
|
@ -2986,7 +2986,7 @@ export async function viewcontainers() {
|
|||
// # and white space don't agree with FF's JSON viewer.
|
||||
// Probably other symbols too.
|
||||
const containers = await browserBg.contextualIdentities.query({}) // Can't access src/lib/containers.ts from a content script.
|
||||
window.location.href = "data:application/json," + JSON.stringify(containers).replace(/#/g, "%23").replace(/ /g, "%20")
|
||||
jsonview(JSON.stringify(containers))
|
||||
}
|
||||
|
||||
/** Opens the current tab in another container.
|
||||
|
|
Loading…
Add table
Reference in a new issue