Last active
April 23, 2020 19:09
-
-
Save hiroxto/bb0b4895466b7259b283b7ad6b8eae09 to your computer and use it in GitHub Desktop.
iTunes (Apple Music) で大きいサイズのジャケットを取得するブックマークレット
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void((size => {const baseUrl = document.querySelector('img.product-lockup__artwork-for-radiosity-effect').src;const fileName = baseUrl.replace(/\\/g,'/').replace(/.*\//, '');const newUrl = baseUrl.replace(fileName, `${size}x${size}.jpg`).trim();window.open(newUrl, '_blank');})('3000')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void((size => {const baseUrl = document.querySelector('img.product-lockup__artwork-for-radiosity-effect').src;const fileName = baseUrl.replace(/\\/g,'/').replace(/.*\//, '');const newUrl = baseUrl.replace(fileName, `${size}x${size}.jpg`).trim();window.open(newUrl, '_blank');})('800')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void((size => { | |
const baseUrl = document.querySelector('img.product-lockup__artwork-for-radiosity-effect').src; | |
const fileName = baseUrl.replace(/\\/g,'/').replace(/.*\//, ''); | |
const newUrl = baseUrl.replace(fileName, `${size}x${size}.jpg`).trim(); | |
window.open(newUrl, '_blank'); | |
})('3000')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void((size => {const baseUrl = document.querySelector('img.product-lockup__artwork-for-radiosity-effect').src;const fileName = baseUrl.replace(/\\/g,'/').replace(/.*\//, '');const newUrl = baseUrl.replace(fileName, `${size}x${size}.jpg`).trim();window.open(newUrl, '_blank');})('3000')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment