https://accountscenter.facebook.com/personal_info/account_ownership_and_control
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
// hontoサイトのcouponページ(https://honto.jp/my/account/coupon.html)でgetしていないクーポンを一括でgetするスクリプト | |
console.log("開始!"); | |
(async function () { | |
const wait = (seccond) => new Promise(resolve => setTimeout(resolve, seccond)); | |
for await (elem of Array.from(document.querySelectorAll('.coupon-get-button'))) { | |
console.log(elem); | |
elem.click(); | |
console.log("Get!"); | |
await wait(500); |