Release 4chan X v1.2.19.

This commit is contained in:
Jordan Bates 2013-07-14 03:58:01 -07:00
parent 71e004af9a
commit 9ba459ea8a
12 changed files with 50 additions and 93 deletions

View File

@ -1,3 +1,10 @@
### v1.2.19
*2013-07-14*
**seaweedchan**:
- Update archives. LoveIsOver is going down permanently until it can find a host, some boards were removed by archivers, and Warosu has been down for 2 days now.
- Add a new option to hide "4chan X has been updated to ____" notifications for those having issues with them.
### v1.2.18 ### v1.2.18
*2013-06-27* *2013-06-27*

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.2.18 - 2013-06-27 * 4chan X - Version 1.2.19 - 2013-07-14
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.2.18 // @version 1.2.19
// @namespace 4chan-X // @namespace 4chan-X
// @description Cross-browser userscript for maximum lurking on 4chan. // @description Cross-browser userscript for maximum lurking on 4chan.
// @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE // @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -19,7 +19,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.2.18 - 2013-06-27 * 4chan X - Version 1.2.19 - 2013-07-14
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -133,6 +133,7 @@
'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'],
'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'],
'Check for Updates': [true, 'Check for updated versions of 4chan X.'], 'Check for Updates': [true, 'Check for updated versions of 4chan X.'],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
'Emoji': [false, 'Adds icons next to names for different emails'], 'Emoji': [false, 'Adds icons next to names for different emails'],
'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'], 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'], 'Remove Spoilers': [false, 'Remove all spoilers in text.'],
@ -322,7 +323,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.2.18', VERSION: '1.2.19',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {}, boards: {},
threads: {}, threads: {},
@ -7954,7 +7955,7 @@
'http': false, 'http': false,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'v', 'vg', 'vp', 'vr', 'wsg'], 'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vg', 'vp', 'vr', 'wsg'],
'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg'] 'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg']
}, },
'NSFW Foolz': { 'NSFW Foolz': {
@ -7988,21 +7989,13 @@
'boards': ['c', 'w', 'wg'], 'boards': ['c', 'w', 'wg'],
'files': ['c', 'w', 'wg'] 'files': ['c', 'w', 'wg']
}, },
'Love is Over': {
'domain': 'loveisover.me',
'http': true,
'https': true,
'software': 'foolfuuka',
'boards': ['d', 'h', 'v'],
'files': ['d', 'h', 'v']
},
'Foolz a Shit': { 'Foolz a Shit': {
'domain': 'archive.foolzashit.com', 'domain': 'archive.foolzashit.com',
'http': true, 'http': true,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 'pol', 's', 's4s', 't', 'trv', 'y'], 'boards': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv'],
'files': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 's', 's4s', 't', 'trv', 'y'] 'files': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv']
}, },
'Install Gentoo': { 'Install Gentoo': {
'domain': 'archive.installgentoo.net', 'domain': 'archive.installgentoo.net',
@ -8026,14 +8019,6 @@
'software': 'fuuka', 'software': 'fuuka',
'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'], 'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'],
'files': ['an', 'k', 'toy'] 'files': ['an', 'k', 'toy']
},
'warosu': {
'domain': 'fuuka.warosu.org',
'http': true,
'https': true,
'software': 'fuuka',
'boards': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr'],
'files': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr']
} }
}, },
to: function(dest, data) { to: function(dest, data) {
@ -9526,7 +9511,9 @@
el = $.el('span', { el = $.el('span', {
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>." innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
}); });
new Notification('info', el, 30); if (Conf['Show Updated Notifications']) {
new Notification('info', el, 30);
}
} else { } else {
$.on(d, '4chanXInitFinished', Settings.open); $.on(d, '4chanXInitFinished', Settings.open);
} }

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.2.18 // @version 1.2.19
// @namespace 4chan-X // @namespace 4chan-X
// @description Cross-browser userscript for maximum lurking on 4chan. // @description Cross-browser userscript for maximum lurking on 4chan.
// @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE // @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.2.18 // @version 1.2.19
// @namespace 4chan-X // @namespace 4chan-X
// @description Cross-browser userscript for maximum lurking on 4chan. // @description Cross-browser userscript for maximum lurking on 4chan.
// @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE // @license MIT; https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -19,7 +19,7 @@
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.2.18 - 2013-06-27 * 4chan X - Version 1.2.19 - 2013-07-14
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -133,6 +133,7 @@
'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'],
'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'],
'Check for Updates': [true, 'Check for updated versions of 4chan X.'], 'Check for Updates': [true, 'Check for updated versions of 4chan X.'],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
'Emoji': [false, 'Adds icons next to names for different emails'], 'Emoji': [false, 'Adds icons next to names for different emails'],
'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'], 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'], 'Remove Spoilers': [false, 'Remove all spoilers in text.'],
@ -319,7 +320,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.2.18', VERSION: '1.2.19',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {}, boards: {},
threads: {}, threads: {},
@ -7948,7 +7949,7 @@
'http': false, 'http': false,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'v', 'vg', 'vp', 'vr', 'wsg'], 'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vg', 'vp', 'vr', 'wsg'],
'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg'] 'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg']
}, },
'NSFW Foolz': { 'NSFW Foolz': {
@ -7982,21 +7983,13 @@
'boards': ['c', 'w', 'wg'], 'boards': ['c', 'w', 'wg'],
'files': ['c', 'w', 'wg'] 'files': ['c', 'w', 'wg']
}, },
'Love is Over': {
'domain': 'loveisover.me',
'http': true,
'https': true,
'software': 'foolfuuka',
'boards': ['d', 'h', 'v'],
'files': ['d', 'h', 'v']
},
'Foolz a Shit': { 'Foolz a Shit': {
'domain': 'archive.foolzashit.com', 'domain': 'archive.foolzashit.com',
'http': true, 'http': true,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 'pol', 's', 's4s', 't', 'trv', 'y'], 'boards': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv'],
'files': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 's', 's4s', 't', 'trv', 'y'] 'files': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv']
}, },
'Install Gentoo': { 'Install Gentoo': {
'domain': 'archive.installgentoo.net', 'domain': 'archive.installgentoo.net',
@ -8020,14 +8013,6 @@
'software': 'fuuka', 'software': 'fuuka',
'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'], 'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'],
'files': ['an', 'k', 'toy'] 'files': ['an', 'k', 'toy']
},
'warosu': {
'domain': 'fuuka.warosu.org',
'http': true,
'https': true,
'software': 'fuuka',
'boards': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr'],
'files': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr']
} }
}, },
to: function(dest, data) { to: function(dest, data) {
@ -9520,7 +9505,9 @@
el = $.el('span', { el = $.el('span', {
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>." innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
}); });
new Notification('info', el, 30); if (Conf['Show Updated Notifications']) {
new Notification('info', el, 30);
}
} else { } else {
$.on(d, '4chanXInitFinished', Settings.open); $.on(d, '4chanXInitFinished', Settings.open);
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "4chan X", "name": "4chan X",
"version": "1.2.18", "version": "1.2.19",
"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": {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* 4chan X - Version 1.2.18 - 2013-06-27 * 4chan X - Version 1.2.19 - 2013-07-14
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -113,6 +113,7 @@
'Thread Expansion': [true, 'Add buttons to expand threads.'], 'Thread Expansion': [true, 'Add buttons to expand threads.'],
'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'],
'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
'Emoji': [false, 'Adds icons next to names for different emails'], 'Emoji': [false, 'Adds icons next to names for different emails'],
'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'], 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'], 'Remove Spoilers': [false, 'Remove all spoilers in text.'],
@ -299,7 +300,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.2.18', VERSION: '1.2.19',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {}, boards: {},
threads: {}, threads: {},
@ -7935,7 +7936,7 @@
'http': false, 'http': false,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'v', 'vg', 'vp', 'vr', 'wsg'], 'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vg', 'vp', 'vr', 'wsg'],
'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg'] 'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg']
}, },
'NSFW Foolz': { 'NSFW Foolz': {
@ -7969,21 +7970,13 @@
'boards': ['c', 'w', 'wg'], 'boards': ['c', 'w', 'wg'],
'files': ['c', 'w', 'wg'] 'files': ['c', 'w', 'wg']
}, },
'Love is Over': {
'domain': 'loveisover.me',
'http': true,
'https': true,
'software': 'foolfuuka',
'boards': ['d', 'h', 'v'],
'files': ['d', 'h', 'v']
},
'Foolz a Shit': { 'Foolz a Shit': {
'domain': 'archive.foolzashit.com', 'domain': 'archive.foolzashit.com',
'http': true, 'http': true,
'https': true, 'https': true,
'software': 'foolfuuka', 'software': 'foolfuuka',
'boards': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 'pol', 's', 's4s', 't', 'trv', 'y'], 'boards': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv'],
'files': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 's', 's4s', 't', 'trv', 'y'] 'files': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv']
}, },
'Install Gentoo': { 'Install Gentoo': {
'domain': 'archive.installgentoo.net', 'domain': 'archive.installgentoo.net',
@ -8007,14 +8000,6 @@
'software': 'fuuka', 'software': 'fuuka',
'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'], 'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'],
'files': ['an', 'k', 'toy'] 'files': ['an', 'k', 'toy']
},
'warosu': {
'domain': 'fuuka.warosu.org',
'http': true,
'https': true,
'software': 'fuuka',
'boards': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr'],
'files': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr']
} }
}, },
to: function(dest, data) { to: function(dest, data) {
@ -9507,7 +9492,9 @@
el = $.el('span', { el = $.el('span', {
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>." innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
}); });
new Notification('info', el, 30); if (Conf['Show Updated Notifications']) {
new Notification('info', el, 30);
}
} else { } else {
$.on(d, '4chanXInitFinished', Settings.open); $.on(d, '4chanXInitFinished', Settings.open);
} }

View File

@ -1 +1 @@
postMessage({version:'1.2.18'},'*') postMessage({version:'1.2.19'},'*')

View File

@ -1,6 +1,6 @@
{ {
"name": "4chan-X", "name": "4chan-X",
"version": "1.2.18", "version": "1.2.19",
"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",

View File

@ -29,7 +29,7 @@ Redirect =
'http': false 'http': false
'https': true 'https': true
'software': 'foolfuuka' 'software': 'foolfuuka'
'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'v', 'vg', 'vp', 'vr', 'wsg'] 'boards': ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vg', 'vp', 'vr', 'wsg']
'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg'] 'files': ['a', 'gd', 'jp', 'm', 'q', 'tg', 'vg', 'vp', 'vr', 'wsg']
'NSFW Foolz': 'NSFW Foolz':
@ -63,21 +63,13 @@ Redirect =
'boards': ['c', 'w', 'wg'] 'boards': ['c', 'w', 'wg']
'files': ['c', 'w', 'wg'] 'files': ['c', 'w', 'wg']
'Love is Over':
'domain': 'loveisover.me'
'http': true
'https': true
'software': 'foolfuuka'
'boards': ['d', 'h', 'v']
'files': ['d', 'h', 'v']
'Foolz a Shit': 'Foolz a Shit':
'domain': 'archive.foolzashit.com' 'domain': 'archive.foolzashit.com'
'http': true 'http': true
'https': true 'https': true
'software': 'foolfuuka' 'software': 'foolfuuka'
'boards': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 'pol', 's', 's4s', 't', 'trv', 'y'] 'boards': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv']
'files': ['adv', 'asp', 'cm', 'e', 'i', 'lgbt', 'n', 'o', 'p', 's', 's4s', 't', 'trv', 'y'] 'files': ['adv', 'asp', 'cm', 'i', 'lgbt', 'n', 'o', 'p', 's4s', 't', 'trv']
'Install Gentoo': 'Install Gentoo':
'domain': 'archive.installgentoo.net' 'domain': 'archive.installgentoo.net'
@ -102,14 +94,6 @@ Redirect =
'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy'] 'boards': ['an', 'fit', 'k', 'mlp', 'r9k', 'toy']
'files': ['an', 'k', 'toy'] 'files': ['an', 'k', 'toy']
'warosu':
'domain': 'fuuka.warosu.org'
'http': true
'https': true
'software': 'fuuka'
'boards': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr']
'files': ['3', 'cgl', 'ck', 'fa', 'ic', 'jp', 'lit', 'q', 'tg', 'vr']
to: (dest, data) -> to: (dest, data) ->
archive = (if dest is 'search' then Redirect.thread else Redirect[dest])[data.boardID] archive = (if dest is 'search' then Redirect.thread else Redirect[dest])[data.boardID]
return '' unless archive return '' unless archive

View File

@ -59,6 +59,10 @@ Config =
'Check for updated versions of <%= meta.name %>.' 'Check for updated versions of <%= meta.name %>.'
] ]
<% } %> <% } %>
'Show Updated Notifications': [
true
'Show notifications when 4chan X is successfully updated.'
]
'Emoji': [ 'Emoji': [
false false
'Adds icons next to names for different emails' 'Adds icons next to names for different emails'

View File

@ -16,7 +16,8 @@ Settings =
changelog = '<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md' changelog = '<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md'
el = $.el 'span', el = $.el 'span',
innerHTML: "<%= meta.name %> has been updated to <a href='#{changelog}' target=_blank>version #{g.VERSION}</a>." innerHTML: "<%= meta.name %> has been updated to <a href='#{changelog}' target=_blank>version #{g.VERSION}</a>."
new Notification 'info', el, 30 if Conf['Show Updated Notifications']
new Notification 'info', el, 30
else else
$.on d, '4chanXInitFinished', Settings.open $.on d, '4chanXInitFinished', Settings.open
$.set $.set