# ht2canvas **Repository Path**: wubaidev/ht2canvas ## Basic Information - **Project Name**: ht2canvas - **Description**: ht2canvas - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-25 - **Last Updated**: 2025-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Web to PDF Converter A browser extension to convert web pages to PDF. ## Installation ### Development Mode (Unpacked) 1. **Build the project**: ```bash npm install npm run build ``` This will create a `dist` directory. 2. **Load in Chrome/Edge**: - Open `chrome://extensions` or `edge://extensions`. - Enable "Developer mode" (top right). - Click "Load unpacked". - Select the `dist` directory in this project. 3. **Load in Firefox**: - Open `about:debugging#/runtime/this-firefox`. - Click "Load Temporary Add-on...". - Select the `dist/manifest.json` file. ## Usage 1. Click the extension icon in the toolbar. 2. Click "Convert to PDF". 3. The PDF will be generated and downloaded. ## Build for Production To create a zip file for distribution: ```bash npm run build # Zip the dist folder contents ```