diff --git a/CHANGELOG.md b/CHANGELOG.md index 591ae2b..dcbb641 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.5.0 (30-07-2019) + +* Fixed various CSP issues +* Fixed extension malfunction on sites with JSON-like content +* Updated `discovery` to `1.0.0-beta.16` version + ## 1.4.3 (30-06-2019) * Updated `discovery` diff --git a/README.md b/README.md index 006c9a9..f1dc032 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,29 @@ # JsonDiscovery -## Browser extension for discovery json APIs and data +Browser extension that changes the way you\'re viewing JSON -> Now available for Firefox! - -Extension based on [Discovery.js](https://github.com/discoveryjs/discovery) which allows you to discover JSON-documents and APIs and make beautiful reports on the fly! - -![JsonDiscovery](https://lh3.googleusercontent.com/yZtKr90fS9aOF30d5PyZ-lMrwOIqe0mq13Og6q-BzAU1LgTowkO52WuI5tsgbXx-LUs3XOjKLw=w640-h400-e365) +![JsonDiscovery](https://i.imgur.com/aMinbNB.png) Download it from: * [Chrome Web Store](https://chrome.google.com/webstore/detail/discoveryjson/pamhglogfolfbmlpnenhpeholpnlcclo) * [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/jsondiscovery/) * [Releases](https://github.com/discoveryjs/browser-extension-json-discovery/releases) section. +Extension based on [Discovery.js](https://github.com/discoveryjs/discovery) which allows you to discover JSON-documents and APIs and make beautiful reports on the fly! + +## Most exciting features: +- Show JSON as an interactive tree with highlighting +- Easy an object or an array copy to clipboard +- Data structure signature (like in TypeScript) +- Data transformation with a query using Jora, suggestions on a query typing +- Customisation of JSON data presentation (using tables, lists and so on) +- Customisation (report) sharing by a link +- Works on any page with a valid JSON – URL/content type doesn't matter +- Works on local files (see below) +- Works offline (doesn't perform any network request) + +Read more on [Medium](https://blog.usejournal.com/changing-a-way-were-viewing-json-in-a-browser-51eda9103fa2) or on [Habr (in Russian)](https://habr.com/ru/post/461185/) + ### How to install from zip #### Chrome: @@ -23,6 +34,13 @@ Download it from: * Find the folder where you extracted ZIP file * That's it! +##### Working with local files + +* Navigate to chrome://extensions +* Find JsonDiscovery +* Click "Details" button +* Toggle "Allow access to file URLs" switch + #### Firefox: * Navigate to "about:debugging" in the URL bar diff --git a/src/manifest.js b/src/manifest.js index 217f9b9..ef7123d 100644 --- a/src/manifest.js +++ b/src/manifest.js @@ -1,7 +1,7 @@ module.exports = { name: 'JsonDiscovery', short_name: 'Json Tool', // eslint-disable-line camelcase - description: 'Browser extension for viewing JSON documents and making reports on the fly.', + description: 'Browser extension that changes the way you\'re viewing JSON', author: 'exdis', manifest_version: 2, // eslint-disable-line camelcase icons: { 16: 'icons/16.png', 128: 'icons/128.png' }, @@ -14,5 +14,6 @@ module.exports = { css: ['css/inject.css'], run_at: 'document_end', // eslint-disable-line camelcase matches: [''] - }] + }], + offline_enabled: true // eslint-disable-line camelcase };