This is the gold standard. Each world (e.g., .net, .uk, .de) has a "Scripts" section where developers post their creations. Look for threads with:
Tribal Wars scripts are not installed directly into the game. Instead, they run through a browser extension. tribal wars approved scripts install
Recommended managers:
How to install Tampermonkey:
For scripts you use every single login, a userscript manager is cleaner. This is the gold standard