pdulvp / extract-data

Ease your daily-uses copy/paste. (as JSON, XLS or with textual format)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox Google Edge Opera

Add item

This extension allows to extract data on opened tabs and copy it to clipboard. (as JSON, XLS or with textual format)

By right clicking on an element and defining an extraction rule, each time you will visit the site again, the data will be automatically extracted and available for a copy to the clipboard.

How to use it

On a interesting element on a page, just Right-Click > Create a new rule

Add item

That's all. If you look at the toolbar, the element is available by clicking on the addon icon.

Add item

Just click on one of the format appearing and it will be copied to the clipboard.

👍 If you visit again the site, it will be directly available here again.

You can add additional element:

Add item

It will be added to the toolbar:

Add item

👍 If the value within the site change, the value will be dynamically changed here too

Fine settings

You can Edit created rules.

Just click on Edit rules in the toolbar or in the contextual menu. It opens a new dialog allowing finer tune.

From:

Add item

To:

Add item

You can do basic stuff:

  • Edit rule and item names (F2 or Double Click)
  • Delete rules and items (Delete key)

You can do better stuff:

  • Use a Regular expression for Site
  • Edit Expression (even if contextual menu Change Item #XX allows easier change)
  • Validate if your rules are working properly (see dedicated section)

Add item

Clipboard

When you click on the dedicated button, it will copy the result to the clipboard.

JSON format

If you click on JSON button

Add item

XLS format

If you click on XLS button, you can paste it to Excel with this format

Add item

RAW/Textual format

If you click on RAW button

Add item

Validate rules

Highlight elements

Anywhere on a page, just Right-click > Highlight to identify which elements are already marked by a given rule.

Add item

Add item

Contextual indicators (Firefox only)

On a page, invalid items are displaying a warning aside.

Add item

Expression

XPath

You can use expression to retrieve one or many elements.

  • //h1: returns all h1 elements.

  • /element/@name: returns the attribute name of the element.

  • see XPath for more samples

CSS Selectors

You can use CSS Selectors rather than a complicated XPath expression.

  • h1: returns all h1 elements.

  • #id: returns element with the given id attribute.

  • see CSS Selectors for more samples

Predefined expressions

You can also use one of the predefined expressions below.

Validation indicators

Especially when a rule is covered by a Regular Expression, selected items may not work on some matched pages.

The Green button will list all opened tabs that are matched by the Site field.

Add item

By clicking on one of them, it will highlight elements on the page and indicates which items are not matched.

Add item

Advanced items editor

Items can be edited within an advanced editor:

Just edit your items using JSON format, switch back, items are created.

Add item

About

Ease your daily-uses copy/paste. (as JSON, XLS or with textual format)

License:Other


Languages

Language:JavaScript 82.1%Language:CSS 13.0%Language:HTML 3.5%Language:PowerShell 1.5%