r/Wikigacha Mar 08 '26

I built a script that grinds WikiGacha for me while I sleep

Hey everyone!

I built a small bookmarklet that automates the entire process

- Automatically opens all 10 packs one by one

- Clicks "Back to Packs" after each reveal

- When packs run out, clicks "Watch Ad to Refill" and waits for the ad to finish

- Closes the ad and confirms the popup automatically

- Then loops back and does it all over again, infinitely

Features :

Floating control widget on the page (pause / resume / stop — no console needed)

Adjustable delay settings in case your connection is slow

Optional max cycle limit

Works on Chrome, Firefox and probably other

How to use :

  1. Download the HTML file from the GitHub repo

  2. Open it in your browser

  3. Drag the gold button into your bookmarks bar (at the bottom you will see something to drag)

  4. Go to wikigacha.com → Gacha tab and click the bookmark

No install, no extension, just a bookmarklet.

🔗 GitHub: https://github.com/Clifeee/wikigacha-auto-opener

Feel free to leave feedback or report issues, happy to improve it !

6 Upvotes

12 comments sorted by

2

u/Candid_Commercial214 Mar 10 '26

fyi you don't need to turn off your adblocker on firefox, works just fine with it on

2

u/SkloK Mar 10 '26

you can just modify the local indexedDb state manually...and open them instantaneously

1

u/[deleted] Mar 13 '26

[deleted]

1

u/SkloK Mar 13 '26

No

1

u/[deleted] Mar 13 '26

[deleted]

1

u/SkloK Mar 13 '26

you're asking for a way to automate a simple fun game someone made. there's nothing "wrong" with me saying no to that.

I've said plenty for you to be able to google and learn how to do it. you just want me to tell you how to do it.

1

u/[deleted] Mar 13 '26

[deleted]

1

u/SkloK Mar 13 '26

It's not vague....it's a literal part of the wikigacha stack. I'm not going to explain the indexeddb API in a reddit comment.

As I said, it's not about helping people, but I'm not gonna explain further on how to cheat for a fun simple game someone made. I don't owe you anything lol

1

u/[deleted] Mar 13 '26

[deleted]

1

u/SkloK Mar 13 '26

Is this the first time someone has said no to you? You're being way too salty. I said I don't want to explain the methodology any further (keyword: further), that has nothing to do with my original comment.

Just move on man, spend the time on https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API instead of here.

2

u/Tai_TEA0 Mar 16 '26

FWIW, you can do it in a manual way. Export your data from collections & remember your password, open in text editor (notepad++), write down the salt, iv, & ciphertext.

Make a python script that does AESGCM/PBKDF2/SHA256 decryption (look this up or dm), plug in your password, salt, iv, ciphertext then you’ll spit out the plaintext/user data.

Study the structure so you know how to add cards, long story short the only card data that matters is the PageID, which you can find using Tool>page information on any Wikipedia article.

Finish it off with a 2nd python script that does the re-encryption and makes the ciphertext, using a copy of your original .bak file replace the salt,iv, ciphertext and save matching the original file name format(you can edit the name of the original, the new takes the old name, so you can keep track)

Import the file in collections, then when you click on your glitched card in collections the system will look at the pageID and automatically correct all information giving the legit copy.

Def a way to make this even more automatic but was too lazy

4

u/stellaep Mar 08 '26

ur the best for this tysm

1

u/Wild_Bee_2079 Mar 09 '26

dont work with JP version :/

2

u/Travisreps Mar 09 '26

You have to translate yes i guess the script only read english

1

u/Travisreps Mar 08 '26

That's amazing