There&#x27;s a clipboard API [1] in newest browsers but browser support varies.<p>Regarding cross-domain, what do you want to do exactly? In general there&#x27;s no built-in support at least in Firefox to override default same-origin policy, but there are Chrome&#x2F;Firefox extensions that for instance inject CORS headers to each response.<p>Edit: In Chrome, it seems you can disable same-origin policy with command line flag [2]<p>[1] <a href="http:&#x2F;&#x2F;caniuse.com&#x2F;#feat=clipboard" rel="nofollow">http:&#x2F;&#x2F;caniuse.com&#x2F;#feat=clipboard</a><p>[2] <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;3177718&#x2F;245966" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;3177718&#x2F;245966</a>