Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swandrn/browsing_data
A Firefox extension to view and download your natural behavior whilst browsing the web
https://github.com/swandrn/browsing_data
data-engineering js localstorage
Last synced: 20 days ago
JSON representation
A Firefox extension to view and download your natural behavior whilst browsing the web
- Host: GitHub
- URL: https://github.com/swandrn/browsing_data
- Owner: swandrn
- License: mit
- Created: 2024-06-24T07:28:40.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-09-21T07:37:48.000Z (5 months ago)
- Last Synced: 2024-09-27T01:49:17.307Z (4 months ago)
- Topics: data-engineering, js, localstorage
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Browsing Data
Collect the natural behavior of different actions executed on the browser. This data can be downloaded as a CSV.
## DetailsAll of it is written in vanilla JS.\
Data is stored in localStorage.\
Extension permissions:
- tabs
## Intended PurposeUse this data to implement human like behavior in bots interacting with websites.
## Actions Supported- mousedown
- mouseup
- scrolling
- keydown
- keyup
- a mousedown immediately followed by a mouseup can be converted to a click
- two clicks in less than a 500ms interval can be condensed to a double click
## Read the CSV fileThe file name is built like so:
- the type of data (detailed or condensed)
- the current date (day-month-date-year)
- the domain nameIn the CSV file, the data presented varies depending on the action.
For a mousedown/mouseup:
- page title the action was executed on
- page url the action was executed on
- the type of action executed
- the action id
- the text content of the element hovered at the time of the action
- the x coordinate of the cursor
- the y coordinate of the cursor
- the timestamp in millisecond (JavaScript Date.now())For a click:
- page title the action was executed on
- page url the action was executed on
- the type of action executed
- the action id
- the text content of the element hovered on mousedown
- the text content of the element hovered on mouseup
- the x coordinate of the cursor on mousedown
- the y coordinate of the cursor on mousedown
- the x coordinate of the cursor on mouseup
- the y coordinate of the cursor on mouseup
- the timestamp in millisecond (JavaScript Date.now()) of the mouseup action
- the click time in millisecondFor a double click:
- page title the action was executed on
- page url the action was executed on
- the type of action executed
- the first click id
- the second click id
- the text content of the element hovered on the first mouseup
- the text content of the element hovered on the second mouseup
- the x coordinate of the cursor on first mouseup
- the y coordinate of the cursor on first mouseup
- the x coordinate of the cursor on second mouseup
- the y coordinate of the cursor on second mouseup
- the timestamp in millisecond (JavaScript Date.now()) of the second mouseup action
- the sum of the two click times in millisecondFor a scroll:
- page title the action was executed on
- page url the action was executed on
- the type of action executed
- the action id
- the scroll direction
- the height scrolled in px
- the timestamp in millisecond (JavaScript Date.now()) at the end of the scrollFor a keydown/keyup
- page title the action was executed on
- page url the action was executed on
- the type of action executed
- the action id
- the timestamp in millisecond (JavaScript Date.now())
## Actions to come- Taking suggestions
## ContributingPointers on algorithm optimization when it comes to both speed and memory usage are greatly appreciated.