diff --git a/4chan_x.user.js b/4chan_x.user.js index 88efdb629..1ec5a176c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -152,7 +152,7 @@ filesize: [''].join('\n'), md5: [''].join('\n') }, - sauces: ['http://iqdb.org/?url=$1', 'http://www.google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '# uploaders:', '#http://imgur.com/upload?url=$2', '#http://omploader.org/upload?url1=$2', '# "View Same" in archives:', '#http://archive.foolz.us/$4/image/$3/', '#http://archive.installgentoo.net/$4/image/$3'].join('\n'), + sauces: ['http://iqdb.org/?url=$1', 'http://www.google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '# uploaders:', '#http://imgur.com/upload?url=$2', '#http://omploader.org/upload?url1=$2', '# "View Same" in archives:', '#http://archive.foolz.us/$4/image/$3/', '#https://archive.installgentoo.net/$4/image/$3'].join('\n'), time: '%m/%d/%y(%a)%H:%M', backlink: '>>%id', fileInfoR: '%l (%s, %r)', @@ -3574,7 +3574,7 @@ case 'diy': case 'g': case 'sci': - return "http://archive.installgentoo.net/" + board + "/" + mode + "/" + id; + return "https://archive.installgentoo.net/" + board + "/" + mode + "/" + id; case '3': case 'adv': case 'an': diff --git a/changelog b/changelog index a0322a82a..edec2f03f 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,7 @@ master - Mayhem Update posting support to use https with sys.4chan.org according to 4chan's latest change. This fixes the 'referer' error. + Update redirection to installgentoo's archives. 2.29.0 - Mayhem diff --git a/script.coffee b/script.coffee index d4f9e6e15..1e03ed50d 100644 --- a/script.coffee +++ b/script.coffee @@ -110,7 +110,7 @@ config = '#http://omploader.org/upload?url1=$2' '# "View Same" in archives:' '#http://archive.foolz.us/$4/image/$3/' - '#http://archive.installgentoo.net/$4/image/$3' + '#https://archive.installgentoo.net/$4/image/$3' ].join '\n' time: '%m/%d/%y(%a)%H:%M' backlink: '>>%id' @@ -2995,7 +2995,7 @@ Redirect = when 'lit' "http://fuuka.warosu.org/#{board}/#{mode}/#{id}" when 'diy', 'g', 'sci' - "http://archive.installgentoo.net/#{board}/#{mode}/#{id}" + "https://archive.installgentoo.net/#{board}/#{mode}/#{id}" when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'r9k', 'soc', 'sp', 'toy', 'trv', 'vp', 'x' "http://archive.no-ip.org/#{board}/#{mode}/#{id}" else