tomimick / chrome-ext-page-size

Chrome extension that reports page size, cache usage, network requests, load time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page Size Inspector

Page Size Inspector is a Chrome extension that reports page size, cache usage, network requests, load time in a convenient way.

Install from Chrome Store

Screenshot

Architecture

  • Vanilla JS, no jQuery or other libs being used. (This is Chrome only, after all.)
  • Tiny and fast monkberry UI virtual DOM lib used for templating.
  • Uses the chrome.debugger API to collect request data, as chrome.webRequest was inadequate. And chrome.debugger is the only API with solid "Disable cache" logic.
  • Does not consume any resources while inactive.

Build steps

A home made simple python make script takes care of 3 tasks.

To make a release, a zip package containing necessary files:

python make.py release

To compile Monkberry templates: (first install Monkberry compiler with "npm install monkberry -g")

python make.py compile

To test the popup locally with test data:

python make.py www

Other extensions

I have developed also two other open-source Chrome extensions Quick source viewer and Save CSS.

Feedback

Send feedback to author Tomi Mickelsson. Enter praise in the Chrome Store :)

About

Chrome extension that reports page size, cache usage, network requests, load time

License:MIT License


Languages

Language:JavaScript 83.9%Language:CSS 8.5%Language:Python 6.1%Language:HTML 1.5%