Release 4chan X v1.3.4.
This commit is contained in:
parent
76b2ecc0c5
commit
6c2579449a
@ -1,5 +1,14 @@
|
|||||||
|
### v1.3.4
|
||||||
|
*2014-02-10*
|
||||||
|
|
||||||
|
**Spittie**
|
||||||
|
- Fix Chrome (Maybe? Hopefully I haven't fucked everything)
|
||||||
|
- Add fgst.eu
|
||||||
|
- Add mawa.re
|
||||||
|
|
||||||
### v1.3.3
|
### v1.3.3
|
||||||
*2014-02-09*
|
*2014-02-09*
|
||||||
|
|
||||||
**MayhemYDG**
|
**MayhemYDG**
|
||||||
- Fix new captcha
|
- Fix new captcha
|
||||||
|
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.3.3 - 2014-02-09
|
* 4chan X - Version 1.3.4 - 2014-02-10
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.3.3
|
// @version 1.3.4
|
||||||
// @minGMVer 1.13
|
// @minGMVer 1.13
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.3.3
|
// @version 1.3.4
|
||||||
// @minGMVer 1.13
|
// @minGMVer 1.13
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -22,7 +22,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.3.3 - 2014-02-09
|
* 4chan X - Version 1.3.4 - 2014-02-10
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
||||||
@ -358,7 +358,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.3.3',
|
VERSION: '1.3.4',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {},
|
boards: {},
|
||||||
threads: {},
|
threads: {},
|
||||||
@ -1980,8 +1980,7 @@
|
|||||||
args = bottom ? ['bottom-header', 'top-header', 'bottom', 'after'] : ['top-header', 'bottom-header', 'top', 'add'];
|
args = bottom ? ['bottom-header', 'top-header', 'bottom', 'after'] : ['top-header', 'bottom-header', 'top', 'add'];
|
||||||
$.addClass(doc, args[0]);
|
$.addClass(doc, args[0]);
|
||||||
$.rmClass(doc, args[1]);
|
$.rmClass(doc, args[1]);
|
||||||
Header.bar.parentNode.className = args[2];
|
return Header.bar.parentNode.className = args[2];
|
||||||
return $[args[3]](Header.bar, Header.notify);
|
|
||||||
},
|
},
|
||||||
toggleBarPosition: function() {
|
toggleBarPosition: function() {
|
||||||
$.cb.checked.call(this);
|
$.cb.checked.call(this);
|
||||||
@ -6140,14 +6139,21 @@
|
|||||||
input: input
|
input: input
|
||||||
};
|
};
|
||||||
$.on(input, 'focus', this.setup);
|
$.on(input, 'focus', this.setup);
|
||||||
|
$.on(input, 'focus', function() {
|
||||||
|
return $.addClass(QR.nodes.el, 'focus');
|
||||||
|
});
|
||||||
|
$.on(input, 'blur', function() {
|
||||||
|
return $.rmClass(QR.nodes.el, 'focus');
|
||||||
|
});
|
||||||
$.on(input, 'blur', QR.focusout);
|
$.on(input, 'blur', QR.focusout);
|
||||||
$.on(input, 'focus', QR.focusin);
|
$.on(input, 'focus', QR.focusin);
|
||||||
$.addClass(QR.nodes.el, 'has-captcha');
|
$.addClass(QR.nodes.el, 'has-captcha');
|
||||||
$.after(QR.nodes.com.parentNode, [imgContainer, input]);
|
$.after(QR.nodes.com.parentNode, [imgContainer, input]);
|
||||||
this.setupObserver = new MutationObserver(this.afterSetup);
|
this.setupObserver = new MutationObserver(this.afterSetup);
|
||||||
return this.setupObserver.observe(container, {
|
this.setupObserver.observe(container, {
|
||||||
childList: true
|
childList: true
|
||||||
});
|
});
|
||||||
|
return this.afterSetup();
|
||||||
},
|
},
|
||||||
setup: function() {
|
setup: function() {
|
||||||
return $.globalEval('loadRecaptcha()');
|
return $.globalEval('loadRecaptcha()');
|
||||||
@ -9964,6 +9970,26 @@
|
|||||||
software: "fuuka"
|
software: "fuuka"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fgst": {
|
||||||
|
boards: ["r", "soc"],
|
||||||
|
files: ["r", "soc"],
|
||||||
|
data: {
|
||||||
|
domain: "fgst.eu",
|
||||||
|
http: true,
|
||||||
|
https: true,
|
||||||
|
software: "foolfuuka"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"maware": {
|
||||||
|
boards: ["t"],
|
||||||
|
files: ["t"],
|
||||||
|
data: {
|
||||||
|
domain: "archive.mawa.re",
|
||||||
|
http: true,
|
||||||
|
https: false,
|
||||||
|
software: "foolfuuka"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Foolz Beta": {
|
"Foolz Beta": {
|
||||||
boards: ["a", "co", "d", "gd", "h", "jp", "m", "mlp", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
|
boards: ["a", "co", "d", "gd", "h", "jp", "m", "mlp", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
|
||||||
files: ["a", "d", "gd", "h", "jp", "m", "tg", "u", "vg", "vp", "vr", "wsg"],
|
files: ["a", "d", "gd", "h", "jp", "m", "tg", "u", "vg", "vp", "vr", "wsg"],
|
||||||
|
|||||||
Binary file not shown.
BIN
builds/crx.crx
Normal file
BIN
builds/crx.crx
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "4chan X",
|
"name": "4chan X",
|
||||||
"version": "1.3.3",
|
"version": "1.3.4",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.3.3 - 2014-02-09
|
* 4chan X - Version 1.3.4 - 2014-02-10
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
* https://github.com/Spittie/4chan-x/blob/master/LICENSE
|
||||||
@ -336,7 +336,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.3.3',
|
VERSION: '1.3.4',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {},
|
boards: {},
|
||||||
threads: {},
|
threads: {},
|
||||||
@ -1990,8 +1990,7 @@
|
|||||||
args = bottom ? ['bottom-header', 'top-header', 'bottom', 'after'] : ['top-header', 'bottom-header', 'top', 'add'];
|
args = bottom ? ['bottom-header', 'top-header', 'bottom', 'after'] : ['top-header', 'bottom-header', 'top', 'add'];
|
||||||
$.addClass(doc, args[0]);
|
$.addClass(doc, args[0]);
|
||||||
$.rmClass(doc, args[1]);
|
$.rmClass(doc, args[1]);
|
||||||
Header.bar.parentNode.className = args[2];
|
return Header.bar.parentNode.className = args[2];
|
||||||
return $[args[3]](Header.bar, Header.notify);
|
|
||||||
},
|
},
|
||||||
toggleBarPosition: function() {
|
toggleBarPosition: function() {
|
||||||
$.cb.checked.call(this);
|
$.cb.checked.call(this);
|
||||||
@ -6131,12 +6130,19 @@
|
|||||||
input: input
|
input: input
|
||||||
};
|
};
|
||||||
$.on(input, 'focus', this.setup);
|
$.on(input, 'focus', this.setup);
|
||||||
|
$.on(input, 'focus', function() {
|
||||||
|
return $.addClass(QR.nodes.el, 'focus');
|
||||||
|
});
|
||||||
|
$.on(input, 'blur', function() {
|
||||||
|
return $.rmClass(QR.nodes.el, 'focus');
|
||||||
|
});
|
||||||
$.addClass(QR.nodes.el, 'has-captcha');
|
$.addClass(QR.nodes.el, 'has-captcha');
|
||||||
$.after(QR.nodes.com.parentNode, [imgContainer, input]);
|
$.after(QR.nodes.com.parentNode, [imgContainer, input]);
|
||||||
this.setupObserver = new MutationObserver(this.afterSetup);
|
this.setupObserver = new MutationObserver(this.afterSetup);
|
||||||
return this.setupObserver.observe(container, {
|
this.setupObserver.observe(container, {
|
||||||
childList: true
|
childList: true
|
||||||
});
|
});
|
||||||
|
return this.afterSetup();
|
||||||
},
|
},
|
||||||
setup: function() {
|
setup: function() {
|
||||||
return $.globalEval('loadRecaptcha()');
|
return $.globalEval('loadRecaptcha()');
|
||||||
@ -9953,6 +9959,26 @@
|
|||||||
software: "fuuka"
|
software: "fuuka"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fgst": {
|
||||||
|
boards: ["r", "soc"],
|
||||||
|
files: ["r", "soc"],
|
||||||
|
data: {
|
||||||
|
domain: "fgst.eu",
|
||||||
|
http: true,
|
||||||
|
https: true,
|
||||||
|
software: "foolfuuka"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"maware": {
|
||||||
|
boards: ["t"],
|
||||||
|
files: ["t"],
|
||||||
|
data: {
|
||||||
|
domain: "archive.mawa.re",
|
||||||
|
http: true,
|
||||||
|
https: false,
|
||||||
|
software: "foolfuuka"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Foolz Beta": {
|
"Foolz Beta": {
|
||||||
boards: ["a", "co", "d", "gd", "h", "jp", "m", "mlp", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
|
boards: ["a", "co", "d", "gd", "h", "jp", "m", "mlp", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
|
||||||
files: ["a", "d", "gd", "h", "jp", "m", "tg", "u", "vg", "vp", "vr", "wsg"],
|
files: ["a", "d", "gd", "h", "jp", "m", "tg", "u", "vg", "vp", "vr", "wsg"],
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
postMessage({version:'1.3.3'},'*')
|
postMessage({version:'1.3.4'},'*')
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "4chan-X",
|
"name": "4chan-X",
|
||||||
"version": "1.3.3",
|
"version": "1.3.4",
|
||||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "4chan X",
|
"name": "4chan X",
|
||||||
|
|||||||
@ -330,7 +330,7 @@ Header =
|
|||||||
$.addClass doc, args[0]
|
$.addClass doc, args[0]
|
||||||
$.rmClass doc, args[1]
|
$.rmClass doc, args[1]
|
||||||
Header.bar.parentNode.className = args[2]
|
Header.bar.parentNode.className = args[2]
|
||||||
$[args[3]] Header.bar, Header.notify
|
#$[args[3]] Header.bar, Header.notify ##Fix chrome?
|
||||||
|
|
||||||
toggleBarPosition: ->
|
toggleBarPosition: ->
|
||||||
$.cb.checked.call @
|
$.cb.checked.call @
|
||||||
|
|||||||
@ -21,6 +21,8 @@ QR.captcha =
|
|||||||
input: input
|
input: input
|
||||||
|
|
||||||
$.on input, 'focus', @setup
|
$.on input, 'focus', @setup
|
||||||
|
$.on input, 'focus', -> $.addClass QR.nodes.el, 'focus'
|
||||||
|
$.on input, 'blur', -> $.rmClass QR.nodes.el, 'focus'
|
||||||
|
|
||||||
<% if (type === 'userscript') { %>
|
<% if (type === 'userscript') { %>
|
||||||
# XXX Firefox lacks focusin/focusout support.
|
# XXX Firefox lacks focusin/focusout support.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user