Merge branch 'bstable'

This commit is contained in:
ccd0 2015-03-15 00:14:02 -07:00
commit 3f8ff45a54
14 changed files with 29 additions and 16 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.4
**v1.10.4.6** *(2015-03-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.6/builds/4chan-X-noupdate.crx "Chromium version")]
- Work around Greasemonkey 3.0 bug causing multiple tabs to be opened upon posting. For now, users will have to either enable popups on boards.4chan.org or downgrade to Greasemonkey 2.3.
**v1.10.4.5** *(2015-03-13)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.4.5/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix wait-to-post error messages pausing autoposting.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.10.4.5
// @version 1.10.4.6
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.10.4.5
// @version 1.10.4.6
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.4.5',
VERSION: '1.10.4.6',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -764,7 +764,9 @@
}));
};
$.open = GM_openInTab;
$.open = GM_info.version === 'unknown' ? function(URL) {
return $.globalEval("window.open(" + (JSON.stringify(URL)) + ", '_blank');");
} : GM_openInTab;
$.debounce = function(wait, fn) {
var args, exec, lastCall, that, timeout;

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.4.5
// @version 1.10.4.6
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -394,7 +394,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.4.5',
VERSION: '1.10.4.6',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -763,7 +763,9 @@
}));
};
$.open = GM_openInTab;
$.open = GM_info.version === 'unknown' ? function(URL) {
return $.globalEval("window.open(" + (JSON.stringify(URL)) + ", '_blank');");
} : GM_openInTab;
$.debounce = function(wait, fn) {
var args, exec, lastCall, that, timeout;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.10.4.5
// @version 1.10.4.6
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.4.5
// @version 1.10.4.6
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.4.5',
VERSION: '1.10.4.6',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -764,7 +764,9 @@
}));
};
$.open = GM_openInTab;
$.open = GM_info.version === 'unknown' ? function(URL) {
return $.globalEval("window.open(" + (JSON.stringify(URL)) + ", '_blank');");
} : GM_openInTab;
$.debounce = function(wait, fn) {
var args, exec, lastCall, that, timeout;

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.4.5' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.4.6' />
</app>
</gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.4.5' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.4.6' />
</app>
</gupdate>

View File

@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
"version": "1.10.4.5",
"date": "2015-03-14T03:50:11.775Z",
"version": "1.10.4.6",
"date": "2015-03-15T07:03:19.956Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",

View File

@ -221,7 +221,11 @@ $.event = (event, detail, root=d) ->
$.open =
<% if (type === 'userscript') { %>
GM_openInTab
if GM_info.version is 'unknown' # GM_info.version is broken in GM3.0
# XXX https://github.com/greasemonkey/greasemonkey/issues/2094
(URL) -> $.globalEval "window.open(#{JSON.stringify URL}, '_blank');"
else
GM_openInTab
<% } else { %>
(URL) -> window.open URL, '_blank'
<% } %>