Last active
August 1, 2026 07:28
-
-
Save pypy-vrc/46c644c8287bb1905f32afe55d664f83 to your computer and use it in GitHub Desktop.
remove red badge from VRChat web inventory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| const res = await fetch( | |
| "https://vrchat.com/api/1/inventory?n=100&offset=0¬Flags=ugc¬Types=bundle&archived=false&seen=false&isNavBar=true", | |
| ); | |
| const data = await res.json(); | |
| for (const item of data.data) { | |
| await fetch(`https://vrchat.com/api/1/inventory/${item.id}`, { | |
| method: "PUT", | |
| headers: { "Content-Type": "application/json" }, | |
| body: JSON.stringify({ isSeen: true }), | |
| }); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment