Shows size of NextJS static data and allows for display as formatted JSON from right click on toolbar icon.
NextJS Utilities Extension Extension
A Google Extension that allows for easily viewing the size of the windows.__NEXT_DATA__ static data that is downloaded with every server-side load from the open source NextJS framework (server-side rendering create-react-app replacement built by zeit.co).
You can read all about using this extension on this blog post:
http://peterkellner.net/2019/06/16/a-chrome-extension-for-viewing-serialized-data-in-nextjs/
Read more
You can read all about using this extension on this blog post:
http://peterkellner.net/2019/06/16/a-chrome-extension-for-viewing-serialized-data-in-nextjs/
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "description": "Shows size of NextJS static data and allows for display as formatted JSON from right click on toolbar icon.", "author:": "Peter Kellner, San Francisco CA", "manifest_version": 2, "name": "NextJS Utilities Extension", "version": "0.0.0.1", "homepage_url": "https://github.com/pkellner/nextjs-utils-chromium-extension", "icons": { "32": "icons/icon-N-32x32.png" }, "permissions": ["activeTab","contextMenus"], "background": { "scripts": ["background.js","nextjs.js","viewNextData.js"] }, "content_scripts": [ { "matches": ["http://*/*", "https://*/*"], "js": [ "nextjs.js" ] } ], "web_accessible_resources": ["*"], "browser_action": { "default_icon": "icons/icon-N-32x32.png" }}
Read more