Generate basic extension files via create-web-ext tool
This commit is contained in:
parent
bbcd4e3142
commit
f3ddb93c19
|
@ -0,0 +1 @@
|
|||
/web-ext-artifacts
|
|
@ -0,0 +1 @@
|
|||
// Put all the javascript code here, that you want to execute in background.
|
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"author": "Krzysztof Andrzej Sikorski",
|
||||
"background": {
|
||||
"scripts": [
|
||||
"background_script.js"
|
||||
]
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "tracker@nexus-archive.zerozero.pl"
|
||||
}
|
||||
},
|
||||
"description": "A helper extension to automatically submit network traffic to the \"Nexus Archive\" website.",
|
||||
"homepage_url": "https://nexus-archive.zerozero.pl",
|
||||
"icons": {
|
||||
"64": "icons/icon.png"
|
||||
},
|
||||
"manifest_version": 2,
|
||||
"name": "Nexus Archive Tracker",
|
||||
"options_ui": {
|
||||
"page": "options/index.html"
|
||||
},
|
||||
"short_name": "NA Tracker",
|
||||
"version": "0.0.1"
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link href="style.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="myHeading">My content</h1>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
document.getElementById('myHeading').style.color = 'red'
|
|
@ -0,0 +1,3 @@
|
|||
h1 {
|
||||
font-style: italic;
|
||||
}
|
Reference in New Issue