Giter VIP home page Giter VIP logo

webpage-inspector's Introduction

Chrome Element Inspector

GitHub license GitHub release Github all releases

Chrome Element Inspector is a powerful chrome extension tool built with Vite and Vanilla, using Manifest v3. It allows you to easily inspect the elements of any website and make changes to the DOM.

...

Features and About

  • All code and refactor generated with ChatGPT
  • Manifest v3
  • Typescript
  • Vite
  • Prism for code highlighting
  • Hover over elements to see a Chrome DevTools like overlay, and interact.
  • Implement ShadowDOMComponent to hook into Inspector events.

This project was an exercise in ChatGPT, and a Chrome Extensions MV3 makeover. It's also been moved to a typescript interface, so it's more maintainable.

Weirdly enough, although this project is chrome-extension ready, it isn't available on the store, although the repo will product ready code for it. The main issue with this is the extensibility for the developer. This tool is designed to be extended and fit your use case.

Demo

Chrome Element Inspector

Installing

  1. Check if your Node.js version is >= 14.
  2. Change or configurate the name of your extension on src/manifest.
  3. Run npm install to install the dependencies.

Developing

run the command

$ cd chrome-element-inspector

$ npm run dev

The ShadowDOMComponent system was designed for easy extension. You can add your own components to the inspector, and hook into the events. Check out the Inspector class for more info. Specifically, the "activate" method, where you create your class instance and hook everything up.

Chrome Extension Developer Mode

  1. set your Chrome browser 'Developer mode' up
  2. click 'Load unpacked', and select chrome-element-inspector/build folder

Packing

After the development of your extension run the command

$ npm build

Now, the content of build folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide to more infos about publishing.


Contributors

This project template was generated by create-chrome-ext. The original code was originally inspired from this awesome project: ilyashubin/hover-inspect.

webpage-inspector's People

Contributors

gblikas avatar

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.