Skip to content

Commit 10cf922

Browse files
committed
Added basic boilerplate explanation or setup code.
1 parent e6af2de commit 10cf922

File tree

5 files changed

+69
-0
lines changed

5 files changed

+69
-0
lines changed

background.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// background.js
2+
// Author:
3+
// Author URI: https://
4+
// Author Github URI: https://www.github.com/
5+
// Project Repository URI: https://github.com/
6+
// Description: Handles all the browser level activities (e.g. tab management, etc.)
7+
// License: MIT

content.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// content.js
2+
// Author:
3+
// Author URI: https://
4+
// Author Github URI: https://www.github.com/
5+
// Project Repository URI: https://github.com/
6+
// Description: Handles all the webpage level activities (e.g. manipulating page data, etc.)
7+
// License: MIT

index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!--
2+
index.html
3+
Author:
4+
Author URI: https://
5+
Author Github URI: https://www.github.com/
6+
Project Repository URI: https://github.com/
7+
Description: The main UI for your Chrome Extension
8+
License: MIT
9+
-->
10+
11+
<!DOCTYPE html>
12+
<html lang="en" dir="ltr">
13+
<head>
14+
<meta charset="utf-8">
15+
<meta name = "viewport" content = "width=device-width, initial-scale = 1.0">
16+
<meta http-equiv = "X-UA-Compatible" content = "ie=edge">
17+
<title>DistractMeNot Chrome Extension</title>
18+
<link href = "style.css" rel = "stylesheet" type = "text/css">
19+
</head>
20+
<body>
21+
22+
<script src = "scripts.js"></script>
23+
</body>
24+
</html>

manifest.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "Your Chrome Extension Name",
4+
"version": "0.1",
5+
"author": "First Last",
6+
"description": "A description about your Chrome Extension...",
7+
"permissions": [
8+
""
9+
],
10+
"content_scripts": [
11+
{
12+
"matches": [
13+
"<all_urls>"
14+
],
15+
"js": [
16+
"content.js"
17+
]
18+
}
19+
],
20+
"background": {
21+
"scripts": [
22+
"background.js"
23+
]
24+
},
25+
"browser_action": {
26+
"default_icon": "logo.png",
27+
"default_popup": "index.html",
28+
"default_title": "A tooltip popup description when you hover over the Chrome Extension icon."
29+
}
30+
}

scripts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Handles your frontend UI logic.

0 commit comments

Comments
 (0)