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.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")]
- Based on v1.11.19.5.
- Cosmetic fixes for blocked ads.

Binary file not shown.

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

View File

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

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://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>
</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://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>
</gupdate>

View File

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