I want to create a new window with Twitter's intent page and then insert text into a textarea. This is my code but it is not working.
var myWindow = window.open("https://twitter.com/intent/tweet");
myWindow.onload = function() {
myWindow.document.getElementById("status").innerHTML="Hey you!!";
}
Uncaught DOMException: Blocked a frame with origin "http://stackoverflow.com" from accessing a cross-origin frame.