mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Merge pull request #3539 from Rummskartoffel/viewcontainers-jsonview
Use jsonview() for :viewcontainers
This commit is contained in:
commit
619ba91040
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