Release 4chan X v1.11.17.0.
This commit is contained in:
parent
acd4eef587
commit
2eb6044cef
@ -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")]
|
||||
|
||||
Binary file not shown.
@ -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
|
||||
|
||||
@ -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,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(51,51,51)' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>\");\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]]
|
||||
};
|
||||
|
||||
Binary file not shown.
@ -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,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(51,51,51)' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>\");\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]]
|
||||
};
|
||||
|
||||
Binary file not shown.
@ -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
|
||||
|
||||
@ -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,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(51,51,51)' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>\");\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]]
|
||||
};
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.16.7' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.17.0' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.16.7' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.17.0' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user