Last active
April 9, 2019 08:05
-
-
Save equinox79/dea1e6317b13141345fcc85753f8832e to your computer and use it in GitHub Desktop.
This file contains hidden or 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:(function()%7B(function()%7Bdocument.querySelector(%22.a-color-price%22).textContent%20%2B%3D%22%EF%BD%9C%E7%A8%8E%E6%8A%9C%E3%81%8D%3A%20%22%20%2B%20Math.round(%20document.querySelector(%22.a-color-price%22).textContent.replace(%2F%5B%5E0-9%5D%2Fg%2C%20'')%20%2F%201.08%20)%20%2B%20%22%E5%86%86%22%7D)()%7D)() |
This file contains hidden or 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
(function(){ | |
document.querySelector(".a-color-price").textContent += | |
"|税抜き: " + Math.round( document.querySelector(".a-color-price").textContent.replace(/[^0-9]/g, '') / 1.08 ) + "円" | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment