Chrome में वेबसाइट विज़िट करने पर यूज़र की सहमति के बिना clipboard में लिखना संभव
(webplatform.news)- इस साइट पर विज़िट करने पर यूज़र की सहमति के बिना clipboard में एक खास string copy हो जाती है
- Safari और Firefox में
navigator.clipboard.write()औरwriteText()कॉल करते समय user gesture की ज़रूरत होती है, लेकिन Chrome इसे बिना रोक-टोक स्वीकार कर लेता है
1 टिप्पणियां
साइट पर जाने के बाद कहीं भी paste करके देखें, तो नीचे दिया गया स्ट्रिंग दिखाई देता है.
Hello, this message is in your clipboard because you visited the website Web Platform News in a browser that allows websites to write to the clipboard without the user’s permission. Sorry for the inconvenience. For more information about this issue, see https://github.com/w3c/clipboard-apis/issues/182.