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:
parent
e2b5f4a9fb
commit
8f8c1382f0
3 changed files with 42 additions and 0 deletions
BIN
extension/icons/ntfy-192.png
Normal file
BIN
extension/icons/ntfy-192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
17
extension/manifest.json
Normal file
17
extension/manifest.json
Normal 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
25
extension/popup/ntfy.html
Normal 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>
|
Loading…
Reference in a new issue