more stylish changes, phrase added

This commit is contained in:
qt31415926
2015-03-29 08:28:34 -04:00
parent a587f6ba44
commit 56bc8e3ed3
3 changed files with 13 additions and 9 deletions
+6 -3
View File
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>CDAD</title>
<title>MAD</title>
<script src="js/jquery.min.js"></script>
<script src="js/verify.js"></script>
<script src="js/fuzzyset.js"></script>
@@ -13,8 +13,11 @@
</head>
<body>
<div class="row">
<div class="page-header text-center">
<h1>MAD - Mindfulness Anti Distraction</h1>
</div>
<div class="col-md-8 col-md-offset-2 text-center">
<h2>Mindfulness V1</h2>
<p class="lead">Type the following if you REALLY HAVE to go to your site:</p>
<blockquote>
<p id="target"></p>
</blockquote>
@@ -56,7 +59,7 @@
<a href="http://www.codecademy.com/">
<img src="img/codeacad.jpg" class="img-circle">
</a>
<h3>Code in a new language, forever</h3>
<h3>Learn how to code in a new language, forever</h3>
</div>
<!--
<br>
+4 -3
View File
@@ -6,9 +6,10 @@ function set(el,text){
var sayings = [
"I am in control over what I am doing. I am not distracted",
"I have done all my goals today and am focused",
"I can totally type to 10 and still choose not to go to an alternative site. 1 2 3 4 5 6 7 8 9 10.",
"I am not habitually going to this site after creating a new tab. I have good reasons for going to this site",
"There are so many better things to do. I'll still go through typing this to experience this banal web site.",
"I am going to type to 10 while deciding whether or not I should really go through with this. 1 2 3 4 5 6 7 8 9 10.",
"I am definitely not habitually going to this site. I have good reasons for going to this site",
"There are so many better things I should be doing. I'll still go through typing this. All to access some stupid banal web site.",
"I normally don't insult myself, but sometimes drastic measures are necessary. I am a big fat poo poo butt. I am boo boo. My willpower is boo boo. This site is boo boo.",
"I can always go to this site later in the day and there is no urgency to visit this site, but I am going anyways despite what's best for me"
]
/* setupUpdater will be called once, on page load.
+3 -3
View File
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "CDAD",
"description": "This addon will help you be less distracted",
"name": "MAD - Mindfulness Anti Distraction",
"description": "This extension will hopefully help you be less distracted (untested)",
"version": "1.0",
"background": {
"scripts": ["js/checkerino.js","background.js"],
@@ -10,7 +10,7 @@
"browser_action": {
"default_icon": "icon.png",
"default_title": "CDAD"
"default_title": "MAD"
},
"permissions": [