# HG changeset patch # User nanaya # Date 1673792145 -32400 # Node ID 4bc5a633437c8323ded846f070e7b52946a456cf # Parent 42fbeb68c0e5c10791ffda79ffcbcf808bddf08a The urls need to be lowercased diff -r 42fbeb68c0e5 -r 4bc5a633437c surugaya-fixes.user.js --- a/surugaya-fixes.user.js Sun Jan 15 23:13:33 2023 +0900 +++ b/surugaya-fixes.user.js Sun Jan 15 23:15:45 2023 +0900 @@ -1,7 +1,7 @@ // ==UserScript== // @name suruga-ya fixes // @namespace https://myconan.net -// @version 2.0.1 +// @version 2.0.2 // @description Show all products with fast image // @author nanaya // @match https://www.suruga-ya.jp/* @@ -31,7 +31,7 @@ const found = origSrc.match(itemImageRegexp) if (found == null) return - const src = `https://www.suruga-ya.jp/database/pics_light/game/${found[1]}.jpg` + const src = `https://www.suruga-ya.jp/database/pics_light/game/${found[1].toLowerCase()}.jpg` const setNotFound = () => { image.removeEventListener('error', setNotFound) image.setAttribute('src', 'https://www.suruga-ya.jp/database/images/no_photo.jpg')