ALL


  Using JavaScript to operate clipboard

Browsers allow JavaScript to read and write data on clipboard. Generally script should not modify user's clipboard to avoid impacting user expectation, but there are cases where this can indeed bring convenience to users. For example, for some code snippet, user can copy it to clipboard with one click instead of select and copy manually.There are three options for clipboard operation provided in JavaScript/browser:document.execCommand()Asynchronous Clipboard APIcopy and paste eventsThis post will briefly talk about these three options.document.execCommand()This is the early option for operatin...

3,608 0       JAVASCRIPT CLIPBOARD NAVIGATOR.CLIPBOARD


  Google Chrome to support sync clipboard data among devices

Google has been working very hard to make it possible for syncing clipboard data among PC and Android devices through Chrome. This feature is finally available in Chrome Canary 79 and is going to be released in future version of Chrome although it only supports sync data from PC to Android but not vice versa.But before getting to that day, users can start to explore this feature in latest Chrome Canary version 79. There are three flags(chrome://flags) to control enablement of the feature.Enable receiver device to handle shared clipboard featureEnable shared clipboard feature signals to be...

2,752 0       WINDOWS 10 CHROME CANARY CLIPBOARD CLIPBOARD SYNC