diff --git a/CHANGELOG.md b/CHANGELOG.md
index c4084b5b8..e46895020 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.3
+**v1.10.3.5** *(2015-03-02)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.5/builds/4chan-X-noupdate.crx "Chromium version")]
+- Remove focus outlines around links only when they were focused with the mouse.
+
**v1.10.3.4** *(2015-03-02)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.10.2.9: (pleebe) Add not4plebs archive.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index aa7f4d35e..fe7a050af 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index ed2a1871b..847c1520c 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.10.3.4
+// @version 1.10.3.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 500292a24..79903d0e9 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.10.3.4
+// @version 1.10.3.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -393,7 +393,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.3.4',
+ VERSION: '1.10.3.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -16151,7 +16151,7 @@
return $.ready(Main.initReady);
},
initStyle: function() {
- var ref;
+ var mouse, ref;
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}
@@ -16162,6 +16162,16 @@
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
$.addClass(doc, typeof chrome !== "undefined" && chrome !== null ? 'blink' : 'gecko');
$.addStyle(Main.css, 'fourchanx-css');
+ mouse = false;
+ $.on(d, 'mousedown', function() {
+ return mouse = true;
+ });
+ $.on(d, 'keydown', function() {
+ return mouse = false;
+ });
+ window.addEventListener('focus', (function() {
+ return doc.classList.toggle('mouse-focus', mouse);
+ }), true);
return Main.setClass();
},
setClass: function() {
@@ -17044,6 +17054,9 @@
"body.hasDropDownNav{\n" +
" margin-top: 5px;\n" +
"}\n" +
+":root.mouse-focus a {\n" +
+" outline: none;\n" +
+"}\n" +
".painted {\n" +
" border-radius: 3px;\n" +
" padding: 0px 2px;\n" +
@@ -18694,7 +18707,6 @@
" margin: auto;\n" +
" line-height: 0;\n" +
" max-width: 100%;\n" +
-" outline: none;\n" +
"}\n" +
":root.gal-pdf .gal-image a {\n" +
" width: 100%;\n" +
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 77b3824f8..dd3cc1415 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 11aa6d146..ee9f0b105 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.10.3.4
+// @version 1.10.3.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -392,7 +392,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.3.4',
+ VERSION: '1.10.3.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -16150,7 +16150,7 @@
return $.ready(Main.initReady);
},
initStyle: function() {
- var ref;
+ var mouse, ref;
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}
@@ -16161,6 +16161,16 @@
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
$.addClass(doc, typeof chrome !== "undefined" && chrome !== null ? 'blink' : 'gecko');
$.addStyle(Main.css, 'fourchanx-css');
+ mouse = false;
+ $.on(d, 'mousedown', function() {
+ return mouse = true;
+ });
+ $.on(d, 'keydown', function() {
+ return mouse = false;
+ });
+ window.addEventListener('focus', (function() {
+ return doc.classList.toggle('mouse-focus', mouse);
+ }), true);
return Main.setClass();
},
setClass: function() {
@@ -17043,6 +17053,9 @@
"body.hasDropDownNav{\n" +
" margin-top: 5px;\n" +
"}\n" +
+":root.mouse-focus a {\n" +
+" outline: none;\n" +
+"}\n" +
".painted {\n" +
" border-radius: 3px;\n" +
" padding: 0px 2px;\n" +
@@ -18693,7 +18706,6 @@
" margin: auto;\n" +
" line-height: 0;\n" +
" max-width: 100%;\n" +
-" outline: none;\n" +
"}\n" +
":root.gal-pdf .gal-image a {\n" +
" width: 100%;\n" +
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 9e9587f50..2609c3569 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index 34591b6a6..7ac053734 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.10.3.4
+// @version 1.10.3.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 3da778486..54f03f972 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.10.3.4
+// @version 1.10.3.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -393,7 +393,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.3.4',
+ VERSION: '1.10.3.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -16151,7 +16151,7 @@
return $.ready(Main.initReady);
},
initStyle: function() {
- var ref;
+ var mouse, ref;
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}
@@ -16162,6 +16162,16 @@
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
$.addClass(doc, typeof chrome !== "undefined" && chrome !== null ? 'blink' : 'gecko');
$.addStyle(Main.css, 'fourchanx-css');
+ mouse = false;
+ $.on(d, 'mousedown', function() {
+ return mouse = true;
+ });
+ $.on(d, 'keydown', function() {
+ return mouse = false;
+ });
+ window.addEventListener('focus', (function() {
+ return doc.classList.toggle('mouse-focus', mouse);
+ }), true);
return Main.setClass();
},
setClass: function() {
@@ -17044,6 +17054,9 @@
"body.hasDropDownNav{\n" +
" margin-top: 5px;\n" +
"}\n" +
+":root.mouse-focus a {\n" +
+" outline: none;\n" +
+"}\n" +
".painted {\n" +
" border-radius: 3px;\n" +
" padding: 0px 2px;\n" +
@@ -18694,7 +18707,6 @@
" margin: auto;\n" +
" line-height: 0;\n" +
" max-width: 100%;\n" +
-" outline: none;\n" +
"}\n" +
":root.gal-pdf .gal-image a {\n" +
" width: 100%;\n" +
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index c60df9fa6..6a667f6f2 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index d24591c53..a0f50b7e6 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index f703ce58d..f6eae479f 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index 9d75c9d68..434eef929 100755
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
- "version": "1.10.3.4",
- "date": "2015-03-02T20:58:27.965Z",
+ "version": "1.10.3.5",
+ "date": "2015-03-03T04:48:15.000Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",