Coder Social home page Coder Social logo

dometik-chrome-extension's Introduction

Dometik Chrome Extension

GitHub manifest version GitHub

Dometik is a Chrome extension that add new tools to the devtools to check if some elements on a page have a specific attribute.

What's included

  • A new Dometik panel where you can check elements data attribute over the entire page and export a csv report.

  • A new Dometik sidebar panel where you can check the data attribute for the current inspected element.

Installation

  1. Clone/download the github repository.
  2. In Chrome application, navigate to chrome://extensions.
  3. Enable Developer mode on the top right corner.
  4. Click on Load the unpackaged extension and select the dometik-chrome-extension folder.

The extension is ready to be used, enjoy it !

Usage

Browse to the page you want to check, then open the chrome devtools. Click on the Dometik tab, then click on the Check page button.

  • All elements that have the defined html attribute (cf: Configuration) are bordered in green.
  • All elements that should have the html attribute and are not, are bordered in red.

Now, you can see all elements attribute details in the Dometik panel. Click on an element in the table to inspect it.

Configuration

To acces the extension configuration, click on the extension icon (on the top right window) and click on Options.

These options can help you refine the checked elements.

container

default: body

The css selector of the element that contains all the elements that need to be checked.

elements

default: a, button, form, [data-lf-tracking]

The list of css selectors elements that need to be checked.

attribute

default: data-lf-tracking

The html attribute that contains the data you want to check.

jsonKeys

default: bind, action, category, label

If the content of the attribute should be a JSON object, define here the list of properties it should have.

TODO

  • Script to clear classes and attributes added by the content script
  • Code refactoring
  • Improve UX/UI

License

This project is MIT licensed.

dometik-chrome-extension's People

Contributors

marierigal avatar

Forkers

lsimond

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.