mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -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.
|
// # and white space don't agree with FF's JSON viewer.
|
||||||
// Probably other symbols too.
|
// Probably other symbols too.
|
||||||
const containers = await browserBg.contextualIdentities.query({}) // Can't access src/lib/containers.ts from a content script.
|
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.
|
/** Opens the current tab in another container.
|
||||||
|
|
Loading…
Add table
Reference in a new issue