Git Product home page Git Product logo

clipboard-permission-manager's Introduction

Clipboard Permission Manager

Clipboard Permission Manager is a browser extension which allows users to grant JavaScript access to the clipboard on a per-page basis. This access is given through the standard document.execCommand() function, but such access will not require a corresponding user event like a click or keypress if explicit permission is granted using this extension.

This extension is a work-in-progress and is currently implemented for Chrome. A Firefox version is planned.

Background

Clipboard access is provided by most mainstream browsers through the "cut", "copy", and "paste" commands given to document.execCommand(), as defined by the W3C Clipboard API and events working draft. It is up to the browser to decide exactly how to restrict access to the clipboard. Unfortunately, both Chrome and Firefox restrict clipboard access by only handling these commands in very specific cases which require user interaction, and do not provide a mechanism for granting access an a per-page basis such that user interaction is not required going forward.

This extension is intended to provide such a mechanism, and it is our hope that browsers will provide such a mechanism on their own in the future, rendering this extension unnecessary.

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.