Is it possible to disable the default JSON viewer?
-
nashuim last edited by nashuim
The most recent version of Opera (103.0.4928.16) seems to include a JSON viewer installed that's used when viewing json pages.
Example for https://jsonplaceholder.typicode.com/posts

Is there any way to disable this viewer? It's overriding an extension I use to view JSON that has more functionality than the default viewer.
I see no option in the settings, opera://flags or the extension list when running Opera with --show-component-extension-options
If it is not possible to disable it is there any way for an extension to take precedence over the default viewer?
-
nashuim last edited by
@leocg Yes it does, open https://jsonplaceholder.typicode.com/posts in Opera and you'll see a page that looks like the screenshot I posted.
Regardless, I have seen others report this problem and it seems to be a Chromium issue. The latest version of Chromium fixes this and allows extensions to override the viewer
-
burnout426 Volunteer last edited by
I see some info about this at https://community.brave.com/t/how-to-disable-new-pretty-print/506408.
"C:\Program Files\Opera\launcher.exe" --disable-blink-features=PrettyPrintJSONDocumentThat seems like it does the trick. It gets rid of the pretty print checkbox at least. Not sure if it'll allow your extension to work again or not though.
-
Locked by
leocg