зеркало из https://github.com/mozilla/gecko-dev.git
15 строки
311 B
HTML
15 строки
311 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>user activated iframe</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
onload = function() {
|
|
SpecialPowers.wrap(document).notifyUserGestureActivation();
|
|
SpecialPowers.wrap(document).consumeTransientUserGestureActivation();
|
|
parent.postMessage("done", "*");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |