6 पॉइंट द्वारा xguru 2022-08-29 | 1 टिप्पणियां | WhatsApp पर शेयर करें
  • इस साइट पर विज़िट करने पर यूज़र की सहमति के बिना clipboard में एक खास string copy हो जाती है
  • Safari और Firefox में navigator.clipboard.write() और writeText() कॉल करते समय user gesture की ज़रूरत होती है, लेकिन Chrome इसे बिना रोक-टोक स्वीकार कर लेता है

1 टिप्पणियां

 
xguru 2022-08-29

साइट पर जाने के बाद कहीं भी 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.