Skip to content

A Chrome extension that helps extract and identify lazy-loaded files

Notifications You must be signed in to change notification settings

Hacking-Notes/lazy-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon16

Lazy Loaded Files Extractor

A Chrome extension that helps extract and identify lazy-loaded file names from scripts. This tool is particularly useful for developers who need to analyze and understand the structure of dynamically loaded JavaScript files in web applications.

image

Features

  • Extract module map information from scripts
  • Generate filenames from module maps
  • Copy results to clipboard with one click
  • Modern, dark-themed user interface
  • Easy-to-use popup interface

Installation

  1. Clone or download this repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode" in the top right corner
  4. Click "Load unpacked" and select the directory containing the extension files

Usage

  1. Click the extension icon in your Chrome toolbar
  2. Paste the script containing module map information into the input field
  3. Click the "Execute" button to process the script
  4. View the generated list of filenames
  5. Use the "Copy" button to copy the results to your clipboard

Project Structure

├── icons/              # Extension icons in various sizes
├── manifest.json       # Extension configuration file
├── icon.svg           # SVG source for the extension icon
├── popup.html         # Extension popup interface
└── popup.js           # Extension functionality

Development

The extension is built using vanilla JavaScript and follows Chrome Extension Manifest V3 specifications. The UI is styled with modern CSS variables for easy theming and maintenance.

Permissions

  • clipboardWrite: Required for copying results to the clipboard

License

This project is open source and available under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A Chrome extension that helps extract and identify lazy-loaded files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published