Search code examples
javascriptgoogle-chromehttpsslclipboard

How to change the site setting of unsecured(http) websites on chrome?


I need to make the site setting of clipboard to allow but it's coming block and blurred(not changeable).

for the unsecured websites(HTTP).

So, Is there any way to edit this setting and change it to allow?

site setting page of unsecured site


Solution

  • Sorry, there isn't any way to do this. Per the Clipboard specification, the clipboard can only be accessed by secure contexts (HTTPS) (see SecureContext in the specification). Therefore, all browsers should only allow this API for HTTPS.

    The chrome browser is open source, so this secure context requirement can also be verified here in the source code.