3 ms·
There's a clipboard API [1] in newest browsers but browser support varies. Regarding cross-domain, what do you want to do exactly? In general there's no built-
by jakub_g 10y ago
There's a clipboard API [1] in newest browsers but browser support varies.
Regarding cross-domain, what do you want to do exactly? In general there's no built-in support at least in Firefox to override default same-origin policy, but there are Chrome/Firefox extensions that for instance inject CORS headers to each response.
Edit: In Chrome, it seems you can disable same-origin policy with command line flag [2]
[1] http://caniuse.com/#feat=clipboard http://caniuse.com/#feat=clipboard
[2] http://stackoverflow.com/a/3177718/245966 http://stackoverflow.com/a/3177718/245966
- dang 10y agoI might be forgetting something but I think the main use of cross-domain privileges is so that my keyboard shortcuts still work on story pages. That way, if I open (say) a NYT article that is currently highlighted on the front page, I can jump back to the front page when I'm done looking at it.