diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b1166496..d8dcd058a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0).
+### v1.11.17
+
+**v1.11.17.0** *(2015-11-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.0/builds/4chan-X-noupdate.crx "Chromium version")]
+- Based on v1.11.16.7.
+- Experimental Maxthon support.
+- `Persistent QR` is now off by default in new installs.
+- `Color User IDs`, `Fappe Tyme`, `Werk Tyme`, `Highlight Posts Quoting You`, and `Highlight Own Posts` are now on by default in new installs.
+
### v1.11.16
**v1.11.16.7** *(2015-11-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.7/builds/4chan-X-noupdate.crx "Chromium version")]
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 1e3191e25..413e59a94 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 1bf60e54e..46963b185 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.16.7
+// @version 1.11.17.0
// @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 af5717277..9462532cb 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.16.7
+// @version 1.11.17.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -148,7 +148,7 @@
'Custom Board Titles': [true, 'Allow editing of the board title and subtitle by ctrl/\u2318+clicking them.'],
'Persistent Custom Board Titles': [false, 'Force custom board titles to be persistent, even if the board titles are updated.', 1],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
- 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
+ 'Color User IDs': [true, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'],
'Reveal Spoilers': [false, 'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'],
'Show Support Message': [true, 'Warn if your browser or configuration is unsupported and may cause 4chan X to not operate correctly.'],
@@ -189,8 +189,8 @@
'Replace PNG': [false, 'Replace png thumbnails with the actual image.'],
'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'],
'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'],
- 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
- 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'],
+ 'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
+ 'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
'Show Controls': [true, 'Show controls on videos expanded inline.'],
@@ -231,7 +231,7 @@
'Posting and Captchas': {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'QR Shortcut': [true, 'Add a shortcut to the header to toggle the QR.', 1],
- 'Persistent QR': [true, 'The Quick reply won\'t disappear after posting.', 1],
+ 'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
@@ -261,8 +261,8 @@
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
- 'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.', 1],
- 'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
+ 'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
+ 'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
'Quote Threading': [false, 'Thread conversations']
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.16.7',
+ VERSION: '1.11.17.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -544,6 +544,9 @@
};
return function(url, options, extra) {
var err, form, r, ref, type, upCallbacks, whenModified;
+ if (options == null) {
+ options = {};
+ }
if (extra == null) {
extra = {};
}
@@ -569,9 +572,20 @@
});
}
if (/\.json$/.test(url)) {
- r.responseType = 'json';
+ if (options.responseType == null) {
+ options.responseType = 'json';
+ }
}
$.extend(r, options);
+ if (options.responseType === 'json' && r.responseType !== 'json' && delete r.response) {
+ Object.defineProperty(r, 'response', {
+ configurable: true,
+ enumerable: true,
+ get: function() {
+ return JSON.parse(r.responseText);
+ }
+ });
+ }
$.extend(r.upload, upCallbacks);
r.send(form);
return r;
@@ -17011,7 +17025,7 @@
}
},
upgrade: function(data, version) {
- var boardID, changes, compareString, name, record, ref, ref1, ref2, rice, type, uids;
+ var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, rice, type, uids;
changes = {};
compareString = version.replace(/\d+/g, function(x) {
return ('0000' + x).slice(-5);
@@ -17059,6 +17073,15 @@
}
}
}
+ if (compareString < '00001.00011.00017.00000') {
+ ref3 = ['Persistent QR', 'Color User IDs', 'Fappe Tyme', 'Werk Tyme', 'Highlight Posts Quoting You', 'Highlight Own Posts'];
+ for (k = 0, len1 = ref3.length; k < len1; k++) {
+ key = ref3[k];
+ if (data[key] == null) {
+ changes[key] = key === 'Persistent QR';
+ }
+ }
+ }
return changes;
},
loadSettings: function(data, cb) {
@@ -19412,15 +19435,6 @@
" text-decoration: none;\n" +
" border-bottom: 1px dashed;\n" +
"}\n" +
-"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
-" .quotelink.forwardlink,\n" +
-" .backlink.forwardlink {\n" +
-" text-decoration: underline;\n" +
-" -moz-text-decoration-style: dashed;\n" +
-" text-decoration-style: dashed;\n" +
-" border-bottom: none;\n" +
-" }\n" +
-"}\n" +
".filtered {\n" +
" text-decoration: underline line-through;\n" +
"}\n" +
@@ -21020,6 +21034,16 @@
":root.photon .watch-thread-link\n" +
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
+"}\n" +
+"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
+"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
+" .quotelink.forwardlink,\n" +
+" .backlink.forwardlink {\n" +
+" text-decoration: underline;\n" +
+" -moz-text-decoration-style: dashed;\n" +
+" text-decoration-style: dashed;\n" +
+" border-bottom: none;\n" +
+" }\n" +
"}",
features: [['Polyfill', Polyfill], ['Normalize URL', NormalizeURL], ['Captcha Replacement', Captcha.replace], ['Redirect', Redirect], ['Header', Header], ['Catalog Links', CatalogLinks], ['Settings', Settings], ['Index Generator', Index], ['Disable Autoplay', AntiAutoplay], ['Announcement Hiding', PSAHiding], ['Fourchan thingies', Fourchan], ['Color User IDs', IDColor], ['Highlight by User ID', IDHighlight], ['Custom CSS', CustomCSS], ['Thread Links', ThreadLinks], ['Linkify', Linkify], ['Reveal Spoilers', RemoveSpoilers], ['Resurrect Quotes', Quotify], ['Filter', Filter], ['Thread Hiding Buttons', ThreadHiding], ['Reply Hiding Buttons', PostHiding], ['Recursive', Recursive], ['Strike-through Quotes', QuoteStrikeThrough], ['Quick Reply', QR], ['Cooldown', QR.cooldown], ['Oekaki Links', QR.oekaki], ['Pass Link', PassLink], ['Menu', Menu], ['Index Generator (Menu)', Index.menu], ['Report Link', ReportLink], ['Thread Hiding (Menu)', ThreadHiding.menu], ['Reply Hiding (Menu)', PostHiding.menu], ['Delete Link', DeleteLink], ['Filter (Menu)', Filter.menu], ['Download Link', DownloadLink], ['Archive Link', ArchiveLink], ['Quote Inlining', QuoteInline], ['Quote Previewing', QuotePreview], ['Quote Backlinks', QuoteBacklink], ['Mark Quotes of You', QuoteYou], ['Mark OP Quotes', QuoteOP], ['Mark Cross-thread Quotes', QuoteCT], ['Anonymize', Anonymize], ['Time Formatting', Time], ['Relative Post Dates', RelativeDates], ['File Info Formatting', FileInfo], ['Fappe Tyme', FappeTyme], ['Gallery', Gallery], ['Gallery (menu)', Gallery.menu], ['Sauce', Sauce], ['Image Expansion', ImageExpand], ['Image Expansion (Menu)', ImageExpand.menu], ['Reveal Spoiler Thumbnails', RevealSpoilers], ['Image Loading', ImageLoader], ['Image Hover', ImageHover], ['Volume Control', Volume], ['WEBM Metadata', Metadata], ['Comment Expansion', ExpandComment], ['Thread Expansion', ExpandThread], ['Thread Excerpt', ThreadExcerpt], ['Favicon', Favicon], ['Unread', Unread], ['Quote Threading', QuoteThreading], ['Thread Stats', ThreadStats], ['Thread Updater', ThreadUpdater], ['Thread Watcher', ThreadWatcher], ['Thread Watcher (Menu)', ThreadWatcher.menu], ['Mark New IPs', MarkNewIPs], ['Index Navigation', Nav], ['Keybinds', Keybinds], ['Banner', Banner], ['Flash Features', Flash]]
};
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 380ee2c86..edbd1768f 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 cc4d8094b..b8604e0a6 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.16.7
+// @version 1.11.17.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -148,7 +148,7 @@
'Custom Board Titles': [true, 'Allow editing of the board title and subtitle by ctrl/\u2318+clicking them.'],
'Persistent Custom Board Titles': [false, 'Force custom board titles to be persistent, even if the board titles are updated.', 1],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
- 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
+ 'Color User IDs': [true, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'],
'Reveal Spoilers': [false, 'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'],
'Show Support Message': [true, 'Warn if your browser or configuration is unsupported and may cause 4chan X to not operate correctly.'],
@@ -189,8 +189,8 @@
'Replace PNG': [false, 'Replace png thumbnails with the actual image.'],
'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'],
'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'],
- 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
- 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'],
+ 'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
+ 'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
'Show Controls': [true, 'Show controls on videos expanded inline.'],
@@ -231,7 +231,7 @@
'Posting and Captchas': {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'QR Shortcut': [true, 'Add a shortcut to the header to toggle the QR.', 1],
- 'Persistent QR': [true, 'The Quick reply won\'t disappear after posting.', 1],
+ 'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
@@ -261,8 +261,8 @@
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
- 'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.', 1],
- 'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
+ 'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
+ 'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
'Quote Threading': [false, 'Thread conversations']
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.16.7',
+ VERSION: '1.11.17.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -544,6 +544,9 @@
};
return function(url, options, extra) {
var err, form, r, ref, type, upCallbacks, whenModified;
+ if (options == null) {
+ options = {};
+ }
if (extra == null) {
extra = {};
}
@@ -569,9 +572,20 @@
});
}
if (/\.json$/.test(url)) {
- r.responseType = 'json';
+ if (options.responseType == null) {
+ options.responseType = 'json';
+ }
}
$.extend(r, options);
+ if (options.responseType === 'json' && r.responseType !== 'json' && delete r.response) {
+ Object.defineProperty(r, 'response', {
+ configurable: true,
+ enumerable: true,
+ get: function() {
+ return JSON.parse(r.responseText);
+ }
+ });
+ }
$.extend(r.upload, upCallbacks);
r.send(form);
return r;
@@ -17011,7 +17025,7 @@
}
},
upgrade: function(data, version) {
- var boardID, changes, compareString, name, record, ref, ref1, ref2, rice, type, uids;
+ var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, rice, type, uids;
changes = {};
compareString = version.replace(/\d+/g, function(x) {
return ('0000' + x).slice(-5);
@@ -17059,6 +17073,15 @@
}
}
}
+ if (compareString < '00001.00011.00017.00000') {
+ ref3 = ['Persistent QR', 'Color User IDs', 'Fappe Tyme', 'Werk Tyme', 'Highlight Posts Quoting You', 'Highlight Own Posts'];
+ for (k = 0, len1 = ref3.length; k < len1; k++) {
+ key = ref3[k];
+ if (data[key] == null) {
+ changes[key] = key === 'Persistent QR';
+ }
+ }
+ }
return changes;
},
loadSettings: function(data, cb) {
@@ -19412,15 +19435,6 @@
" text-decoration: none;\n" +
" border-bottom: 1px dashed;\n" +
"}\n" +
-"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
-" .quotelink.forwardlink,\n" +
-" .backlink.forwardlink {\n" +
-" text-decoration: underline;\n" +
-" -moz-text-decoration-style: dashed;\n" +
-" text-decoration-style: dashed;\n" +
-" border-bottom: none;\n" +
-" }\n" +
-"}\n" +
".filtered {\n" +
" text-decoration: underline line-through;\n" +
"}\n" +
@@ -21020,6 +21034,16 @@
":root.photon .watch-thread-link\n" +
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
+"}\n" +
+"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
+"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
+" .quotelink.forwardlink,\n" +
+" .backlink.forwardlink {\n" +
+" text-decoration: underline;\n" +
+" -moz-text-decoration-style: dashed;\n" +
+" text-decoration-style: dashed;\n" +
+" border-bottom: none;\n" +
+" }\n" +
"}",
features: [['Polyfill', Polyfill], ['Normalize URL', NormalizeURL], ['Captcha Replacement', Captcha.replace], ['Redirect', Redirect], ['Header', Header], ['Catalog Links', CatalogLinks], ['Settings', Settings], ['Index Generator', Index], ['Disable Autoplay', AntiAutoplay], ['Announcement Hiding', PSAHiding], ['Fourchan thingies', Fourchan], ['Color User IDs', IDColor], ['Highlight by User ID', IDHighlight], ['Custom CSS', CustomCSS], ['Thread Links', ThreadLinks], ['Linkify', Linkify], ['Reveal Spoilers', RemoveSpoilers], ['Resurrect Quotes', Quotify], ['Filter', Filter], ['Thread Hiding Buttons', ThreadHiding], ['Reply Hiding Buttons', PostHiding], ['Recursive', Recursive], ['Strike-through Quotes', QuoteStrikeThrough], ['Quick Reply', QR], ['Cooldown', QR.cooldown], ['Oekaki Links', QR.oekaki], ['Pass Link', PassLink], ['Menu', Menu], ['Index Generator (Menu)', Index.menu], ['Report Link', ReportLink], ['Thread Hiding (Menu)', ThreadHiding.menu], ['Reply Hiding (Menu)', PostHiding.menu], ['Delete Link', DeleteLink], ['Filter (Menu)', Filter.menu], ['Download Link', DownloadLink], ['Archive Link', ArchiveLink], ['Quote Inlining', QuoteInline], ['Quote Previewing', QuotePreview], ['Quote Backlinks', QuoteBacklink], ['Mark Quotes of You', QuoteYou], ['Mark OP Quotes', QuoteOP], ['Mark Cross-thread Quotes', QuoteCT], ['Anonymize', Anonymize], ['Time Formatting', Time], ['Relative Post Dates', RelativeDates], ['File Info Formatting', FileInfo], ['Fappe Tyme', FappeTyme], ['Gallery', Gallery], ['Gallery (menu)', Gallery.menu], ['Sauce', Sauce], ['Image Expansion', ImageExpand], ['Image Expansion (Menu)', ImageExpand.menu], ['Reveal Spoiler Thumbnails', RevealSpoilers], ['Image Loading', ImageLoader], ['Image Hover', ImageHover], ['Volume Control', Volume], ['WEBM Metadata', Metadata], ['Comment Expansion', ExpandComment], ['Thread Expansion', ExpandThread], ['Thread Excerpt', ThreadExcerpt], ['Favicon', Favicon], ['Unread', Unread], ['Quote Threading', QuoteThreading], ['Thread Stats', ThreadStats], ['Thread Updater', ThreadUpdater], ['Thread Watcher', ThreadWatcher], ['Thread Watcher (Menu)', ThreadWatcher.menu], ['Mark New IPs', MarkNewIPs], ['Index Navigation', Nav], ['Keybinds', Keybinds], ['Banner', Banner], ['Flash Features', Flash]]
};
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 4def5bfb3..1db3e004e 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 aabeb7150..04005c1b7 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.16.7
+// @version 1.11.17.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index a3cafc88e..1f69f92b0 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.16.7
+// @version 1.11.17.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -148,7 +148,7 @@
'Custom Board Titles': [true, 'Allow editing of the board title and subtitle by ctrl/\u2318+clicking them.'],
'Persistent Custom Board Titles': [false, 'Force custom board titles to be persistent, even if the board titles are updated.', 1],
'Show Updated Notifications': [true, 'Show notifications when 4chan X is successfully updated.'],
- 'Color User IDs': [false, 'Assign unique colors to user IDs on boards that use them'],
+ 'Color User IDs': [true, 'Assign unique colors to user IDs on boards that use them'],
'Remove Spoilers': [false, 'Remove all spoilers in text.'],
'Reveal Spoilers': [false, 'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'],
'Show Support Message': [true, 'Warn if your browser or configuration is unsupported and may cause 4chan X to not operate correctly.'],
@@ -189,8 +189,8 @@
'Replace PNG': [false, 'Replace png thumbnails with the actual image.'],
'Replace WEBM': [false, 'Replace webm thumbnails with the actual webm video. Probably will degrade browser performance ;)'],
'Image Prefetching': [false, 'Add link in header menu to turn on image preloading.'],
- 'Fappe Tyme': [false, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
- 'Werk Tyme': [false, 'Hide all post images when header menu item is checked.'],
+ 'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
+ 'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
'Show Controls': [true, 'Show controls on videos expanded inline.'],
@@ -231,7 +231,7 @@
'Posting and Captchas': {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'QR Shortcut': [true, 'Add a shortcut to the header to toggle the QR.', 1],
- 'Persistent QR': [true, 'The Quick reply won\'t disappear after posting.', 1],
+ 'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
@@ -261,8 +261,8 @@
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
- 'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.', 1],
- 'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
+ 'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
+ 'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
'Quote Threading': [false, 'Thread conversations']
@@ -433,7 +433,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.16.7',
+ VERSION: '1.11.17.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -544,6 +544,9 @@
};
return function(url, options, extra) {
var err, form, r, ref, type, upCallbacks, whenModified;
+ if (options == null) {
+ options = {};
+ }
if (extra == null) {
extra = {};
}
@@ -569,9 +572,20 @@
});
}
if (/\.json$/.test(url)) {
- r.responseType = 'json';
+ if (options.responseType == null) {
+ options.responseType = 'json';
+ }
}
$.extend(r, options);
+ if (options.responseType === 'json' && r.responseType !== 'json' && delete r.response) {
+ Object.defineProperty(r, 'response', {
+ configurable: true,
+ enumerable: true,
+ get: function() {
+ return JSON.parse(r.responseText);
+ }
+ });
+ }
$.extend(r.upload, upCallbacks);
r.send(form);
return r;
@@ -17011,7 +17025,7 @@
}
},
upgrade: function(data, version) {
- var boardID, changes, compareString, name, record, ref, ref1, ref2, rice, type, uids;
+ var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, rice, type, uids;
changes = {};
compareString = version.replace(/\d+/g, function(x) {
return ('0000' + x).slice(-5);
@@ -17059,6 +17073,15 @@
}
}
}
+ if (compareString < '00001.00011.00017.00000') {
+ ref3 = ['Persistent QR', 'Color User IDs', 'Fappe Tyme', 'Werk Tyme', 'Highlight Posts Quoting You', 'Highlight Own Posts'];
+ for (k = 0, len1 = ref3.length; k < len1; k++) {
+ key = ref3[k];
+ if (data[key] == null) {
+ changes[key] = key === 'Persistent QR';
+ }
+ }
+ }
return changes;
},
loadSettings: function(data, cb) {
@@ -19412,15 +19435,6 @@
" text-decoration: none;\n" +
" border-bottom: 1px dashed;\n" +
"}\n" +
-"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
-" .quotelink.forwardlink,\n" +
-" .backlink.forwardlink {\n" +
-" text-decoration: underline;\n" +
-" -moz-text-decoration-style: dashed;\n" +
-" text-decoration-style: dashed;\n" +
-" border-bottom: none;\n" +
-" }\n" +
-"}\n" +
".filtered {\n" +
" text-decoration: underline line-through;\n" +
"}\n" +
@@ -21020,6 +21034,16 @@
":root.photon .watch-thread-link\n" +
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
+"}\n" +
+"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
+"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
+" .quotelink.forwardlink,\n" +
+" .backlink.forwardlink {\n" +
+" text-decoration: underline;\n" +
+" -moz-text-decoration-style: dashed;\n" +
+" text-decoration-style: dashed;\n" +
+" border-bottom: none;\n" +
+" }\n" +
"}",
features: [['Polyfill', Polyfill], ['Normalize URL', NormalizeURL], ['Captcha Replacement', Captcha.replace], ['Redirect', Redirect], ['Header', Header], ['Catalog Links', CatalogLinks], ['Settings', Settings], ['Index Generator', Index], ['Disable Autoplay', AntiAutoplay], ['Announcement Hiding', PSAHiding], ['Fourchan thingies', Fourchan], ['Color User IDs', IDColor], ['Highlight by User ID', IDHighlight], ['Custom CSS', CustomCSS], ['Thread Links', ThreadLinks], ['Linkify', Linkify], ['Reveal Spoilers', RemoveSpoilers], ['Resurrect Quotes', Quotify], ['Filter', Filter], ['Thread Hiding Buttons', ThreadHiding], ['Reply Hiding Buttons', PostHiding], ['Recursive', Recursive], ['Strike-through Quotes', QuoteStrikeThrough], ['Quick Reply', QR], ['Cooldown', QR.cooldown], ['Oekaki Links', QR.oekaki], ['Pass Link', PassLink], ['Menu', Menu], ['Index Generator (Menu)', Index.menu], ['Report Link', ReportLink], ['Thread Hiding (Menu)', ThreadHiding.menu], ['Reply Hiding (Menu)', PostHiding.menu], ['Delete Link', DeleteLink], ['Filter (Menu)', Filter.menu], ['Download Link', DownloadLink], ['Archive Link', ArchiveLink], ['Quote Inlining', QuoteInline], ['Quote Previewing', QuotePreview], ['Quote Backlinks', QuoteBacklink], ['Mark Quotes of You', QuoteYou], ['Mark OP Quotes', QuoteOP], ['Mark Cross-thread Quotes', QuoteCT], ['Anonymize', Anonymize], ['Time Formatting', Time], ['Relative Post Dates', RelativeDates], ['File Info Formatting', FileInfo], ['Fappe Tyme', FappeTyme], ['Gallery', Gallery], ['Gallery (menu)', Gallery.menu], ['Sauce', Sauce], ['Image Expansion', ImageExpand], ['Image Expansion (Menu)', ImageExpand.menu], ['Reveal Spoiler Thumbnails', RevealSpoilers], ['Image Loading', ImageLoader], ['Image Hover', ImageHover], ['Volume Control', Volume], ['WEBM Metadata', Metadata], ['Comment Expansion', ExpandComment], ['Thread Expansion', ExpandThread], ['Thread Excerpt', ThreadExcerpt], ['Favicon', Favicon], ['Unread', Unread], ['Quote Threading', QuoteThreading], ['Thread Stats', ThreadStats], ['Thread Updater', ThreadUpdater], ['Thread Watcher', ThreadWatcher], ['Thread Watcher (Menu)', ThreadWatcher.menu], ['Mark New IPs', MarkNewIPs], ['Index Navigation', Nav], ['Keybinds', Keybinds], ['Banner', Banner], ['Flash Features', Flash]]
};
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 0be5a898c..a3cac77ff 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 56a0dda97..dd55af2fe 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 45c4a2ef5..7c0c0f56b 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 70c4a0c68..9b2941f54 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.11.16.7",
- "date": "2015-11-16T04:09:30.139Z"
+ "version": "1.11.17.0",
+ "date": "2015-11-16T05:42:19.946Z"
}