diff --git a/.background.html.swp b/.background.html.swp deleted file mode 100644 index 1d586de..0000000 Binary files a/.background.html.swp and /dev/null differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/.manifest.json.swp b/.manifest.json.swp deleted file mode 100644 index c798e35..0000000 Binary files a/.manifest.json.swp and /dev/null differ diff --git a/background.html b/background.html index 28ff730..0d9c53d 100644 --- a/background.html +++ b/background.html @@ -15,7 +15,9 @@

Mindfulness V1

-

+
+

+

@@ -29,7 +31,25 @@

Change the Habit

+
+
+ + + +

Code in a new language

+
+
+ + + +

Learn new mathematics and sciences

+
+
+ + +

Speak a new language, forever

+
diff --git a/background.js b/background.js index e69de29..ae5b3af 100644 --- a/background.js +++ b/background.js @@ -0,0 +1,11 @@ +chrome.webRequest.onBeforeRequest.addListener( + function(details) { + console.log("Is this evenf ucking working details.url: " + details.url); + console.log(details); + return {redirectUrl: "http://google.com"}; + }, + { + urls: [""] + }, + ["blocking"] +); diff --git a/img/codeacad.jpg b/img/codeacad.jpg new file mode 100644 index 0000000..d837e0c Binary files /dev/null and b/img/codeacad.jpg differ diff --git a/img/codeacad.png b/img/codeacad.png new file mode 100644 index 0000000..7e44e37 Binary files /dev/null and b/img/codeacad.png differ diff --git a/img/duolingo.jpg b/img/duolingo.jpg new file mode 100644 index 0000000..bf038b5 Binary files /dev/null and b/img/duolingo.jpg differ diff --git a/img/duolingo.png b/img/duolingo.png new file mode 100644 index 0000000..440512d Binary files /dev/null and b/img/duolingo.png differ diff --git a/img/khanacad.jpg b/img/khanacad.jpg new file mode 100644 index 0000000..0cde0d5 Binary files /dev/null and b/img/khanacad.jpg differ diff --git a/manifest.json b/manifest.json index d80b5e8..bb2544f 100644 --- a/manifest.json +++ b/manifest.json @@ -8,14 +8,6 @@ "pages": ["background.html"] }, - "content_scripts": [ - { - "matches": ["http://*/*", "https://*/*"], - - "js": ["js/jquery.min.js","js/checkerino.js"] - } - ], - "browser_action": { "default_icon": "icon.png", "default_title": "CDAD" @@ -23,7 +15,9 @@ "permissions": [ "activeTab", - "https://ajax.googleapis.com/", - "notifications" + "webRequest", + "webRequestBlocking", + "", + "tabs" ] }