World of Warcraft: The War Within

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 link