Skip to content

Instantly share code, notes, and snippets.

@SophieShears
SophieShears / openAll.js
Last active December 4, 2025 19:37
Click All Links Then Scroll to the Bottom
class OpenAll {
constructor() {
this.seenUrls = new Set();
}
openWindows() {
const links = document.getElementsByTagName('a');
const url = 'crm.kuhnlawgroup.com';
for (let i = 0; i < links.length; i ++) {
if (!links[i].href.includes(url) && links[i].href.includes('.com')) {