copy all URLs

copy all URLs to the clipboard

By eliana2h ago (Jun 6, 2026)

copy all URLs

javascript
copy([...document.querySelectorAll('a')].map(a => a.href));

Views

0

Lines

1

Characters

59

Likes

0

Details

Language
Javascript
Created
Jun 6, 2026
Updated
2h ago
Size
0.1 KB

Build your snippet library

Join thousands of developers organizing and sharing code snippets.