This commit is contained in:
jonathan-stein10 2024-04-29 19:14:24 +08:00 committed by GitHub
commit 9698fa7be5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>