mirror of
https://github.com/wassname/mad.git
synced 2026-07-14 01:10:31 +08:00
updated html ui
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
*.swp
|
||||
Binary file not shown.
+21
-1
@@ -15,7 +15,9 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2 text-center">
|
||||
<h2>Mindfulness V1</h2>
|
||||
<p id="target"></p>
|
||||
<blockquote>
|
||||
<p id="target"></p>
|
||||
</blockquote>
|
||||
<textarea id="input" class="form-control" rows="3"></textarea>
|
||||
<p id="charCount"></p>
|
||||
<p id="original"></p>
|
||||
@@ -29,7 +31,25 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<h1 class="text-center">Change the Habit</h1>
|
||||
<br>
|
||||
<div id="alternate" class="row text-center">
|
||||
<div class="col-md-4">
|
||||
<a href="http://www.codecademy.com/learn">
|
||||
<img src="img/codeacad.jpg" class="img-circle">
|
||||
</a>
|
||||
<h3>Code in a new language</h3>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="https://www.khanacademy.org/">
|
||||
<img src="img/khanacad.jpg" class="img-circle">
|
||||
</a>
|
||||
<h3>Learn new mathematics and sciences</h3>
|
||||
</div>
|
||||
<div class="col-md-4"><a href="https://www.duolingo.com/">
|
||||
<img src="img/duolingo.jpg" class="img-circle ">
|
||||
</a>
|
||||
<h3>Speak a new language, forever</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -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: ["<all_urls>"]
|
||||
},
|
||||
["blocking"]
|
||||
);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
+4
-10
@@ -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",
|
||||
"<all_urls>",
|
||||
"tabs"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user