diff --git a/4chan_x.user.js b/4chan_x.user.js index a9bcf0c21..daec9e850 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3933,7 +3933,7 @@ case 'u': case 'v': case 'vg': - return "http://archive.foolz.us/api/chan/post/board/" + board + "/num/" + postID + "/format/json"; + return "//archive.foolz.us/api/chan/post/board/" + board + "/num/" + postID + "/format/json"; } }, thread: function(board, id, mode) { diff --git a/script.coffee b/script.coffee index 1f9c2d16e..39e616102 100644 --- a/script.coffee +++ b/script.coffee @@ -3101,7 +3101,7 @@ Redirect = post: (board, postID) -> switch board when 'a', 'co', 'jp', 'm', 'tg', 'tv', 'u', 'v', 'vg' - "http://archive.foolz.us/api/chan/post/board/#{board}/num/#{postID}/format/json" + "//archive.foolz.us/api/chan/post/board/#{board}/num/#{postID}/format/json" thread: (board=g.BOARD, id=g.THREAD_ID, mode='thread') -> return unless Conf['404 Redirect'] or mode is 'post' switch board