Skip to content

Instantly share code, notes, and snippets.

@yotamss
yotamss / securitytrails.js
Created October 3, 2025 10:08
Fetch securitytrails domains
(async function scrapeDomains() {
const allDomains = [];
async function getDomainsFromPage() {
const domainLinks = document.querySelectorAll('table.ui-table tbody tr td:first-child a.link');
const domains = Array.from(domainLinks).map(link => link.textContent.trim());
allDomains.push(...domains);
}
async function clickNext() {