diff --git a/CHANGELOG.md b/CHANGELOG.md index ada06e9b4..163095c25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor ### v1.11.26 +**v1.11.26.2** *(2016-02-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.26.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.26.2/builds/4chan-X-noupdate.crx "Chromium version")] +- Bug fixes. +- Drop StrawPoll link titles for now. + **v1.11.26.1** *(2016-02-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.26.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.26.1/builds/4chan-X-noupdate.crx "Chromium version")] - Fix fullscreen in Dailymotion embeds. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 37742faa5..d3e28658d 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 5dc728cda..686efc08d 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.11.26.1 +// @version 1.11.26.2 // @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 ded256c66..5ff85240d 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.11.26.1 +// @version 1.11.26.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -162,7 +162,7 @@ }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], - 'Link Title': [true, 'Replace the link of a supported site with its actual title. Currently supported: YouTube, Vimeo, Dailymotion, SoundCloud, StrawPoll, and Github gists.', 1], + 'Link Title': [true, 'Replace the link of a supported site with its actual title.', 1], 'Embedding': [true, 'Embed supported services. Note: Some services don\'t work on HTTPS.', 1], 'Auto-embed': [false, 'Auto-embed Linkify Embeds.', 2], 'Floating Embeds': [false, 'Embed content in a frame that remains in place when the page is scrolled.', 2] @@ -439,7 +439,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.26.1', + VERSION: '1.11.26.2', NAMESPACE: '4chan X.', boards: {} }; @@ -10269,6 +10269,7 @@ if (Conf['Keybinds']) { $.off(d, 'keydown', Keybinds.keydown); } + $.on(window, 'resize', Gallery.cb.setHeight); ref2 = $$('.post .file'); for (q = 0, len2 = ref2.length; q < len2; q++) { file = ref2[q]; @@ -10569,12 +10570,13 @@ if (Conf['Keybinds']) { $.on(d, 'keydown', Keybinds.keydown); } + $.off(window, 'resize', Gallery.cb.setHeight); return clearTimeout(Gallery.timeoutID); }, setFitness: function() { return (this.checked ? $.addClass : $.rmClass)(doc, "gal-" + (this.name.toLowerCase().replace(/\s+/g, '-'))); }, - setHeight: function() { + setHeight: $.debounce(100, function() { var current, dim, frame, height, minHeight, ref, ref1, ref2, style, width; ref = Gallery.nodes, current = ref.current, frame = ref.frame; style = current.style; @@ -10586,7 +10588,7 @@ } else { return style.minHeight = style.minWidth = null; } - }, + }), setDelay: function() { return Gallery.delay = +this.value; } @@ -12274,14 +12276,6 @@ return $.el('iframe', { src: "//strawpoll.me/embed_1/" + a.dataset.uid }); - }, - title: { - api: function(uid) { - return "https://strawpoll.me/api/v2/polls/" + uid; - }, - text: function(_) { - return _.title; - } } }, { key: 'TwitchTV', diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 2fa0f6a34..84c65b7e9 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 59415f62b..3b7cec091 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.11.26.1 +// @version 1.11.26.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -162,7 +162,7 @@ }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], - 'Link Title': [true, 'Replace the link of a supported site with its actual title. Currently supported: YouTube, Vimeo, Dailymotion, SoundCloud, StrawPoll, and Github gists.', 1], + 'Link Title': [true, 'Replace the link of a supported site with its actual title.', 1], 'Embedding': [true, 'Embed supported services. Note: Some services don\'t work on HTTPS.', 1], 'Auto-embed': [false, 'Auto-embed Linkify Embeds.', 2], 'Floating Embeds': [false, 'Embed content in a frame that remains in place when the page is scrolled.', 2] @@ -439,7 +439,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.26.1', + VERSION: '1.11.26.2', NAMESPACE: '4chan X.', boards: {} }; @@ -10269,6 +10269,7 @@ if (Conf['Keybinds']) { $.off(d, 'keydown', Keybinds.keydown); } + $.on(window, 'resize', Gallery.cb.setHeight); ref2 = $$('.post .file'); for (q = 0, len2 = ref2.length; q < len2; q++) { file = ref2[q]; @@ -10569,12 +10570,13 @@ if (Conf['Keybinds']) { $.on(d, 'keydown', Keybinds.keydown); } + $.off(window, 'resize', Gallery.cb.setHeight); return clearTimeout(Gallery.timeoutID); }, setFitness: function() { return (this.checked ? $.addClass : $.rmClass)(doc, "gal-" + (this.name.toLowerCase().replace(/\s+/g, '-'))); }, - setHeight: function() { + setHeight: $.debounce(100, function() { var current, dim, frame, height, minHeight, ref, ref1, ref2, style, width; ref = Gallery.nodes, current = ref.current, frame = ref.frame; style = current.style; @@ -10586,7 +10588,7 @@ } else { return style.minHeight = style.minWidth = null; } - }, + }), setDelay: function() { return Gallery.delay = +this.value; } @@ -12274,14 +12276,6 @@ return $.el('iframe', { src: "//strawpoll.me/embed_1/" + a.dataset.uid }); - }, - title: { - api: function(uid) { - return "https://strawpoll.me/api/v2/polls/" + uid; - }, - text: function(_) { - return _.title; - } } }, { key: 'TwitchTV', diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index f64cea46c..62993dc78 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 60290c899..65ce71126 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.26.1 +// @version 1.11.26.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index d89128ec3..0e694301e 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.11.26.1 +// @version 1.11.26.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -162,7 +162,7 @@ }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], - 'Link Title': [true, 'Replace the link of a supported site with its actual title. Currently supported: YouTube, Vimeo, Dailymotion, SoundCloud, StrawPoll, and Github gists.', 1], + 'Link Title': [true, 'Replace the link of a supported site with its actual title.', 1], 'Embedding': [true, 'Embed supported services. Note: Some services don\'t work on HTTPS.', 1], 'Auto-embed': [false, 'Auto-embed Linkify Embeds.', 2], 'Floating Embeds': [false, 'Embed content in a frame that remains in place when the page is scrolled.', 2] @@ -439,7 +439,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.26.1', + VERSION: '1.11.26.2', NAMESPACE: '4chan X.', boards: {} }; @@ -10269,6 +10269,7 @@ if (Conf['Keybinds']) { $.off(d, 'keydown', Keybinds.keydown); } + $.on(window, 'resize', Gallery.cb.setHeight); ref2 = $$('.post .file'); for (q = 0, len2 = ref2.length; q < len2; q++) { file = ref2[q]; @@ -10569,12 +10570,13 @@ if (Conf['Keybinds']) { $.on(d, 'keydown', Keybinds.keydown); } + $.off(window, 'resize', Gallery.cb.setHeight); return clearTimeout(Gallery.timeoutID); }, setFitness: function() { return (this.checked ? $.addClass : $.rmClass)(doc, "gal-" + (this.name.toLowerCase().replace(/\s+/g, '-'))); }, - setHeight: function() { + setHeight: $.debounce(100, function() { var current, dim, frame, height, minHeight, ref, ref1, ref2, style, width; ref = Gallery.nodes, current = ref.current, frame = ref.frame; style = current.style; @@ -10586,7 +10588,7 @@ } else { return style.minHeight = style.minWidth = null; } - }, + }), setDelay: function() { return Gallery.delay = +this.value; } @@ -12274,14 +12276,6 @@ return $.el('iframe', { src: "//strawpoll.me/embed_1/" + a.dataset.uid }); - }, - title: { - api: function(uid) { - return "https://strawpoll.me/api/v2/polls/" + uid; - }, - text: function(_) { - return _.title; - } } }, { key: 'TwitchTV', diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 121252143..d271ef231 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 219f3e11a..8d84c161c 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 02e09cd88..d8cb9e2d0 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index af3adb61a..3f6509c3a 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.11.26.1", - "date": "2016-02-14T23:56:53.806Z" + "version": "1.11.26.2", + "date": "2016-02-16T04:47:36.813Z" }