Release 4chan X v1.11.20.1.

This commit is contained in:
ccd0 2015-12-07 20:43:53 -08:00
parent 51d8851f8d
commit fc96d441e2
13 changed files with 48 additions and 21 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.20 ### v1.11.20
**v1.11.20.1** *(2015-12-07)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix 4chan X scrolling to wrong position when back button is used.
**v1.11.20.0** *(2015-12-07)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.0/builds/4chan-X-noupdate.crx "Chromium version")] **v1.11.20.0** *(2015-12-07)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.20.0/builds/4chan-X-noupdate.crx "Chromium version")]
- Based on v1.11.19.5. - Based on v1.11.19.5.
- Cosmetic fixes for blocked ads. - Cosmetic fixes for blocked ads.

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.20.0 // @version 1.11.20.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -433,7 +433,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.20.0', VERSION: '1.11.20.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -2694,7 +2694,7 @@
} }
] ]
}); });
$.on(window, 'load hashchange', Header.hashScroll); $.on(window, 'load popstate', Header.hashScroll);
$.on(d, 'CreateNotification', this.createNotification); $.on(d, 'CreateNotification', this.createNotification);
$.asap((function() { $.asap((function() {
return d.body; return d.body;
@ -3080,8 +3080,14 @@
settings = $.id('fourchanx-settings'); settings = $.id('fourchanx-settings');
return $('[name=boardnav]', settings).focus(); return $('[name=boardnav]', settings).focus();
}, },
hashScroll: function() { hashScroll: function(e) {
var hash, post; var hash, post;
if (e.state) {
return;
}
if (!history.state) {
history.replaceState({}, '');
}
hash = this.location.hash.slice(1); hash = this.location.hash.slice(1);
if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) { if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) {
return; return;
@ -3089,7 +3095,9 @@
if ((Get.postFromRoot(post)).isHidden) { if ((Get.postFromRoot(post)).isHidden) {
return; return;
} }
return Header.scrollTo(post); return $.queueTask(function() {
return Header.scrollTo(post);
});
}, },
scrollTo: function(root, down, needed) { scrollTo: function(root, down, needed) {
var height, x; var height, x;

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.20.0 // @version 1.11.20.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -433,7 +433,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.20.0', VERSION: '1.11.20.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -2694,7 +2694,7 @@
} }
] ]
}); });
$.on(window, 'load hashchange', Header.hashScroll); $.on(window, 'load popstate', Header.hashScroll);
$.on(d, 'CreateNotification', this.createNotification); $.on(d, 'CreateNotification', this.createNotification);
$.asap((function() { $.asap((function() {
return d.body; return d.body;
@ -3080,8 +3080,14 @@
settings = $.id('fourchanx-settings'); settings = $.id('fourchanx-settings');
return $('[name=boardnav]', settings).focus(); return $('[name=boardnav]', settings).focus();
}, },
hashScroll: function() { hashScroll: function(e) {
var hash, post; var hash, post;
if (e.state) {
return;
}
if (!history.state) {
history.replaceState({}, '');
}
hash = this.location.hash.slice(1); hash = this.location.hash.slice(1);
if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) { if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) {
return; return;
@ -3089,7 +3095,9 @@
if ((Get.postFromRoot(post)).isHidden) { if ((Get.postFromRoot(post)).isHidden) {
return; return;
} }
return Header.scrollTo(post); return $.queueTask(function() {
return Header.scrollTo(post);
});
}, },
scrollTo: function(root, down, needed) { scrollTo: function(root, down, needed) {
var height, x; var height, x;

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.20.0 // @version 1.11.20.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -433,7 +433,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.20.0', VERSION: '1.11.20.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -2694,7 +2694,7 @@
} }
] ]
}); });
$.on(window, 'load hashchange', Header.hashScroll); $.on(window, 'load popstate', Header.hashScroll);
$.on(d, 'CreateNotification', this.createNotification); $.on(d, 'CreateNotification', this.createNotification);
$.asap((function() { $.asap((function() {
return d.body; return d.body;
@ -3080,8 +3080,14 @@
settings = $.id('fourchanx-settings'); settings = $.id('fourchanx-settings');
return $('[name=boardnav]', settings).focus(); return $('[name=boardnav]', settings).focus();
}, },
hashScroll: function() { hashScroll: function(e) {
var hash, post; var hash, post;
if (e.state) {
return;
}
if (!history.state) {
history.replaceState({}, '');
}
hash = this.location.hash.slice(1); hash = this.location.hash.slice(1);
if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) { if (!(/^p\d+$/.test(hash) && (post = $.id(hash)))) {
return; return;
@ -3089,7 +3095,9 @@
if ((Get.postFromRoot(post)).isHidden) { if ((Get.postFromRoot(post)).isHidden) {
return; return;
} }
return Header.scrollTo(post); return $.queueTask(function() {
return Header.scrollTo(post);
});
}, },
scrollTo: function(root, down, needed) { scrollTo: function(root, down, needed) {
var height, x; var height, x;

Binary file not shown.

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.11.20.0", "version": "1.11.20.1",
"date": "2015-12-07T09:32:57.887Z" "date": "2015-12-08T04:43:04.140Z"
} }