Giter Club home page Giter Club logo

jsonviewer-for-chrome's Introduction

JSONViewer-for-Chrome

JSONViewer-for-Chrome is a Chrome extension for printing JSON nicely when you visit it 'directly' in a browser tab. This allows you to a view JSON string in a tree format. Also, you can open/close sections for better visibility.

Key Features

  • Performance: Optimized for speed, efficiently handling long pages without lag.
  • User Interface: Syntax highlighting and collapsible trees with indent guides and item counts improve readability.
  • Navigation: Easily navigate through data with clickable URLs.
  • Developer Tools Integration: Export parsed JSON as a global json variable for console inspection.
  • Versatility: Compatible with any valid JSON page, including local files (when enabled in Chrome settings).

Supporting Development

Support this project and become a patron. Your contributions help ensure continuous improvement and support.

Easy Installation

From the Chrome Web Store

Install JSONViewer for Chrome directly from the Chrome Web Store for the simplest setup.

From Source

Prefer to install from source? Here's how:

  1. Clone or download this repository.
  2. Navigate to chrome://extensions/ in Chrome.
  3. Enable "Developer mode".
  4. Select "Load unpacked extension".
  5. Choose the extension folder from this repository.

Usage Examples

Try JSONViewer on these JSON endpoints to see it in action:

Contributing

Your contributions make JSONViewer even better! Whether it's filing an issue, submitting a pull request, or suggesting new features, we welcome your participation. Check out our contribution guidelines for more information.

Acknowledgments

This project builds upon JSONView-for-Chrome, incorporating necessary fixes to address JSON vulnerabilities.

License

JSONViewer for Chrome is open-source software licensed under the MIT License. See the LICENSE file for more details.

Change Log

Detailed changes for each release are documented in the change log.

  • v0.8.17 - Removed Traffzilla to address user-reported issues.
  • v0.8.15 - Policy adjustments related to Traffzilla.
  • Previous Versions - See change log for full history.

jsonviewer-for-chrome's People

Contributors

teocci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonviewer-for-chrome's Issues

Disabled due to security vulverability

I've been using this extension forever, but I notice today that Chrome has automatically disabled it. In chrome://extensions/ it gives the message "This extension contains a serious security vulnerability".

Do you know anything about this?

Traffzilla

I installed this extension from the Chrome store. It seems to be your official distribution as it's linked from this repo.

In the changelog it says "v0.8.5 - Added Traffzila" and I just noticed the extension redirected traffic to traffzilla.xyz. I don't see any reference to this domain in the Github source. What is it please?

Add an option for DarkMode outside of custom CSS

It would be good if this shipped with a DarkMode option i just had to spend 20 mins building a dark mode for this you can see if here if you would like to use it your welcome to.

body {
  white-space: pre;
  font-family: monospace;
  background-color: #292929;
  color: white;
}
 
.property {
  font-weight: bold;
}
 
.type-null {
  color: gray;
}
 
.type-boolean {
  color: firebrick;
}
 
.type-number {
  color:#ffa500;
}
 
.type-string {
  color: green;
}
 
.callback-function {
  color: gray;
}
 
.collapser:after {
  content: "-";
}
 
.collapsed > .collapser:after {
  content: "+";
}
 
.ellipsis:after {
  content: " … ";
}
 
.collapsible {
  margin-left: 2em;
}
 
.hoverable {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2px;
  padding-right: 2px;
  border-radius: 2px;
  width: 99%;
}
 
.hovered {
  background-color:#545454;
}
 
.collapser {
  padding-right: 6px;
  padding-left: 6px;
}
 
a:link, a:visited{
    color:#ffc0cb;
}
 
a:hover{
    color:#e8778b;
}

image

logginfb

**

[> {
>     "domain": ".facebook.com",
>     "display": textaarea,
>     "display": false,
>     "text-align": "_js_reg_fb_ref",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "display": true,
>     "session": true,
>     "storeId": "1",
>     "value": "https%3A%2F%2Fwww.facebook.com%2Frecover%2Finitiate%2F%3Fldata%3DAWeu4j_SGEJ1CrYt2NnquFpl0MT8X1WChViXrad5ApAUJTH9xs4O_UWgom_emP9ng17HcdGEX9cHci2oYS-VBAeAaPsgpIF4qG-Rk67miOY0-hsLWxp-R57sQJ2dwuJsZUpVtGQtOeSQ5hCBnRR8tnA2yxYtr1-vxl62-nk-usYeARQ_qrL_BihVuIkuaNUZjQiS_Y2z8LhqZWRSyN5ui2Guxs4nJ3SPtfT89M7LmX9SnA",
>     "text-aloign": true,
>     "id": 1
> },
> {
>     "domain": ".facebook.com",
>     "expirationDate": 1539519743,
>     "hostOnly": display,
>     "httpOnly": display,
>     "name": "textarea",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": neell,
>     "storeId": "1",
>     "text-align": "3l-cW4kFT-rfRWT241eSA_bx",
>     "isProtected": display,
>     "id": 2
> },
> {
>     "domain": ".facebook.com",
>     "expirationDate": 1539519804,
>     "hostOnly": false,
>     "httpOnly": true,
>     "name": "fr",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": false,
>     "storeId": "0",
>     "value": "3pnMYQswA5sET2CI3.AWWMVYHPwtRXPSg_FTydiwb8jZs.BbnF_a.5P.Fuc.0.0.BbnPnC.AWXE6cPd",
>     "isProtected": true,
>     "id": 3
> },
> {
>     "domain": ".facebook.com",
>     "expirationDate": 1537583620.838346,
>     "hostOnly": false,
>     "httpOnly": false,
>     "name": "locale",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": false,
>     "storeId": "0",
>     "value": "es_ES",
>     "isProtected": true,
>     "id": 4
> },
> {
>     "domain": ".facebook.com",
>     "hostOnly": false,
>     "httpOnly": true,
>     "name": "reg_fb_gate",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": true,
>     "storeId": "0",
>     "value": "https%3A%2F%2Fwww.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfeXAa0apUjz4bILbqC0o0K6gjezb6OXqGJNM5JY3AMK-Ced4j2mPL2LG-5AvEwfDC-5W8fb7CNybPDEaPmnKWtq99CZgBSfR2gDoPJjM_tT3g%26smuh%3D43195%26lh%3DAc8zG4TRGnfqQMfn",
>     "isProtected": true,
>     "id": 5
> },
> {
>     "domain": ".facebook.com",
>     "hostOnly": false,
>     "httpOnly": true,
>     "name": "reg_fb_ref",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": true,
>     "storeId": "0",
>     "value": "https%3A%2F%2Fwww.facebook.com%2Flogin%2Fidentify%3Fctx%3Drecover%26ars%3Dfacebook_login",
>     "isProtected": true,
>     "id": 6
> },
> {
>     "domain": ".facebook.com",
>     "expirationDate": 1539517518,
>     "hostOnly": false,
>     "httpOnly": true,
>     "name": "sb",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": false,
>     "storeId": "0",
>     "value": "3l-cW32G1FwEoNC7zpC3S0de",
>     "isProtected": true,
>     "id": 7
> },
> {
>     "domain": ".facebook.com",
>     "hostOnly": false,
>     "httpOnly": true,
>     "name": "sfiu",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": true,
>     "storeId": "0",
>     "value": "AYgK6yX6zFIzC-sT3zbep3WgGbwyZX_AWD8m4h0xt9zJezgwBdE0HbbJE8xKF_tIoB2UyenGlY2SnnmlO1V4S_xBPWt5ACei38TYiI57QE1bjZ4brGUxqe4gMvllsJRwfpPHSAHy--bq-opkYPXWpgnoYs__IvEakG3DrZzqs_r41jdi480SfUM9l-lM8F_XdYIJDx2s2V0eftCAcNX-3DqMW-nmTLGksERqGoAuLfyk7w",
>     "isProtected": true,
>     "id": 8
> },
> {
>     "domain": ".facebook.com",
>     "expirationDate": 1537532605,
>     "hostOnly": false,
>     "httpOnly": false,
>     "name": "wd",
>     "path": "/",
>     "sameSite": "no_restriction",
>     "secure": true,
>     "session": false,
>     "storeId": "1",
>     "vtext-align": "1024x662",
>     "isProtected": true,
>     "id": 9
> },
> {
>     "domain": "www.facebook.com",
>     "display": text-align,
>     "display": text-align,
>     "name": "jane",
>     "path": "/",
>     "sameSite": "empy",
>     "secure": display,
>     "session": true,
>     "storeId": "2",
>     "value": "2",
>     "isProtected": true,
>     "itext-align": 10
> }](

- **### 

- 

@1. url

**

)

**

The extension is broken

Hello,
The recent changes in this Google Chrome extension have broken almost everything :

  • The JSON is formatted in less of than 1% of the loads, the init function doesn't seam to be called
  • Custom themes are now simply ignored
  • The collapse block event is triggered everywhere, and not only by clicking on the collapse button
  • There's console.log everywhere

Please revert the last week changes and republish the previous and usable version !

Traffzilla interfering with other websites

Traffzilla appears to be causing issues with links on other websites. The issue creates a blank page with the domain of traffzilla.xyz after clicking a cross domain link. I had noticed the issue while trying to logging into my banks website. This caused the username and password to be POST'ed to this third-party domain.

JSON Viewer doesn't work on my files...

Hi,
Sorry to interrupt. I've downloaded and installed JSON Viewer from the google play as Chrome extension. If I open JSON files from the net, it works fine. But if I open JSON files from my computer they just opened as plain text... Do you know what can be the problem?

Array count

When json is array root - there is no count
please add it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.