Fix #38
This commit is contained in:
parent
9dbce3e85e
commit
d5f3afada0
@ -1,5 +1,6 @@
|
||||
seaweedchan:
|
||||
- Change ESC functionality in QR to autohide if Persistent QR is enabled
|
||||
- Add /v/ and /vg/ archiving to archive.nihil-ad-rem.net, and make sure Archiver Selection settings actually switch to it
|
||||
|
||||
MayhemYDG:
|
||||
- Add nyafuu archiving for /w/
|
||||
@ -8,7 +9,7 @@ MayhemYDG:
|
||||
seaweedchan:
|
||||
- Chrome doesn't get .null, so don't style it
|
||||
- Fix count when auto update is disabled and set updater text to "Update"
|
||||
- Remove /v/ and /vg/ redirection. See https://archive.foolz.us/foolz/thread/509388/ for news and how you can donate to bring /v/ and /vg/ archiving back.
|
||||
- Remove /v/ and /vg/ redirection from Foolz.
|
||||
- Toggle keybind for header auto-hiding
|
||||
|
||||
MayhemYDG:
|
||||
|
||||
@ -7404,6 +7404,9 @@
|
||||
return "//archive.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'u':
|
||||
return "//nsfw.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'v':
|
||||
case 'vg':
|
||||
return "//archive.nihil-ad-rem.net/" + boardID + "/full_image/" + filename;
|
||||
case 'po':
|
||||
return "//archive.thedarkcave.org/" + boardID + "/full_image/" + filename;
|
||||
case 'hr':
|
||||
@ -7474,8 +7477,16 @@
|
||||
$.set('archivers', Conf.archivers);
|
||||
}
|
||||
return (arch && (archive = this.archiver[arch]) ? Redirect.path(archive.base, archive.type, data) : data.threadID ? "//boards.4chan.org/" + boardID + "/" : null);
|
||||
if (!archive.boards.contains(g.BOARD.ID)) {
|
||||
return Conf['archivers'] = archive;
|
||||
}
|
||||
},
|
||||
archiver: {
|
||||
'NihilAdRem': {
|
||||
base: '//archive.nihil-ad-rem.net',
|
||||
boards: ['v', 'vg'],
|
||||
type: 'foolfuuka'
|
||||
},
|
||||
'Foolz': {
|
||||
base: 'https://archive.foolz.us',
|
||||
boards: ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vp', 'vr', 'wsg'],
|
||||
|
||||
@ -7425,6 +7425,9 @@
|
||||
return "//archive.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'u':
|
||||
return "//nsfw.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'v':
|
||||
case 'vg':
|
||||
return "//archive.nihil-ad-rem.net/" + boardID + "/full_image/" + filename;
|
||||
case 'po':
|
||||
return "//archive.thedarkcave.org/" + boardID + "/full_image/" + filename;
|
||||
case 'hr':
|
||||
@ -7495,8 +7498,16 @@
|
||||
$.set('archivers', Conf.archivers);
|
||||
}
|
||||
return (arch && (archive = this.archiver[arch]) ? Redirect.path(archive.base, archive.type, data) : data.threadID ? "//boards.4chan.org/" + boardID + "/" : null);
|
||||
if (!archive.boards.contains(g.BOARD.ID)) {
|
||||
return Conf['archivers'] = archive;
|
||||
}
|
||||
},
|
||||
archiver: {
|
||||
'NihilAdRem': {
|
||||
base: '//archive.nihil-ad-rem.net',
|
||||
boards: ['v', 'vg'],
|
||||
type: 'foolfuuka'
|
||||
},
|
||||
'Foolz': {
|
||||
base: 'https://archive.foolz.us',
|
||||
boards: ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vp', 'vr', 'wsg'],
|
||||
|
||||
@ -7409,6 +7409,9 @@
|
||||
return "//archive.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'u':
|
||||
return "//nsfw.foolz.us/" + boardID + "/full_image/" + filename;
|
||||
case 'v':
|
||||
case 'vg':
|
||||
return "//archive.nihil-ad-rem.net/" + boardID + "/full_image/" + filename;
|
||||
case 'po':
|
||||
return "//archive.thedarkcave.org/" + boardID + "/full_image/" + filename;
|
||||
case 'hr':
|
||||
@ -7479,8 +7482,16 @@
|
||||
$.set('archivers', Conf.archivers);
|
||||
}
|
||||
return (arch && (archive = this.archiver[arch]) ? Redirect.path(archive.base, archive.type, data) : data.threadID ? "//boards.4chan.org/" + boardID + "/" : null);
|
||||
if (!archive.boards.contains(g.BOARD.ID)) {
|
||||
return Conf['archivers'] = archive;
|
||||
}
|
||||
},
|
||||
archiver: {
|
||||
'NihilAdRem': {
|
||||
base: '//archive.nihil-ad-rem.net',
|
||||
boards: ['v', 'vg'],
|
||||
type: 'foolfuuka'
|
||||
},
|
||||
'Foolz': {
|
||||
base: 'https://archive.foolz.us',
|
||||
boards: ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vp', 'vr', 'wsg'],
|
||||
|
||||
@ -13,6 +13,8 @@ Redirect =
|
||||
"//archive.foolz.us/#{boardID}/full_image/#{filename}"
|
||||
when 'u'
|
||||
"//nsfw.foolz.us/#{boardID}/full_image/#{filename}"
|
||||
when 'v', 'vg'
|
||||
"//archive.nihil-ad-rem.net/#{boardID}/full_image/#{filename}"
|
||||
when 'po'
|
||||
"//archive.thedarkcave.org/#{boardID}/full_image/#{filename}"
|
||||
when 'hr', 'tv'
|
||||
@ -60,7 +62,14 @@ Redirect =
|
||||
else
|
||||
null)
|
||||
|
||||
unless archive.boards.contains g.BOARD.ID
|
||||
Conf['archivers'] = archive
|
||||
|
||||
archiver:
|
||||
'NihilAdRem':
|
||||
base: '//archive.nihil-ad-rem.net'
|
||||
boards: ['v', 'vg']
|
||||
type: 'foolfuuka'
|
||||
'Foolz':
|
||||
base: 'https://archive.foolz.us'
|
||||
boards: ['a', 'co', 'gd', 'jp', 'm', 'q', 'sp', 'tg', 'tv', 'vp', 'vr', 'wsg']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user