< >

test-moviestream-and-notification.php


Quell Code


<form action='mit.php' method="POST">
<h1>Video in iframe laden mit Popups</h1>
<input type="submit"  value="Mit Popup">
</form>
<form action='ohne.php' method="POST">
<h1> Videos laden ohne Popupüs( WERBUNG )</h1>
<input type="submit"   value="Ohne Popup">
</form>

<script>

function notifyMe() {
  // Let's check if the browser supports notifications
  if (!("Notification" in window)) {
    alert("This browser does not support desktop notification");
  }

  // Let's check whether notification permissions have alredy been granted
  else if (Notification.permission === "granted") {
    // If it's okay let's create a notification
    var notification = new Notification("siw ains auf der seite von basti1012. hier können in zujunftneue scripte als popup werbung angeschaltetwerden");
  }

  // Otherwise, we need to ask the user for permission
  else if (Notification.permission !== 'denied') {
    Notification.requestPermission(function (permission) {
      // If the user accepts, let's create a notification
      if (permission === "granted") {
      var notification = new Notification("siw ains auf der seite von basti1012. hier können in zujunftneue scripte als popup werbung angeschaltetwerden");

      }
    });
  }
 
}

notifyMe();




Notification.requestPermission();
 
new Notification("Blubb");




</script>

Add Comment

* Required information
1000
Powered by Commentics

Comments (1)

Gravatar
Admin
Sascha65says...

Die Canvas Balken Uhr ist ja mal Fett