Skip to content

Instantly share code, notes, and snippets.

@Hiroki-Kawakami
Last active February 10, 2021 18:12
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 Hiroki-Kawakami/4dbb2dbd9ff46d2f4d9ce1988ddcc18c to your computer and use it in GitHub Desktop.
Save Hiroki-Kawakami/4dbb2dbd9ff46d2f4d9ce1988ddcc18c to your computer and use it in GitHub Desktop.
Amazon欲しいものリスト合計額を計算するブックマークレット。PC・スマホ両対応(2021年1月時点)
javascript:(function(){alert('¥'+Array.from(document.querySelectorAll('.a-offscreen')).reduce((a,c)=>a+Number(c.innerText.replace(/[^0-9]/g,'')),0))})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment