Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadrosid/dicoding-autoclick-waitinglist
Dicoding auto click add waiting list to event
https://github.com/ahmadrosid/dicoding-autoclick-waitinglist
Last synced: 6 days ago
JSON representation
Dicoding auto click add waiting list to event
- Host: GitHub
- URL: https://github.com/ahmadrosid/dicoding-autoclick-waitinglist
- Owner: ahmadrosid
- Created: 2024-10-25T03:43:49.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2024-10-25T04:00:39.000Z (12 days ago)
- Last Synced: 2024-10-26T17:33:54.285Z (11 days ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto Click Dicoding Waiting list to event
Dicoding doesn't have the option to add a batch of people from the waiting list to the event. Imagine having 500 people on the waiting list and wanting to add them to the event list. It wouldn't make sense to click and add each person manually.
## Bonus
Dicoding also requires you to submit a request to obtain the email addresses of your event participants.
You can use this javascript to get the emails from the javascript console.```js
// Select all TD elements with the specified class and data attribute
const emailElements = document.querySelectorAll('td.js-email-address[data-th="Email"]');// Extract emails into an array
const emails = Array.from(emailElements).map(element => element.textContent);// Now 'emails' contains all the email addresses
console.log(emails.join(","));
```