• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Is it possible to disable the default JSON viewer?

    Opera for Windows
    3
    6
    1642
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nashuim
      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
      f76da109-91fd-42fd-9eaf-5277d7c85604-image.png

      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?

      Reply Quote 0
        leocg 1 Reply Last reply
      • leocg
        leocg Moderator Volunteer @nashuim last edited by

        @nashuim As far as I know, Opera doesn't include a JSON reader.

        Reply Quote 0
          1 Reply Last reply
        • nashuim
          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

          Reply Quote 0
            leocg 1 Reply Last reply
          • leocg
            leocg Moderator Volunteer @nashuim last edited by

            @nashuim The page looks the same on all browsers here. Just Firefox seems to be a little different, since it includes a header/menu on the top.

            Reply Quote 0
              1 Reply Last reply
            • burnout426
              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=PrettyPrintJSONDocument
              

              That 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.

              Reply Quote 1
                nashuim 1 Reply Last reply
              • nashuim
                nashuim @burnout426 last edited by

                @burnout426 Thank you! That's exactly what I was looking for

                Reply Quote 1
                  1 Reply Last reply
                • Locked by  leocg leocg 
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-