Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CesarChaMal/0eca203b71fdaba0e78baaf369ce7dd1 to your computer and use it in GitHub Desktop.
Save CesarChaMal/0eca203b71fdaba0e78baaf369ce7dd1 to your computer and use it in GitHub Desktop.

Revisions

  1. @Toonidy Toonidy renamed this gist Jun 26, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @Toonidy Toonidy created this gist Jun 26, 2022.
    9 changes: 9 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    Copy and paste the code below into the URL section of a new bookmark.

    ```
    javascript:(async(a,b='',c,d=JSON.parse(JSON.parse(localStorage['persist:nt']).user).garage)=>{if(!a)return;for(c=0;c<a*30;c++)b+=`garage%5B${c}%5D=${d[c]||''}&`;await fetch('api/v2/loot/arrange-cars',{'headers':{'Authorization':'Bearer '+localStorage.player_token,'Content-Type':'application/x-www-form-urlencoded'},'body':b,'method':'POST','mode':'cors'});alert`Logging you out... Please log back in to see changes.`;document.querySelector('a.dropdown-link[href="/"]').click()})(prompt`Number of garage sections (~30 max):`)
    ```

    Demostration by Nate Dogg: https://youtu.be/20Q3JKX_3Hk?t=237

    Credits to Ray-Adams for making this originally.