diff --git a/CHANGELOG.md b/CHANGELOG.md index bba4a6e5a..5981854f7 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda ### v1.10.7 +**v1.10.7.1** *(2015-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.1/builds/4chan-X-noupdate.crx "Chromium version")] +- Merge refresh button in navigation links with the time since last refresh, and make it navigate to the front page. + **v1.10.7.0** *(2015-03-29)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.0/builds/4chan-X-noupdate.crx "Chromium version")] - Based on v1.10.6.7. - Fix excessive loading of thumbnails in index. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 989a7af03..4e673bf55 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 e3b85be55..bba8a34d3 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.10.7.0 +// @version 1.10.7.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 7732135db..fc900399e 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X beta -// @version 1.10.7.0 +// @version 1.10.7.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -395,7 +395,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.7.0', + VERSION: '1.10.7.1', NAMESPACE: '4chan X.', boards: {} }; @@ -3095,7 +3095,7 @@ className: 'navLinks' }); $.extend(this.navLinks, { - innerHTML: "Refresh Index Catalog Archive Bottom ×" + innerHTML: "Index Catalog Archive Bottom ×" }); $('.cataloglink a', this.navLinks).href = CatalogLinks.catalog(); if (g.BOARD.ID === 'b') { @@ -3111,7 +3111,7 @@ $.on(d, 'scroll', Index.scroll); $.on(this.pagelist, 'click', this.cb.pageNav); $.on(this.searchInput, 'input', this.onSearchInput); - $.on($('.refreshlink a', this.navLinks), 'click', this.update); + $.on($('#index-last-refresh a', this.navLinks), 'click', this.cb.refreshFront); $.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch); $.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads); $.on(this.selectMode, 'change', this.cb.mode); @@ -3375,6 +3375,10 @@ } e.preventDefault(); return Index.userPageNav(+a.pathname.split('/')[2] || 1); + }, + refreshFront: function() { + Index.userPageNav(1); + return Index.update(); } }, scrollToIndex: function() { diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index a241de59e..9f55bfa4a 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 5be2d4f7c..c88a6c1a7 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.10.7.0 +// @version 1.10.7.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -394,7 +394,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.7.0', + VERSION: '1.10.7.1', NAMESPACE: '4chan X.', boards: {} }; @@ -3094,7 +3094,7 @@ className: 'navLinks' }); $.extend(this.navLinks, { - innerHTML: "Refresh Index Catalog Archive Bottom ×" + innerHTML: "Index Catalog Archive Bottom ×" }); $('.cataloglink a', this.navLinks).href = CatalogLinks.catalog(); if (g.BOARD.ID === 'b') { @@ -3110,7 +3110,7 @@ $.on(d, 'scroll', Index.scroll); $.on(this.pagelist, 'click', this.cb.pageNav); $.on(this.searchInput, 'input', this.onSearchInput); - $.on($('.refreshlink a', this.navLinks), 'click', this.update); + $.on($('#index-last-refresh a', this.navLinks), 'click', this.cb.refreshFront); $.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch); $.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads); $.on(this.selectMode, 'change', this.cb.mode); @@ -3374,6 +3374,10 @@ } e.preventDefault(); return Index.userPageNav(+a.pathname.split('/')[2] || 1); + }, + refreshFront: function() { + Index.userPageNav(1); + return Index.update(); } }, scrollToIndex: function() { diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 0d8880b09..8039eaa89 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 c80076a03..94afd22ed 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.7.0 +// @version 1.10.7.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 189ae515f..8373f495e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.10.7.0 +// @version 1.10.7.1 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -395,7 +395,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.7.0', + VERSION: '1.10.7.1', NAMESPACE: '4chan X.', boards: {} }; @@ -3095,7 +3095,7 @@ className: 'navLinks' }); $.extend(this.navLinks, { - innerHTML: "Refresh Index Catalog Archive Bottom ×" + innerHTML: "Index Catalog Archive Bottom ×" }); $('.cataloglink a', this.navLinks).href = CatalogLinks.catalog(); if (g.BOARD.ID === 'b') { @@ -3111,7 +3111,7 @@ $.on(d, 'scroll', Index.scroll); $.on(this.pagelist, 'click', this.cb.pageNav); $.on(this.searchInput, 'input', this.onSearchInput); - $.on($('.refreshlink a', this.navLinks), 'click', this.update); + $.on($('#index-last-refresh a', this.navLinks), 'click', this.cb.refreshFront); $.on($('#index-search-clear', this.navLinks), 'click', this.clearSearch); $.on($('#hidden-toggle a', this.navLinks), 'click', this.cb.toggleHiddenThreads); $.on(this.selectMode, 'change', this.cb.mode); @@ -3375,6 +3375,10 @@ } e.preventDefault(); return Index.userPageNav(+a.pathname.split('/')[2] || 1); + }, + refreshFront: function() { + Index.userPageNav(1); + return Index.update(); } }, scrollToIndex: function() { diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index f5c23ff12..a83f05f76 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index c1274a8b0..b471a32c3 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 64244344e..c0154902b 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index dd60320ff..afdd187a5 100755 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.10.7.0", - "date": "2015-03-29T21:58:51.453Z", + "version": "1.10.7.1", + "date": "2015-03-31T09:55:54.743Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",