diff --git a/src/content.entry.ts b/src/content.entry.ts index e353947..aef5430 100644 --- a/src/content.entry.ts +++ b/src/content.entry.ts @@ -195,6 +195,13 @@ const resultPromise = (async (): Promise<{ // console.log('JSON Formatter: Type "json" to inspect.') } + // remove the pretty-print bar + for (const el of document.getElementsByClassName( + 'json-formatter-container' + )) { + el.style.display = 'none' + } + return { formatted: true, note: 'done',