Api notify
How do I make an api notify?
Utilizando a api notify do html5 e criando notificações.. What is a api notify? How do you make a api notify? This script and codes were developed by Thulio Philipe on 09 January 2023, Monday.
Api notify - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>api notify</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="message" title="Clique para ver uma notificação">CLick</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Api notify - Script Codes CSS Codes
.message { background-color: black; border-radius: 2px; color: #ffffff; display: inline-block; padding: 5px 10px; font-family: Tahoma; text-transform: uppercase; font-size: 30px; cursor: pointer; box-shadow: 2px 2px 2px #cccccc;
}
Api notify - Script Codes JS Codes
document.querySelector('.message').addEventListener('click', function() { 'use strict'; if (!("Notification" in window)) { alert("Seu browser, não suporta Notificações em HTML5.") } else if (Notification.permission === 'granted') { var notification = new Notification('API de Notificação', { icon: 'https://cdn1.iconfinder.com/data/icons/PLASTICXP/medical/png/128/emergency.png', body: 'Esta é uma notificação em HTML5' }); }
});
Developer | Thulio Philipe |
Username | thulioph |
Uploaded | January 09, 2023 |
Rating | 3 |
Size | 2,045 Kb |
Views | 6,072 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Custom Google Maps API | 2,965 Kb |
Select with plugin | 2,011 Kb |
Parallax | 2,119 Kb |
Parallax with only CSS | 2,297 Kb |
Tabs com css | 1,949 Kb |
Filter mixitup | 2,109 Kb |
Animated paths - Google Maps | 2,841 Kb |
A Pen by Thulio Philipe | 3,941 Kb |
Utilizando o Cycle | 1,846 Kb |
CSS Gradient border | 3,691 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sony Xperia Z3 Flat MockUp | Dapinitial | 4,379 Kb |
Menu | Vivi_Lai | 1,210 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Animated Donut Chart | Jplhomer | 3,808 Kb |
Flexbox Grid - equal height | DaveOrDead | 2,855 Kb |
Mega menu | DimaZubkov | 5,066 Kb |
Price table | Serluk | 5,928 Kb |
Simple CSS loader. | Cabrera | 2,574 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!