Skip to content

Instantly share code, notes, and snippets.

View EionRobb's full-sized avatar
👍

Eion Robb EionRobb

👍
View GitHub Profile
if (typeof navigator.notification === 'undefined') {
navigator.notification = {
confirm: function (message, confirmCallback, title, buttonLabels) {
setTimeout(function (){
if (window.confirm(message)) {
confirmCallback(1);
}
else {
confirmCallback(2);
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://gather.at/home/stylesheets/sprite.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div style="width: 200px; margin: 10px; padding: 10px; border: 1px solid gray;">
<div class="share-wrapper">
<input class="share-option" name="twitter" type="checkbox">