Skip to content

Instantly share code, notes, and snippets.

View epicdragon99's full-sized avatar

epicdragon99

  • Joined Oct 4, 2025
View GitHub Profile
// code indented to be ran in the js console
// this works
var a;
fetch('/api/v1/auth/preferences').then(r => r.json()).then((b) => a= b)
//grab csrf
csrf = document.querySelector('input[name="csrf_token"]').value