JakubMarcinkowski / Table copier (to clipboard)

Published:

Version: 0.3.1+5b60300 updated

Summary: Choose from your userscipts addon menu. All tables are highlighted, click one to copy, elsewhere to cancel. Copy table and paste into spreadsheets like Excel, Google Sheets, LibreOffice Calc, OpenOffice Calc and others.

Homepage: https://github.com/JakubMarcinkowski

Homepage: https://gist.github.com/JakubMarcinkowski

Copyright: 2024+, Jakub Marcinkowski <kuba.marcinkowski on g mail>

License: Zlib

After install, new options in UserScript manager appears:

  1. Copy table (full HTML)
    Copy full HTML as is. Done, go home.
  2. Copy table (cleaned HTML)
    Before copy, clean tags that pasted into Excel, are making additional rows. Bad, don't want.
  3. Copy table (cleaned, links as hrefs)
    Clean and additionally replace links with they addresses. Ditch the stupid descriptions.
  4. Copy table (cleanest, links as hrefs)
    Replace everything with spans, excepts table building tags and... spans. I am a spanning master.

When an option is activated, with one table on the page, your table is scrolled to and copied to clipboard.
With more tables, they are highlighted. Click on the chosen one to copy or on anything else to cancel (culturally).

Example:
https://en.wikipedia.org/wiki/Tampermonkey
On top is a screenshot of a little table from the Wiki. Below tables copied by options in known order.
Notice one row is merged from 3 in the first table.
screenshot

Rating: 0