mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 08:00:11 +00:00
basic structure
This commit is contained in:
parent
455c62a936
commit
977831157f
22 changed files with 1363 additions and 1 deletions
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
public/icons/icon.png
Normal file
BIN
public/icons/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
public/icons/icon128.png
Normal file
BIN
public/icons/icon128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
public/icons/icon16.png
Normal file
BIN
public/icons/icon16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
public/icons/icon48.png
Normal file
BIN
public/icons/icon48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
32
public/manifest.json
Normal file
32
public/manifest.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "BrowserExtensionTemplate",
|
||||
"version": "2.2.5",
|
||||
"manifest_version": 3,
|
||||
"description": "A Extension created for the FearNixx Community to monitor the uptime status.",
|
||||
"homepage_url": "https://github.com/JosunLP/BrowserExtensionTemplate",
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
"48": "icons/icon48.png",
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"action": {
|
||||
"default_icon": "icons/icon16.png",
|
||||
"default_title": "BrowserExtensionTemplate",
|
||||
"default_popup": "popup.html"
|
||||
},
|
||||
"permissions": [
|
||||
"notifications"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "js/background.js"
|
||||
},
|
||||
"commands": {
|
||||
"_execute_browser_action": {
|
||||
"suggested_key": {
|
||||
"default": "Ctrl+Shift+F",
|
||||
"mac": "MacCtrl+Shift+F"
|
||||
},
|
||||
"description": "Opens popup.html"
|
||||
}
|
||||
}
|
||||
}
|
26
public/popup.html
Normal file
26
public/popup.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="./favicon.ico">
|
||||
<title>{{BET}}</title>
|
||||
<link rel="stylesheet" href="css/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but {{BET}} doesn't work properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app">
|
||||
<img src="./icons/icon128.png" class="logo" />
|
||||
<h1>{{BET}}</h1>
|
||||
<div id="content">
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<script type="module" src="./js/app.js"></script>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue