Giter Club home page Giter Club logo

clipboard_presenter_plugin's People

Contributors

dependabot[bot] avatar jadefish avatar

Forkers

coprl

clipboard_presenter_plugin's Issues

Cross-browser support

Currently, the plugin supports only Chrome. Attempting to use a button which invokes a clipboard action yields errors in Firefox and Safari:

  • Firefox: 'name' member of PermissionDescriptor 'clipboard-write' is not a valid value for enumeration PermissionName.
  • Safari: The server returned an unexpected response! Status: undefined

Behavior in legacy Edge and Chromium-based Edge is not known at this time.


Firefox does not yet support requesting permissions for clipboard-write and clipboard-read:

For example, Firefox does not yet support the "clipboard-read" and "clipboard-write" permissions, so access to the methods that access and change the contents of the clipboard are restricted in other ways.

Firefox supports only a few query-by-name permissions: https://dxr.mozilla.org/mozilla-central/source/dom/webidl/Permissions.webidl#10

Unsure of Safari's and the Edges' support for those permission names.

Resolution of this issue should include the move to a more widely-supported JS clipboard library that implements polyfills for older browsers and Firefox, Safari, and both Edges.

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.