diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34b68534c..c39d350cb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+**ccd0**:
+- Support expansion of .webm videos.
+- Update archives with data from MayhemYDG fork.
+
### v2.9.11
*2014-04-03*
diff --git a/Gruntfile.coffee b/Gruntfile.coffee
index 464cd9434..cc725392f 100755
--- a/Gruntfile.coffee
+++ b/Gruntfile.coffee
@@ -50,7 +50,6 @@ module.exports = (grunt) ->
crx:
files:
'builds/crx/manifest.json': 'src/General/meta/manifest.json'
- 'builds/updates.xml': 'src/General/meta/updates.xml'
'builds/crx/script.js': [
'src/General/meta/botproc.js'
'src/General/meta/banner.js'
diff --git a/LICENSE b/LICENSE
index 4d40e53ac..42e0d92f1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,5 @@
/*
-* appchan x - Version 2.9.11 - 2014-04-03
+* appchan x - Version 2.9.11 - 2014-04-04
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index 524f9a534..dad0b6be8 100755
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.4.5
+// @version 1.5.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -17,7 +17,7 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
-// @updateURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.meta.js
-// @downloadURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.user.js
+// @updateURL https://ccd0.github.io/4chan-x/builds/4chan-X.meta.js
+// @downloadURL https://ccd0.github.io/4chan-x/builds/4chan-X.user.js
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAF5JREFUeNrtkTESABAQxPD/R6tsE2dUGYUtFJvLDKf93KevHJAjpBorAQWSBIKqFASC4G0pCAkm4GfaEvgYXl0T6HBaE97f0vmnfYHbZOMLZCx9ISdKWwjOWZSC8GYm4SUGwfYgqI4AAAAASUVORK5CYII=
// ==/UserScript==
diff --git a/builds/appchan-x.meta.js b/builds/appchan-x.meta.js
index 1318c264d..831624529 100644
--- a/builds/appchan-x.meta.js
+++ b/builds/appchan-x.meta.js
@@ -18,7 +18,7 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
-// @updateURL https://github.com/zixaphir/appchan-x/raw/stable/builds/appchan-x.meta.js
-// @downloadURL https://github.com/zixaphir/appchan-x/raw/stable/builds/appchan-x.user.js
+// @updateURL appchan-x.meta.js
+// @downloadURL appchan-x.user.js
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEX///8EZgR8ulSk0oT///8EAgQ1A88mAAAAAXRSTlMAQObYZgAAAIpJREFUeF6t0sENwjAMhWF84N4H6gAYMUBkdQMYwfuvwmstEeD4kl892P0OaaWcpga2/K0SGII1HNBXARgu7veoY3ANd+esgMHZIz85u0EABrbms3pl/bkC1Tn5ihGOfQwqHeZ/FdYdirEMgCG2ZAQWDTL0m9FvjAhcvoGNAK2gZhGYYX9+ZgFm9gaiNmNkMENY4QAAAABJRU5ErkJggg==
// ==/UserScript==
diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js
index 7a501b752..145456160 100644
--- a/builds/appchan-x.user.js
+++ b/builds/appchan-x.user.js
@@ -19,13 +19,13 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
-// @updateURL https://github.com/zixaphir/appchan-x/raw/stable/builds/appchan-x.meta.js
-// @downloadURL https://github.com/zixaphir/appchan-x/raw/stable/builds/appchan-x.user.js
+// @updateURL appchan-x.meta.js
+// @downloadURL appchan-x.user.js
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEX///8EZgR8ulSk0oT///8EAgQ1A88mAAAAAXRSTlMAQObYZgAAAIpJREFUeF6t0sENwjAMhWF84N4H6gAYMUBkdQMYwfuvwmstEeD4kl892P0OaaWcpga2/K0SGII1HNBXARgu7veoY3ANd+esgMHZIz85u0EABrbms3pl/bkC1Tn5ihGOfQwqHeZ/FdYdirEMgCG2ZAQWDTL0m9FvjAhcvoGNAK2gZhGYYX9+ZgFm9gaiNmNkMENY4QAAAABJRU5ErkJggg==
// ==/UserScript==
/*
-* appchan x - Version 2.9.11 - 2014-04-03
+* appchan x - Version 2.9.11 - 2014-04-04
*
* Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@@ -170,8 +170,8 @@
'Filtered Backlinks': [true, 'When enabled, shows backlinks to filtered posts with a line-through decoration. Otherwise, hides the backlinks.'],
'Stubs': [true, 'Show stubs of hidden threads / replies.']
},
- 'Images': {
- 'Image Expansion': [true, 'Expand images.'],
+ 'Images and Videos': {
+ 'Image Expansion': [true, 'Expand images / videos.'],
'Image Hover': [true, 'Show full image on mouseover.'],
'Image Hover in Catalog': [false, 'Show a floating expanded image on hover in the catalog.'],
'Gallery': [true, 'Adds a simple and cute image gallery.'],
@@ -182,7 +182,9 @@
'Replace JPG': [false, 'Replace jpgs.'],
'Image Prefetching': [false, 'Preload images'],
'Fappe Tyme': [false, 'Hide posts without images when toggled. *hint* *hint*'],
- 'Werk Tyme': [false, 'Hide all post images when toggled.']
+ 'Werk Tyme': [false, 'Hide all post images when toggled.'],
+ 'Autoplay': [true, 'Videos begin playing immediately when opened inline.'],
+ 'Show Controls': [true, 'Show native seek and volume controls on videos. Contract videos when dragged to the left.']
},
'Menu': {
'Menu': [true, 'Add a drop-down menu to posts.'],
@@ -3392,7 +3394,9 @@
this.file.sizeInBytes = size;
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/thumb/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
this.file.name = (nameNode = $('span', fileText)) ? nameNode.title || nameNode.textContent : fileText.title;
- if (this.file.isImage = /(jpg|png|gif)$/i.test(this.file.name)) {
+ this.file.isImage = /(jpg|png|gif)$/i.test(this.file.name);
+ this.file.isVideo = /webm$/i.test(this.file.name);
+ if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions = fileText.textContent.match(/\d+x\d+/)[0];
}
};
@@ -10649,8 +10653,8 @@
});
},
node: function() {
- var thumb, _ref;
- if (!((_ref = this.file) != null ? _ref.isImage : void 0)) {
+ var thumb, _ref, _ref1;
+ if (!(((_ref = this.file) != null ? _ref.isImage : void 0) || ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
return;
}
thumb = this.file.thumb;
@@ -10690,7 +10694,7 @@
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
post = _ref[_i];
file = post.file;
- if (!(file && file.isImage && doc.contains(post.nodes.root))) {
+ if (!(file && (file.isImage || file.isVideo) && doc.contains(post.nodes.root))) {
return;
}
if (ImageExpand.on && (!Conf['Expand spoilers'] && file.isSpoiler || Conf['Expand from here'] && Header.getTopOf(file.thumb) < 0)) {
@@ -10739,36 +10743,51 @@
return ImageExpand.contract(post);
},
contract: function(post) {
+ var _ref, _ref1;
+ if (post.file.isVideo) {
+ if ((_ref = post.file.fullImage) != null) {
+ _ref.pause();
+ }
+ }
$.rmClass(post.nodes.root, 'expanded-image');
$.rmClass(post.file.thumb, 'expanding');
- return post.file.isExpanded = false;
+ post.file.isExpanded = false;
+ if ((_ref1 = post.file.videoControls) != null) {
+ _ref1.map($.rm);
+ }
+ return delete post.file.videoControls;
},
expand: function(post, src) {
- var img, thumb;
- thumb = post.file.thumb;
- if (post.file.isExpanded || $.hasClass(thumb, 'expanding')) {
+ var img, isVideo, naturalHeight, thumb, _ref;
+ _ref = post.file, thumb = _ref.thumb, isVideo = _ref.isVideo;
+ if (post.isHidden || post.file.isExpanded || $.hasClass(thumb, 'expanding')) {
return;
}
$.addClass(thumb, 'expanding');
+ naturalHeight = isVideo ? 'videoHeight' : 'naturalHeight';
if (post.file.fullImage) {
$.asap((function() {
- return post.file.fullImage.naturalHeight;
+ return post.file.fullImage[naturalHeight];
}), function() {
return ImageExpand.completeExpand(post);
});
return;
}
- post.file.fullImage = img = $.el('img', {
+ post.file.fullImage = img = $.el((isVideo ? 'video' : 'img'), {
className: 'full-image',
src: src || post.file.URL
});
+ if (isVideo) {
+ img.loop = true;
+ img.controls = Conf['Show Controls'];
+ }
$.on(img, 'error', ImageExpand.error);
$.asap((function() {
- return post.file.fullImage.naturalHeight;
+ return post.file.fullImage[naturalHeight];
}), function() {
return ImageExpand.completeExpand(post);
});
- return $.after(thumb, img);
+ return $.after((img.controls ? thumb.parentNode : thumb), img);
},
completeExpand: function(post) {
var bottom, thumb;
@@ -10777,6 +10796,9 @@
return;
}
post.file.isExpanded = true;
+ if (post.file.isVideo) {
+ ImageExpand.setupVideo(post);
+ }
if (!post.nodes.root.parentNode) {
$.addClass(post.nodes.root, 'expanded-image');
$.rmClass(post.file.thumb, 'expanding');
@@ -10792,6 +10814,57 @@
return window.scrollBy(0, post.nodes.root.getBoundingClientRect().bottom - bottom);
});
},
+ setupVideo: function(post) {
+ var contract, file, play, video;
+ file = post.file;
+ video = file.fullImage;
+ file.videoControls = [];
+ video.muted = true;
+ if (video.controls) {
+ contract = $.el('a', {
+ textContent: 'contract',
+ href: 'javascript:;',
+ title: 'You can also contract the video by dragging it to the left.'
+ });
+ $.on(contract, 'click', function(e) {
+ return ImageExpand.contract(post);
+ });
+ file.videoControls.push($.tn('\u00A0'), contract);
+ file.mousedown = false;
+ $.on(video, 'mousedown', function(e) {
+ if (e.button === 0) {
+ return file.mousedown = true;
+ }
+ });
+ $.on(video, 'mouseup', function(e) {
+ if (e.button === 0) {
+ return file.mousedown = false;
+ }
+ });
+ $.on(video, 'mouseover', function(e) {
+ return file.mousedown = false;
+ });
+ $.on(video, 'mouseout', function(e) {
+ if (file.mousedown && e.clientX <= video.getBoundingClientRect().left) {
+ return ImageExpand.contract(post);
+ }
+ });
+ }
+ if (Conf['Autoplay']) {
+ video.play();
+ } else if (!video.controls) {
+ play = $.el('a', {
+ textContent: 'play',
+ href: 'javascript:;'
+ });
+ $.on(play, 'click', function(e) {
+ video[this.textContent]();
+ return this.textContent = this.textContent === 'play' ? 'pause' : 'play';
+ });
+ file.videoControls.push($.tn('\u00A0'), play);
+ }
+ return $.add(file.text, file.videoControls);
+ },
error: function() {
var URL, post, src, timeoutID;
post = Get.postFromNode(this);
@@ -12816,7 +12889,7 @@
Redirect = {
init: function() {
- var archive, archives, boardID, boards, data, files, id, name, o, record, software, type, _i, _j, _len, _len1, _ref, _ref1, _ref2;
+ var archive, archives, boardID, boards, data, files, id, name, o, record, software, type, _i, _j, _len, _len1, _ref, _ref1;
o = {
thread: {},
post: {},
@@ -12825,13 +12898,9 @@
archives = {};
_ref = Redirect.archives;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
- _ref1 = _ref[_i], name = _ref1.name, boards = _ref1.boards, files = _ref1.files, data = _ref1.data;
- archives[name] = {
- boards: boards,
- files: files,
- data: data
- };
- software = data.software;
+ data = _ref[_i];
+ name = data.name, boards = data.boards, files = data.files, software = data.software;
+ archives[name] = data;
for (_j = 0, _len1 = boards.length; _j < _len1; _j++) {
boardID = boards[_j];
if (!(boardID in o.thread)) {
@@ -12845,9 +12914,9 @@
}
}
}
- _ref2 = Conf['selectedArchives'];
- for (boardID in _ref2) {
- record = _ref2[boardID];
+ _ref1 = Conf['selectedArchives'];
+ for (boardID in _ref1) {
+ record = _ref1[boardID];
for (type in record) {
id = record[type];
if (!((archive = archives[id]))) {
@@ -12857,151 +12926,12 @@
if (__indexOf.call(boards, boardID) < 0) {
continue;
}
- o[type][boardID] = archive.data;
+ o[type][boardID] = archive;
}
}
return Redirect.data = o;
},
- archives: [
- {
- name: "Foolz",
- boards: ["a", "biz", "co", "diy", "gd", "jp", "m", "sci", "sp", "tg", "tv", "v", "vg", "vp", "vr", "wsg"],
- files: ["a", "biz", "diy", "gd", "jp", "m", "sci", "tg", "vg", "vp", "vr", "wsg"],
- data: {
- domain: "archive.foolz.us",
- http: false,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "NSFW Foolz",
- boards: ["u"],
- files: ["u"],
- data: {
- domain: "nsfw.foolz.us",
- http: false,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "The Dark Cave",
- boards: ["c", "int", "out", "po"],
- files: ["c", "po"],
- data: {
- domain: "archive.thedarkcave.org",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "4plebs",
- boards: ["adv", "hr", "o", "pol", "s4s", "tg", "trv", "tv", "x"],
- files: ["adv", "hr", "o", "pol", "s4s", "tg", "trv", "tv", "x"],
- data: {
- domain: "archive.4plebs.org",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "4plebs Flash Archive",
- boards: ["f"],
- files: ["f"],
- data: {
- domain: "flash.4plebs.org",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "Nyafuu",
- boards: ["c", "e", "w", "wg"],
- files: ["c", "e", "w", "wg"],
- data: {
- domain: "archive.nyafuu.org",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "Love is Over",
- boards: ["d", "i"],
- files: ["d", "i"],
- data: {
- domain: "loveisover.me",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "Rebecca Black Tech",
- boards: ["cgl", "g", "mu", "w"],
- files: ["cgl", "g", "mu", "w"],
- data: {
- domain: "archive.rebeccablacktech.com",
- http: true,
- https: true,
- software: "fuuka"
- }
- }, {
- name: "Heinessen",
- boards: ["an", "fit", "k", "mlp", "r9k", "toy"],
- files: ["an", "fit", "k", "r9k", "toy"],
- data: {
- domain: "archive.heinessen.com",
- http: true,
- software: "fuuka"
- }
- }, {
- name: "warosu",
- boards: ["3", "biz", "cgl", "ck", "diy", "fa", "g", "ic", "jp", "lit", "sci", "tg", "vr"],
- files: ["3", "biz", "cgl", "ck", "diy", "fa", "ic", "jp", "lit", "sci", "tg", "vr"],
- data: {
- domain: "fuuka.warosu.org",
- https: true,
- software: "fuuka"
- }
- }, {
- name: "fgts",
- boards: ["cm", "hm", "r", "soc", "y"],
- files: ["cm", "hm", "r", "soc", "y"],
- data: {
- domain: "fgst.eu",
- http: true,
- https: true,
- software: "foolfuuka"
- }
- }, {
- name: "maware",
- boards: ["t"],
- files: ["t"],
- data: {
- domain: "archive.mawa.re",
- http: true,
- software: "foolfuuka"
- }
- }, {
- name: "InstallGentoo",
- boards: ["g", "t"],
- files: ["g", "t"],
- data: {
- domain: "chan.installgentoo.com",
- http: true,
- software: "foolfuuka"
- }
- }, {
- name: "Foolz Beta",
- boards: ["a", "biz", "co", "d", "diy", "gd", "jp", "m", "mlp", "s4s", "sci", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
- files: ["a", "biz", "d", "diy", "gd", "jp", "m", "s4s", "sci", "tg", "u", "vg", "vp", "vr", "wsg"],
- data: {
- domain: "beta.foolz.us",
- http: true,
- https: true,
- withCredentials: true,
- software: "foolfuuka"
- }
- }
- ],
+ archives: [{"uid":0,"name":"Foolz","domain":"archive.foolz.us","http":true,"https":true,"software":"foolfuuka","boards":["a","biz","co","diy","gd","jp","m","sci","sp","tg","tv","v","vg","vp","vr","wsg"],"files":["a","biz","gd","diy","jp","m","sci","tg","vg","vp","vr","wsg"]},{"uid":1,"name":"NSFW Foolz","domain":"nsfw.foolz.us","http":true,"https":true,"software":"foolfuuka","boards":["u"],"files":["u"]},{"uid":2,"name":"The Dark Cave","domain":"archive.thedarkcave.org","http":true,"https":true,"software":"foolfuuka","boards":["c","int","out","po"],"files":["c","po"]},{"uid":3,"name":"4plebs Archive","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","hr","o","pol","s4s","tg","trv","tv","x"],"files":["adv","hr","o","pol","s4s","tg","trv","tv","x"]},{"uid":18,"name":"4plebs Flash Archive","domain":"flash.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["f"],"files":["f"]},{"uid":4,"name":"Nyafuu","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","w","wg"],"files":["c","e","w","wg"]},{"uid":5,"name":"Love is Over","domain":"loveisover.me","http":true,"https":true,"software":"foolfuuka","boards":["d","i"],"files":["d","i"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":true,"https":true,"software":"fuuka","boards":["cgl","g","mu","w"],"files":["cgl","g","mu","w"]},{"uid":9,"name":"Heinessen","domain":"archive.heinessen.com","http":true,"https":false,"software":"fuuka","boards":["an","fit","k","mlp","r9k","toy"],"files":["an","fit","k","r9k","toy"]},{"uid":10,"name":"warosu","domain":"fuuka.warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.eu","http":true,"https":true,"software":"foolfuuka","boards":["cm","hm","r","soc","y"],"files":["cm","hm","r","soc","y"]},{"uid":16,"name":"maware","domain":"archive.mawa.re","http":true,"https":false,"software":"foolfuuka","boards":["t"],"files":["t"]},{"uid":17,"name":"installgentoo.com","domain":"chan.installgentoo.com","http":true,"https":false,"software":"foolfuuka","boards":["g","t"],"files":["g","t"]},{"uid":13,"name":"Foolz Beta","domain":"beta.foolz.us","http":true,"https":true,"withCredentials":true,"software":"foolfuuka","boards":["a","biz","co","d","diy","gd","jp","m","s4s","sci","sp","tg","tv","u","v","vg","vp","vr","wsg"],"files":["a","biz","d","diy","gd","jp","m","s4s","sci","tg","u","vg","vp","vr","wsg"]}],
to: function(dest, data) {
var archive;
archive = (dest === 'search' || dest === 'board' ? Redirect.data.thread : Redirect.data[dest])[data.boardID];
@@ -13057,6 +12987,137 @@
}
};
+ [
+ {
+ "uid": 0,
+ "name": "Foolz",
+ "domain": "archive.foolz.us",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["a", "biz", "co", "diy", "gd", "jp", "m", "sci", "sp", "tg", "tv", "v", "vg", "vp", "vr", "wsg"],
+ "files": ["a", "biz", "gd", "diy", "jp", "m", "sci", "tg", "vg", "vp", "vr", "wsg"]
+ }, {
+ "uid": 1,
+ "name": "NSFW Foolz",
+ "domain": "nsfw.foolz.us",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["u"],
+ "files": ["u"]
+ }, {
+ "uid": 2,
+ "name": "The Dark Cave",
+ "domain": "archive.thedarkcave.org",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["c", "int", "out", "po"],
+ "files": ["c", "po"]
+ }, {
+ "uid": 3,
+ "name": "4plebs Archive",
+ "domain": "archive.4plebs.org",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["adv", "hr", "o", "pol", "s4s", "tg", "trv", "tv", "x"],
+ "files": ["adv", "hr", "o", "pol", "s4s", "tg", "trv", "tv", "x"]
+ }, {
+ "uid": 18,
+ "name": "4plebs Flash Archive",
+ "domain": "flash.4plebs.org",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["f"],
+ "files": ["f"]
+ }, {
+ "uid": 4,
+ "name": "Nyafuu",
+ "domain": "archive.nyafuu.org",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["c", "e", "w", "wg"],
+ "files": ["c", "e", "w", "wg"]
+ }, {
+ "uid": 5,
+ "name": "Love is Over",
+ "domain": "loveisover.me",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["d", "i"],
+ "files": ["d", "i"]
+ }, {
+ "uid": 8,
+ "name": "Rebecca Black Tech",
+ "domain": "rbt.asia",
+ "http": true,
+ "https": true,
+ "software": "fuuka",
+ "boards": ["cgl", "g", "mu", "w"],
+ "files": ["cgl", "g", "mu", "w"]
+ }, {
+ "uid": 9,
+ "name": "Heinessen",
+ "domain": "archive.heinessen.com",
+ "http": true,
+ "https": false,
+ "software": "fuuka",
+ "boards": ["an", "fit", "k", "mlp", "r9k", "toy"],
+ "files": ["an", "fit", "k", "r9k", "toy"]
+ }, {
+ "uid": 10,
+ "name": "warosu",
+ "domain": "fuuka.warosu.org",
+ "http": false,
+ "https": true,
+ "software": "fuuka",
+ "boards": ["3", "biz", "cgl", "ck", "diy", "fa", "g", "ic", "jp", "lit", "sci", "tg", "vr"],
+ "files": ["3", "biz", "cgl", "ck", "diy", "fa", "ic", "jp", "lit", "sci", "tg", "vr"]
+ }, {
+ "uid": 15,
+ "name": "fgts",
+ "domain": "fgts.eu",
+ "http": true,
+ "https": true,
+ "software": "foolfuuka",
+ "boards": ["cm", "hm", "r", "soc", "y"],
+ "files": ["cm", "hm", "r", "soc", "y"]
+ }, {
+ "uid": 16,
+ "name": "maware",
+ "domain": "archive.mawa.re",
+ "http": true,
+ "https": false,
+ "software": "foolfuuka",
+ "boards": ["t"],
+ "files": ["t"]
+ }, {
+ "uid": 17,
+ "name": "installgentoo.com",
+ "domain": "chan.installgentoo.com",
+ "http": true,
+ "https": false,
+ "software": "foolfuuka",
+ "boards": ["g", "t"],
+ "files": ["g", "t"]
+ }, {
+ "uid": 13,
+ "name": "Foolz Beta",
+ "domain": "beta.foolz.us",
+ "http": true,
+ "https": true,
+ "withCredentials": true,
+ "software": "foolfuuka",
+ "boards": ["a", "biz", "co", "d", "diy", "gd", "jp", "m", "s4s", "sci", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
+ "files": ["a", "biz", "d", "diy", "gd", "jp", "m", "s4s", "sci", "tg", "u", "vg", "vp", "vr", "wsg"]
+ }
+ ];
+
Banner = {
init: function() {
return $.asap((function() {
@@ -15194,7 +15255,7 @@
return FileInfo.convertUnit(this.file.sizeInBytes, 'MB');
},
r: function() {
- if (this.file.isImage) {
+ if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions;
} else {
return 'PDF';
@@ -16875,7 +16936,7 @@
return $.on(ta, 'change', $.cb.value);
},
advanced: function(section) {
- var archBoards, boardID, boardOptions, boardSelect, boards, data, event, files, input, inputs, item, items, name, o, row, rows, ta, table, _i, _j, _k, _l, _len, _len1, _len2, _len3, _len4, _m, _ref, _ref1, _ref2, _ref3, _ref4;
+ var archBoards, boardID, boardOptions, boardSelect, boards, event, files, input, inputs, item, items, name, o, row, rows, software, ta, table, _i, _j, _k, _l, _len, _len1, _len2, _len3, _len4, _m, _ref, _ref1, _ref2, _ref3, _ref4;
section.innerHTML = "