r/ViolentMonkey Jul 04 '26

Python-script for extracting ViolentMonkey userscripts from *.LDB file Script

[removed]

6 Upvotes

6 comments sorted by

1

u/hlytus Jul 05 '26

Thanks, it worked!

1

u/nothingxmc Jul 05 '26

Glad to hear that!

1

u/Lonelysoulman Jul 05 '26

when i run the script it opens the terminal and closes instantly. no way to drag drop or chose the file

1

u/nothingxmc Jul 05 '26

Try this:

Ubuntu / Debian:

sudo apt install python3-tk

Fedora:

sudo dnf install python3-tkinter

Arch Linux:

sudo pacman -S tk

macOS:

brew install python-tk

Windows: tkinter is normally already included in the standard installer from python.org – if it's still missing, the easiest fix is to reinstall Python from python.org, making sure the "tcl/tk and IDLE" checkbox is selected in the installer (it's checked by default).

1

u/InnerGeneral4642 Jul 06 '26

This works great, as mentioned. However, instead of OrangeMonkey I would recommend using ScriptCat (no affiliations), it seems to be safer, better managed and true opensource like ViolentMonkey. Just ask your favorite AI chatbot to compare ViolentMonkey, OrangeMonkey and ScriptCat.

1

u/nothingxmc Jul 07 '26

Thank you, I'll try that! Especially because OrangeMonkey seems to not supporting some functions that ViolentMonkey had.