Skip to content

Firefox extension to select and copy table cells

License

Notifications You must be signed in to change notification settings

nirantak/copytables

 
 

Repository files navigation

CopyTables

CopyTables

Firefox extension to select and copy table cells.

Install for Firefox

Usage

  • Hold Opt (macOS) or Alt (Windows) and drag to select cells.
  • Hold Opt+Cmd (macOS) or Alt+Ctrl (Windows) and drag to select columns.
  • Copy selection (or the whole table) as seen on the screen (for rich text editors)
  • Copy as CSV or TSV (for Spreadsheets).
  • Copy as HTML (for your website).

Forked from gebrkn/copytables for Chrome (Web Store).

Building the Extension

Build tested using: node v18.3.0 (npm v8.11.0) on macOS 12.4

# Clone the repo
git clone https://github.com/nirantak/copytables.git
cd copytables

# Install dependencies
npm install

# Build zipped extension
npm run deploy
## Output: copytables-0.1.1.zip

# Test in development mode
npm start
## This does the following:
## - Runs a dev server with dummy data on localhost:9876
## - Runs gulp to watch and rebuild for code changes
## - Opens Firefox with the extension loaded in debug mode

Sponsor this project

 

Languages

  • JavaScript 79.6%
  • HTML 10.5%
  • Sass 5.0%
  • Pug 4.9%