Thanks to visit codestin.com
Credit goes to github.com

Skip to content

davidcorbin/productivity-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

productivity-chrome

Chrome extension for Productivity

Documentation

Events

This browser extension waits in the background until certain events are performed by the user.

These events are when:

  • the current tab URL changes
  • the user switches tabs

Data Transfer

When events occur, the browser extension sends data to the running Productivity desktop application. The data transfer is done via a POST request to http://127.0.0.1:8000/productivity. All data transfered is JSON in the form of:

{"status":"tab_switched","url":"https://github.com/davidcorbin/productivity-chrome/new/master?readme=1","title":"New File"}

Immediately when the extension starts, it sends a POST request to Productivity desktop application with the browser user agent.

Responses

When the Productivity desktop application is running, it will accept http POST requests on 127.0.0.1 port 8000. When it receives data, it will reply with "Data received" and http status 200.

About

Chrome extension for Productivity

Resources

Stars

Watchers

Forks

Packages

No packages published