Pasteboard

Creative Commons Pasteboard


Project maintained by mnmtanish Hosted on GitHub Pages — Theme by mattgraham

Creative Commons Pasteboard

Introduction

The Creative Commons Pasteboard is a browser extension used to help users easily clip content from different sources aroud the web. It also helps users by automatically adding attribution information when users paste their clips into documents.

Early Mockup

Creative Commons Wiki about Pasteboard

Browser Extensions

Browser extensions are used to inject required scripts into the page in order to do the following:

Functions of browser extension

Supported Browsers

TODO

Google Chrome

Mouse Gestures

The pasteboard is displayed when user selects content and drags it towards page bottom. gesture is recognized if user drags the clip 5 pixels towards page bottom within 300 milliseconds.

Communications with Pasteboard User Interface

Currently all communications with pasteboard is done directly using Mozilla jschannel. The iframe is used to create the channel.

TODO

Pasteboard User Interface

The app which loads inside the iframe created by the browser extension. At this stage it uses firebase to store clip content and firebase built-in authentication using Mozilla Persona. The interface is managed by AngularJS using AngularFire to connect with firebase.

Content Management

To keep data in sync, the pasteboard UI uses AngularJS and AngularFire and creates a 3-way data-binding between Firebase, Javascript and the page (DOM).

User Registration/Login

Uses Firebase built-in authentication "Firebase simple auth" via the AngularFire plugin. No user registration is required at the moment. The account and related data is created in Firebase when user logs in for the first time.

Communications with Browser Extension

Currently all communications with browser is done directly using Mozilla jschannel.

Listens to
Calls

TODO