Merge branch 'bstable'

This commit is contained in:
ccd0 2016-06-03 06:23:12 -07:00
commit ef81e19107
14 changed files with 36 additions and 22 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.34 ### v1.11.34
**v1.11.34.9** *(2016-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.9/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.9/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix loading icon getting stuck on in Firefox.
**v1.11.34.8** *(2016-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.8/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.8/builds/4chan-X-noupdate.crx "Chromium version")] **v1.11.34.8** *(2016-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.8/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.8/builds/4chan-X-noupdate.crx "Chromium version")]
- Replace malicious ad blacklist with a Javascript whitelist, which can be configured on the `Advanced` settings tab. - Replace malicious ad blacklist with a Javascript whitelist, which can be configured on the `Advanced` settings tab.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.34.8 // @version 1.11.34.9
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.11.34.8', VERSION: '1.11.34.9',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -16907,9 +16907,10 @@ ThreadUpdater = (function() {
if (g.VIEW !== 'thread' || !Conf['Thread Updater']) { if (g.VIEW !== 'thread' || !Conf['Thread Updater']) {
return; return;
} }
this.audio = $.el('audio', { this.audio = $.el('audio');
src: ThreadUpdater.beep if ($.engine !== 'gecko') {
}); this.audio.src = this.beep;
}
if (Conf['Updater and Stats in Header']) { if (Conf['Updater and Stats in Header']) {
this.dialog = sc = $.el('span', { this.dialog = sc = $.el('span', {
id: 'updater' id: 'updater'
@ -17010,6 +17011,7 @@ ThreadUpdater = (function() {
playBeep: function() { playBeep: function() {
var audio; var audio;
audio = ThreadUpdater.audio; audio = ThreadUpdater.audio;
audio.src || (audio.src = ThreadUpdater.beep);
if (audio.paused) { if (audio.paused) {
return audio.play(); return audio.play();
} else { } else {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.34.8 // @version 1.11.34.9
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.11.34.8', VERSION: '1.11.34.9',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -16907,9 +16907,10 @@ ThreadUpdater = (function() {
if (g.VIEW !== 'thread' || !Conf['Thread Updater']) { if (g.VIEW !== 'thread' || !Conf['Thread Updater']) {
return; return;
} }
this.audio = $.el('audio', { this.audio = $.el('audio');
src: ThreadUpdater.beep if ($.engine !== 'gecko') {
}); this.audio.src = this.beep;
}
if (Conf['Updater and Stats in Header']) { if (Conf['Updater and Stats in Header']) {
this.dialog = sc = $.el('span', { this.dialog = sc = $.el('span', {
id: 'updater' id: 'updater'
@ -17010,6 +17011,7 @@ ThreadUpdater = (function() {
playBeep: function() { playBeep: function() {
var audio; var audio;
audio = ThreadUpdater.audio; audio = ThreadUpdater.audio;
audio.src || (audio.src = ThreadUpdater.beep);
if (audio.paused) { if (audio.paused) {
return audio.play(); return audio.play();
} else { } else {

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.34.8 // @version 1.11.34.9
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.11.34.8', VERSION: '1.11.34.9',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -16907,9 +16907,10 @@ ThreadUpdater = (function() {
if (g.VIEW !== 'thread' || !Conf['Thread Updater']) { if (g.VIEW !== 'thread' || !Conf['Thread Updater']) {
return; return;
} }
this.audio = $.el('audio', { this.audio = $.el('audio');
src: ThreadUpdater.beep if ($.engine !== 'gecko') {
}); this.audio.src = this.beep;
}
if (Conf['Updater and Stats in Header']) { if (Conf['Updater and Stats in Header']) {
this.dialog = sc = $.el('span', { this.dialog = sc = $.el('span', {
id: 'updater' id: 'updater'
@ -17010,6 +17011,7 @@ ThreadUpdater = (function() {
playBeep: function() { playBeep: function() {
var audio; var audio;
audio = ThreadUpdater.audio; audio = ThreadUpdater.audio;
audio.src || (audio.src = ThreadUpdater.beep);
if (audio.paused) { if (audio.paused) {
return audio.play(); return audio.play();
} else { } else {

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.34.8' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.34.9' />
</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.34.8' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.34.9' />
</app> </app>
</gupdate> </gupdate>

View File

@ -2,7 +2,11 @@ ThreadUpdater =
init: -> init: ->
return if g.VIEW isnt 'thread' or !Conf['Thread Updater'] return if g.VIEW isnt 'thread' or !Conf['Thread Updater']
@audio = $.el 'audio', src: ThreadUpdater.beep # Chromium won't play audio created in an inactive tab until the tab has been focused, so set it up now.
# XXX Sometimes the loading stalls in Firefox, esp. when opening in private browsing window followed by normal window.
# Don't let it keep the loading icon on indefinitely.
@audio = $.el 'audio'
@audio.src = @beep unless $.engine is 'gecko'
if Conf['Updater and Stats in Header'] if Conf['Updater and Stats in Header']
@dialog = sc = $.el 'span', @dialog = sc = $.el 'span',
@ -90,6 +94,7 @@ ThreadUpdater =
playBeep: -> playBeep: ->
{audio} = ThreadUpdater {audio} = ThreadUpdater
audio.src or= ThreadUpdater.beep
if audio.paused if audio.paused
audio.play() audio.play()
else else

View File

@ -1,4 +1,4 @@
{ {
"version": "1.11.34.8", "version": "1.11.34.9",
"date": "2016-06-03T03:25:30.866Z" "date": "2016-06-03T13:15:29.064Z"
} }