# chrome-debug-extension **Repository Path**: senew/chrome-debug-extension ## Basic Information - **Project Name**: chrome-debug-extension - **Description**: This project is a Chrome extension designed to assist with web development. - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-26 - **Last Updated**: 2025-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Chrome Extension SENEW Debug Helper This project is a Chrome extension designed to assist with web development. The project consists of several components that work together to provide a seamless experience for users looking to manage their web browsing. ## Project Structure ```bash chrome-extension ├── src │ ├── background.js # Background script for handling redirection logic │ ├── content.js # Content script for interacting with web pages │ ├── manifest.json # Configuration file for the Chrome extension │ ├── options │ │ ├── options.html # User interface for configuring extension settings │ │ └── options.js # JavaScript for options page functionality │ ├── popup │ │ ├── popup.html # User interface for the popup │ │ └── popup.js # JavaScript for popup functionality │ └── icons │ ├── icon16.png # 16x16 icon │ ├── icon48.png # 48x48 icon │ └── icon128.png # 128x128 icon ├── tests # Directory for test scripts │ └── test.js # Example test script ├── build.js # Script for building the extension ├── README.md # Documentation for the project └── package.json # npm configuration file ``` ## Installation 1. Clone the repository to your local machine: ```bash git clone https://gitee.com/senew/chrome-debug-extension.git ``` 2. Navigate to the project directory: ```bash cd chrome-debug-extension ``` 3. Install the necessary dependencies: ```bash npm install ``` ## Usage 1. Open Google Chrome and navigate to `chrome://extensions/`. 2. Enable "Developer mode" by toggling the switch in the top right corner. 3. Click on "Load unpacked" and select the `src` directory of the project. 4. The extension should now be loaded and ready to use. ## Configuration To configure the redirection behavior, open the options page by clicking on the extension icon and selecting "Options". Here, you can set your preferences for how the extension should redirect web pages. ## Testing To run the tests, use the following command: ``` npm test ``` ## Building the Extension To build the extension for distribution, use the following command: ``` npm run build ``` This will create a `dist` directory with the packaged extension. ## Contributing Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request. ## License This project is licensed under the MIT License. See the LICENSE file for more details.