26 June, 2025 02:49
Ray2407 Web Hub
Mayor’s letter
V3 unsubscribe script
(async function batchUnsubscribeWithScroll(limit = 1000, delay = 2000) { const sleep = (ms) => new Promise((res) => setTimeout(res, ms)); let unsubscribed = 0;
let lastHeight = 0;
let scrollAttempts = 0;
async function scrollToBottom() {
while (scrollAttempts < 10) {
window.scrollTo(0, document.body.scrollHeight);
await sleep(2000);
const newHeight = document.body.scrollHeight;
if (newHeight === lastHeight) {
scrollAttempts++;
} else {
scrollAttempts = 0;
lastHeight = newHeight;
}
}
console.log(“✅ Finished scrolling.”);
}
async function unsubscribeVisible() {
const channels = Array.from(document.querySelectorAll(‘ytd-channel-renderer’)); for (const channel of channels) {
if (unsubscribed >= limit) return;
const button = channel.querySelector(‘[aria-label^=”Unsubscribe from”]’); if (button) {
button.click();
await sleep(500);
const confirm = document.querySelector(‘yt-confirm-dialog-renderer #confirm-button’); if (confirm) {
confirm.click();
unsubscribed++;
console.log(`Unsubscribed ${unsubscribed}/${limit}`); await sleep(delay);
}
}
}
}
await scrollToBottom();
await unsubscribeVisible();
console.log(`🎉 Done. Total unsubscribed: ${unsubscribed}`); })();
Force YouTube page load
let scrollInterval = setInterval(() => {
window.scrollBy(0, 500);
if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) { clearInterval(scrollInterval);
console.log(“Reached bottom of page.”);
}
}, 500);
Another unsubscribe
(async function unsubscribeBatch(limit = 100, delay = 2000) { const sleep = (ms) => new Promise((res) => setTimeout(res, ms)); const channels = Array.from(document.querySelectorAll(‘ytd-channel-renderer’));
console.log(`Found ${channels.length} channels. Attempting to unsubscribe from up to ${limit}.`);
let count = 0;
for (const channel of channels) {
if (count >= limit) break;
const button = channel.querySelector(‘[aria-label^=”Unsubscribe from”]’); if (button) {
button.click();
await sleep(500);
const confirm = document.querySelector(‘yt-confirm-dialog-renderer #confirm-button’); if (confirm) {
confirm.click();
console.log(`Unsubscribed ${count + 1}/${limit}`);
count++;
await sleep(delay);
}
}
}
console.log(`Finished unsubscribing from ${count} channels.`); })();
Meeting
Mahalo
SIGNATURE:
Clifford "RAY" Hackett I founded www.adapt.org in 1980 it now has over 50 million members.
$500 of material=World’s fastest hydrofoil sailboat. http://sunrun.biz
YouTube unsubscribe script
(async () => {
const delay = ms => new Promise(res => setTimeout(res, ms));
const buttons = Array.from(document.querySelectorAll(‘ytd-subscribe-button-renderer tp-yt-paper-button[aria-label^=”Unsubscribe from”]’));
console.log(`Found ${buttons.length} subscriptions. Starting to unsubscribe…`); for (let i = 0; i < buttons.length; i++) {
buttons[i].click();
await delay(1000);
const confirm = document.querySelector(‘yt-confirm-dialog-renderer tp-yt-paper-button[aria-label=”Unsubscribe”]’); if (confirm) confirm.click();
console.log(`Unsubscribed from ${i + 1} of ${buttons.length}`); await delay(1500);
}
console.log(‘✅ All done!’);
})();
Agreed?
Do you agree this is accurate?
### 📇 Contact Card: Senator Darrel Barnett (Democrat – Guam Legislature)
**Full Name:** Darrel Christopher Barnett
**Also Known As:** Chris Malafunkshun
**Party Affiliation:** Democratic Party
**Current Term:** 2023–2027
**Profession:** Former radio personality and reporter
**Legislative Focus:**
– Government transparency and accountability
– Media literacy and public engagement
– Youth empowerment and education access
– Community-driven policy reform
**Notable Background:**
Before entering politics, Barnett was a prominent voice on Guam’s airwaves, known for his candid commentary and advocacy for everyday Guamanians. His transition into public office was fueled by a desire to bring that same directness and accessibility to the legislative process [A](https://ballotpedia.org/Darrel_Barnett?copilot_analytics_metadata=eyJldmVudEluZm9fY2xpY2tEZXN0aW5hdGlvbiI6Imh0dHBzOlwvXC9iYWxsb3RwZWRpYS5vcmdcL0RhcnJlbF9CYXJuZXR0IiwiZXZlbnRJbmZvX21lc3NhZ2VJZCI6ImV5WWJURzFic1dXZHRpVUFpS3pSaiIsImV2ZW50SW5mb19jb252ZXJzYXRpb25JZCI6IlU1ZTNzQ0xxSmU3YnZWWW5CdnVBdiIsImV2ZW50SW5mb19jbGlja1NvdXJjZSI6ImNpdGF0aW9uTGluayJ9&citationMarker=9F742443-6C92-4C44-BF58-8F5A7C53B6F1).
Mahalo
SIGNATURE:
Clifford "RAY" Hackett I founded www.adapt.org in 1980 it now has over 50 million members.
$500 of material=World’s fastest hydrofoil sailboat. http://sunrun.biz
