World of Warcraft: The War Within

function sendMessageToParentWindow(typeOfMessage, message = null) {
let postMessage = { bordeaux: message };
let url = “http://crow.futurecdn.net/output/wow-pcg/wow-pcg.html”;
if (typeOfMessage === “analytics”) {
postMessage = { analytics: { …message } };
}

if (postMessage !== {}) {
window.parent.postMessage(
postMessage,
url
);
}
}
let message = {
targeting: {
[“wow-pcg.html”]: “”
}
}
window.onload = sendMessageToParentWindow(“bordeaux”, message);

Source: PC Gamer

Leave a Reply

Your email address will not be published. Required fields are marked *

DON’T MISS OUT!
Subscribe To Newsletter
Be the first to get latest updates and exclusive content straight to your email inbox.
Stay Updated
Give it a try, you can unsubscribe anytime.
close-link