Skip to content

Instantly share code, notes, and snippets.

@equinox79
Last active April 9, 2019 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save equinox79/dea1e6317b13141345fcc85753f8832e to your computer and use it in GitHub Desktop.
Save equinox79/dea1e6317b13141345fcc85753f8832e to your computer and use it in GitHub Desktop.
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)()
(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