| 1 | (async function() { |
| 2 | const items = []; |
| 3 | for(const item of document.getElementsByClassName("selectable")) { |
| 4 | items.push(item.attributes['data-steamid'].textContent) |
| 5 | } |
| 6 | var a = document.createElement("a"); |
| 7 | a.href = "data:application/json," + JSON.stringify(items); |
| 8 | a.download = "banned_users.json"; |
| 9 | a.click(); |
| 10 | })(); |
jackz / export_blocked_noTS.js
Last active 5 months ago
Revision 69cbaed7357453a2cdb49fa0f334e5d2f2f3e771