Last active
July 14, 2020 08:28
-
-
Save hiroxto/380ff423aacfe5ef08d0d86a8561e8cb to your computer and use it in GitHub Desktop.
Amazon の URL を短くするブックマークレット
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((() => {const asin = document.getElementById('ASIN').value;location.href = `https://www.amazon.co.jp/dp/${asin}`;})()); |
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((() => { | |
const asin = document.getElementById('ASIN').value; | |
location.href = `https://www.amazon.co.jp/dp/${asin}`; | |
})()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment