electron/spec/fixtures/pages/window-opener-location.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
217 B
HTML
Raw Normal View History

<html>
<body>
<script type="text/javascript" charset="utf-8">
try {
window.opener.postMessage(window.opener.location.href, '*')
} catch {
window.opener.postMessage(null, '*')
}
</script>
</body>
</html>