From c2414cf5d2542bebc23a2561268676d6545548d3 Mon Sep 17 00:00:00 2001 From: fireattack Date: Sun, 30 Jan 2022 05:47:27 -0600 Subject: [PATCH 1/3] Fix get img failing --- fifth/subjectPowerUp.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fifth/subjectPowerUp.user.js b/fifth/subjectPowerUp.user.js index 0deda60b..09cea3f2 100644 --- a/fifth/subjectPowerUp.user.js +++ b/fifth/subjectPowerUp.user.js @@ -281,7 +281,7 @@ function listRequest(action, page = 1, limit = settings[action + 'Num']) { } tops[action].push({ uid: $(this).find('a').attr('href').split('/')[2], - img: $(this).find('img').attr('src').replace('/m/', '/s/'), + img: $(this).find('.userImage > span').attr('style').replace(/background-image:url\(\'(.+)\'\)/, '$1').replace('/l/', '/s/'), name: $(this).find('a').text(), time: $(this).find('p.info').text(), star: starInfo, From 1200a164f80c2b334c77d50728a6edf5dc750d9e Mon Sep 17 00:00:00 2001 From: fireattack Date: Sun, 30 Jan 2022 05:48:11 -0600 Subject: [PATCH 2/3] Bump version --- fifth/subjectPowerUp.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fifth/subjectPowerUp.user.js b/fifth/subjectPowerUp.user.js index 09cea3f2..05a12865 100644 --- a/fifth/subjectPowerUp.user.js +++ b/fifth/subjectPowerUp.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name subjectPowerUp // @namespace fifth26.com -// @version 1.3.2 +// @version 1.3.3 // @description 条目页面优化:看看你的好友是否喜欢 // @author fifth | aslo thanks to @everpcpc's contributions. // @include /^https?://(bgm\.tv|chii\.in|bangumi\.tv)/subject/\d+/ From ada4ba6efa4b56b0a49ded8f521e14566f1c2e45 Mon Sep 17 00:00:00 2001 From: fireattack Date: Sun, 30 Jan 2022 05:50:14 -0600 Subject: [PATCH 3/3] Bump version again --- fifth/subjectPowerUp.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fifth/subjectPowerUp.user.js b/fifth/subjectPowerUp.user.js index 05a12865..fb0c8ff2 100644 --- a/fifth/subjectPowerUp.user.js +++ b/fifth/subjectPowerUp.user.js @@ -8,7 +8,7 @@ // @encoding utf-8 // ==/UserScript== -const CURRENT_VERSION = '1.3.1'; +const CURRENT_VERSION = '1.3.3'; const ACTIONS = [ 'wishes',