diegomura/react-pdf: Create PDF files using React
📄 Create PDF files using React. Contribute to diegomura/react-pdf development by creating an account on GitHub.
This is exactly the personal website that I'm looking for, it has sections for:
// YouTube bulk unsubscribe fn (async function iife() { // This is the time delay after which the "unsubscribe" button is "clicked"; Change it as per your need! var UNSUBSCRIBE_DELAY_TIME = 2000 /
setTimeout
so it can be await
ed on.ytd-channel-renderer
))
console.log(${channels.length} channels found.
)
var ctr = 0
for (const channel of channels) {
// Get the subscribe button and trigger a "click"
channel.querySelector([aria-label^='Unsubscribe from']
).click()
await runAfterDelay(() => {
// Get the dialog container...
document.getElementsByTagName(yt-confirm-dialog-renderer
)[0]
// and find the confirm button...
.querySelector([aria-label^='Unsubscribe']
).click()
console.log(Unsubsribed ${ctr + 1}/${channels.length}
)
ctr++
}, UNSUBSCRIBE_DELAY_TIME)
}
})()