1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-23 11:49:19 +01:00

Added browser add-on #583

This commit is contained in:
jonathan-stein10 2023-10-01 19:38:59 +02:00
parent e2b5f4a9fb
commit 8f8c1382f0
No known key found for this signature in database
GPG key ID: B71EEA7DCF29C706
3 changed files with 42 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

17
extension/manifest.json Normal file
View file

@ -0,0 +1,17 @@
{
"manifest_version": 3,
"name": "ntfy",
"version": "0.0.1",
"description": "Simple extension to display the ntfy app as a browser action popup.",
"homepage_url": "https://ntfy.sh/",
"icons": {
"192": "icons/ntfy-192.png"
},
"action": {
"default_icon": "icons/ntfy-192.png",
"default_title": "ntfy",
"default_popup": "popup/ntfy.html"
}
}

25
extension/popup/ntfy.html Normal file
View file

@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
height: 800px;
overflow-x: hidden;
}
iframe {
border: none;
height: 1120px;
width: 480px;
}
</style>
</head>
<body>
<iframe src="https://ntfy.sh/app">
<p>Your browser does not support iframes.</p>
</iframe>
</body>
</html>