Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 7198bb8

Browse files
committed
grundstruktur mit manifest.json, options page und content script
1 parent 31cc8dd commit 7198bb8

6 files changed

Lines changed: 40 additions & 0 deletions

File tree

content_script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//TODO: Code, der auf trello.com ausgeführt wird

icons/icon.png

2.99 KB
Loading

manifest.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "Trecktor",
4+
"description": "Browser-Extension zum automatischen Anlegen von Toggl tracking tasks",
5+
"version": "0.0.1",
6+
"icons": {
7+
"64": "icons/icon.png"
8+
},
9+
10+
"content_scripts": [
11+
{
12+
"matches": [
13+
"*://trello.com/*"
14+
],
15+
"js": [
16+
"content_script.js"
17+
]
18+
}
19+
],
20+
21+
"options_ui": {
22+
"page": "options/index.html"
23+
}
24+
}

options/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link href="style.css" rel="stylesheet" />
6+
</head>
7+
<body>
8+
<h1>Extension settings</h1>
9+
<script src="script.js"></script>
10+
</body>
11+
</html>

options/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//extension settings script

options/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
h1 {
2+
font-style: italic;
3+
}

0 commit comments

Comments
 (0)