diff --git a/CHANGELOG.md b/CHANGELOG.md index 616540ae5..c45c1a2b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.14.19 +**v1.14.19.1** *(2020-05-19)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.1/builds/4chan-X-noupdate.crx)] +- Add link on recently-departed Samachan to proposed move to SushiChan. + **v1.14.19.0** *(2020-05-12)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.0/builds/4chan-X-noupdate.crx)] - Based on v1.14.18.1. - Fix issue where shift-click on Quick Reply submit to bypass warning did not use captcha when posting. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 1ee7e7fff..ab9e8bc4c 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index 50c56eb9b..f6b424796 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.19.0 +// @version 1.14.19.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index c551a9656..d3827c8ee 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.19.0 +// @version 1.14.19.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -218,7 +218,7 @@ docSet = function() { }; g = { - VERSION: '1.14.19.0', + VERSION: '1.14.19.1', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -19846,6 +19846,20 @@ PSA = (function() { return $.onExists(doc, '.boardBanner', function(banner) { return $.after(banner, el); }); + }, + site: function() { + if (location.hostname === 'samachan.org') { + return $.onExists(doc, '.navbar', function(navbar) { + var link; + link = $.el('a', { + href: 'https://sushigirl.us/yakuza/res/776.html', + target: '_blank', + rel: 'noopener', + textContent: 'Looking for a new home? Some users are regrouping on SushiChan. (a message from 4chan X)' + }); + return $.add(navbar, [$.el('br'), link]); + }); + } } }; @@ -27490,6 +27504,9 @@ Main = (function() { val = Conf[key]; Conf[key] = (ref4 = items[key]) != null ? ref4 : val; } + try { + PSA.site(); + } catch (error1) {} return Site.init(Main.initFeatures); }); }); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index aa60c9a0b..89f1ba548 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index f062b6958..2e136557e 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.19.0 +// @version 1.14.19.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -218,7 +218,7 @@ docSet = function() { }; g = { - VERSION: '1.14.19.0', + VERSION: '1.14.19.1', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -19846,6 +19846,20 @@ PSA = (function() { return $.onExists(doc, '.boardBanner', function(banner) { return $.after(banner, el); }); + }, + site: function() { + if (location.hostname === 'samachan.org') { + return $.onExists(doc, '.navbar', function(navbar) { + var link; + link = $.el('a', { + href: 'https://sushigirl.us/yakuza/res/776.html', + target: '_blank', + rel: 'noopener', + textContent: 'Looking for a new home? Some users are regrouping on SushiChan. (a message from 4chan X)' + }); + return $.add(navbar, [$.el('br'), link]); + }); + } } }; @@ -27490,6 +27504,9 @@ Main = (function() { val = Conf[key]; Conf[key] = (ref4 = items[key]) != null ? ref4 : val; } + try { + PSA.site(); + } catch (error1) {} return Site.init(Main.initFeatures); }); }); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index aed2a8bf8..940e4423d 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 6a2beec6a..77ed061f4 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.19.0 +// @version 1.14.19.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a9a731af8..a47bff21e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.19.0 +// @version 1.14.19.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -218,7 +218,7 @@ docSet = function() { }; g = { - VERSION: '1.14.19.0', + VERSION: '1.14.19.1', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -19846,6 +19846,20 @@ PSA = (function() { return $.onExists(doc, '.boardBanner', function(banner) { return $.after(banner, el); }); + }, + site: function() { + if (location.hostname === 'samachan.org') { + return $.onExists(doc, '.navbar', function(navbar) { + var link; + link = $.el('a', { + href: 'https://sushigirl.us/yakuza/res/776.html', + target: '_blank', + rel: 'noopener', + textContent: 'Looking for a new home? Some users are regrouping on SushiChan. (a message from 4chan X)' + }); + return $.add(navbar, [$.el('br'), link]); + }); + } } }; @@ -27490,6 +27504,9 @@ Main = (function() { val = Conf[key]; Conf[key] = (ref4 = items[key]) != null ? ref4 : val; } + try { + PSA.site(); + } catch (error1) {} return Site.init(Main.initFeatures); }); }); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index e24a5307f..c20d4c106 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index a7b4d1811..54257193b 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.19.0", + "version": "1.14.19.1", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index a6b8a2ead..e14b6c739 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index afe2b540a..9d8a2cacd 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.19.0", + "version": "1.14.19.1", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index 67221f32b..526051463 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 4ce76ca4b..126de9426 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.14.19.0", - "date": "2020-05-12T14:56:12.604Z" + "version": "1.14.19.1", + "date": "2020-05-19T09:56:08.218Z" } \ No newline at end of file