Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pilagod/js-tracker

A chrome extension tracks front-end JavaScript that uses DOM / jQuery APIs to manipulate html dom elements (e.g., change style, attach event listener) at runtime.
https://github.com/pilagod/js-tracker

chrome-extension dom javascript jquery js-tracker tracking

Last synced: 3 months ago
JSON representation

A chrome extension tracks front-end JavaScript that uses DOM / jQuery APIs to manipulate html dom elements (e.g., change style, attach event listener) at runtime.

Awesome Lists containing this project

README

        

![Logo](https://github.com/pilagod/js-tracker/blob/master/assets/appicon-48.png)
JavaScript Tracker
[![Build Status](https://travis-ci.org/pilagod/js-tracker.svg?branch=master)](https://travis-ci.org/pilagod/js-tracker)
[![Coverage Status](https://coveralls.io/repos/github/pilagod/js-tracker/badge.svg?branch=master)](https://coveralls.io/github/pilagod/js-tracker?branch=master)
==================

A chrome extension tracks front-end JavaScript that uses DOM or jQuery APIs to manipulate html dom elements (e.g., change style, attach event listener) on web page at runtime.

## Features

* **Live Tracking**, what changes you see on page is what code you get.
* **Code by Elements**, only listing the code that affects selected element.
* **Brief Overview**, getting rough code information at a glance.
* **Easy Filtering**, grouping manipulations into 5 types.
* **Link to Source**, one click to see all details.
* **Performance Improvement**, better performance than previous version by taking advantage of browser JavaScript engine

## Demo Video

[![JavaScript Tracker Demo](https://i.imgur.com/fLGShu9.png)](https://youtu.be/8AxKYsUHn1Q)

## Installation

Add JavaScript Tracker to your Google Chrome from [Chrome Web Store](https://goo.gl/D6WVAX)

## Usage (see [Demo Video](#demo-video) for visual guide)

1. Go to the page you want to track (you can use [example page](https://pilagod.github.io/js-tracker/example/) to give it a try).

2. Click JavaScript Tracker icon on Chrome browser extension bar.

3. Interact with the page opened by JavaScript Tracker.

4. Open Elements panel in Developer Tools and select the element you are interested in.

5. Go to the "JS-Tracker" sidebar to see what JavaScript code affects the selected element.

There are also [some websites](https://github.com/pilagod/js-tracker/blob/gh-pages/README.md) selected by me that you can try JavaScript Tracker as much as you like. 😄

## Limitations

Those elements wrapped in `` can not be tracked, since `` creates an independent executive environment of its parent.

## Future Works

* Support Firefox
* Track [jQuery-UI](https://jqueryui.com)
* Optimize resouce usage

## Contribution

Suggestions and discussions are highly welcome. Feel free to open issues or email me for any bug, question, idea or feature wish. 😃

## Special Thanks

Special thanks to Fiti, a fantastic UI/UX designer, for the design of logo, banner, music, and materials in sidebar. Without her I will never give birth to this project. 🙂️

## License
MIT