mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
19 lines
473 B
HTML
19 lines
473 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script>
|
|
var shareData;
|
|
addEventListener("OpenGraphData", function(e) {
|
|
shareData = JSON.parse(e.detail);
|
|
var port = navigator.mozSocial.getWorker().port;
|
|
port.postMessage({topic: "share-data-message", result: shareData});
|
|
// share windows self-close
|
|
window.close();
|
|
})
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>This is a test social share window.</p>
|
|
</body>
|
|
</html>
|