Git Product home page Git Product logo

click_selection's Introduction

Click Selector & Crawler

Installation

Install after enabling developer mode in chrome://extensions.

Features

  1. A switch to turn crawling on and off
  2. Switch to turn group selection (sibling selection) on and off
  3. Save the crawled data of current page to chrome local storage
  4. Delete the crawled data and cache of the current page
  5. Download a list of all pages crawled so far to computer
  6. Delete all crawled list so far from chrome local storage
  7. Delete all crawl cache so far from chrome local storage

Keyboard Shortcuts

Toggle crawling

  • Windows, Linux: Ctrl+Shift+O
  • MacOS: Command+Shift+O

Toggle group selection (Sibling selection)

  • Windows, Linux: Ctrl+Shift+E
  • MacOS: Command+Shift+E

Save crawled elements of current page to chrome local storage

  • Windows, Linux: Ctrl+Shift+S
  • MacOS: Command+Shift+S

Debugging

  • Whenever a DOM element on a page is selected, the page's cache is printed to the console.
  • When you click the "Click Selector & Crawler" title in the extension popup, all data stored in Chrome's local storage is displayed in the popup console.

An Example of the Save File Format

{
  "https://example.com": {
    "p~~0": {
      "nth-child": 0,
      "selector": "p",
      "text": "This is an example."
    },
    "p~~1": {
      "nth-child": 1,
      "selector": "p",
      "text": "This is an example 2."
    }
  },
  "https://example.net": {
    "h1~~0": {
      "nth-child": 0,
      "selector": "h1",
      "text": "This is an example text."
    }
  }
}

Screenshot

Screenshot

click_selection's People

Contributors

lhy0718 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.