-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotify_spam.html
50 lines (46 loc) · 9.16 KB
/
notify_spam.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<head>
<meta charset="utf-8">
<script type="text/javascript" src="https://kairun.jp/mt/close/node_modules/pnotify/core/dist/PNotify.js"></script>
<link href="https://kairun.jp/mt/close/node_modules/pnotify/core/dist/PNotify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://kairun.jp/mt/close/node_modules/pnotify/mobile/dist/PNotifyMobile.js"></script>
<link href="https://kairun.jp/mt/close/node_modules/pnotify/mobile/dist/PNotifyMobile.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
PNotify.defaultModules.set(PNotifyMobile, {});
window.onload = (event) => {
PNotify.alert({
text: 'Notice me, manko!',
});
};
if (!('Notification' in window)) {
alert('未対応のブラウザです');
}
else {
// 許可を求める
Notification.requestPermission()
.then((permission) => {
if (permission == 'granted') {
// 許可
} else if (permission == 'denied') {
// 拒否
} else if (permission == 'default') {
// 無視
}
});
}
setInterval(() => {
let n = new Notification(
"設x設x設x愛駅愛駅愛駅愛駅HHHH抜ける抜ける抜ける抜ける車線車線車線車線",
{
body: '設x設x設x愛駅愛駅愛駅愛駅HHHH抜ける抜ける抜ける抜ける車線車線車線車線',
icon: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBYVFRgWFRYYGBgZGBgYGBgZGBgYGBgYGBgZGRoYGBgcIS4lHB4rHxgYJjgmKy8xNTU1GiQ7QDs0Py40NTEBDAwMEA8QGhISHjQhISExNDQxNDQ0NDQ0NDQ0NDQ0NDQxNDQ0NDU0NDQ0NDE0NDE0NDQxNDQ0NDQ0MT8/NDQ0NP/AABEIAKgBLAMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAEA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v1mVxa3JhSKR8K9wIO6iSVEMHdTKzI2kToIywEc9xB2eVUkqpE4eMdvOQ6jGuxjqRG0/oryFwIjPGO8bqI6QpAjCgiXiFocJukdpnaY2863nDgrpClYmmdaOhwTUPnTiJwhY6bFAi2iRQYjQyY4RwjbxQYpRMlWPUSNZIpgY6JVkiSNITTp3iNlZWipCaQjUomFYekJN0h0sJaKyww4jcPhgYYuGkKpaNjCsHUtNHhWDrYzN0ktLzLzteI6SM500+SY0Omk3DJsR5X2MPq07yjwgAb4gte1jcsByN/lBvLynWDAWI+8beyIUnL8B9LDiPp0ephMRmA5gxmdP+htVwqkk2AF5kMViQ7NUN7Xst+w6wvOswFRhSQ/Ly5HUDpf6Sjx9ewsNgOBHRuvnpW5jWuTKZjCMTVuTAGeUmSniHvSvBKtEdoajg7SCtp635F7dB1t52lFLBVFXUoCDNREPdxB33lZIUwdQAdxfYj36GQukIdZGEBazGw72vKJEXQGySNqcJaNJHnGwm6QOUiGnJmnAjteAGpg4pntEKScxtoUgeEWmLaSaYumHBGRzjOnTFkcIgM6dFCh14+dOisohyyVZ06Ix5J6cMoPEnSVHRIYHk+HO8WdOdjlxhSNpZoBadOnLf0tIZh8Ijrf4tNDe1mJBlplqIpZWZDa2lixAO3TvOnQP4I36w/DYhFcgMgXTzrNr37yTEAl0ZXFt9Q1kg38+k6dHVPCdShcfUqBRoK31G/wAxO1j0lVVNd7BmsOtp06N2YJB64VFIUb9/7mAVMCrgMcTSW4vpJNxOnR4NRlsQCCfy/nK6o06dOmBX8ESpYcxK1Y/WLOliZDh01uqMyoGIBdv4VH9R8oZmOUU6aF1xeHqsCAEQksbnpftFnQJvRL+FIzy5o5BTZVY4/DISAdDM2oE/ynziTpVtr4cj9ZnNV4widOlSQ0zp06YyOiBYs6Yw+otiRa1ja3UEbEGJOnQmP//Z',
tag: '',
data: {
xxx: '任意のデータ'
}
}
);
// 確実に通知を閉じる
setTimeout(n.close.bind(n), 100);
}, 200);
</script>