AnchoredRollback allows you to perform rollbacks without changing location. This is especially useful where multiple edits are being reverted, mainly on a user's contributions page or recent changes, mitigating the need to use tedious workarounds such as opening in new tab.
You may add an optional config before importing the script which will mark all your rollbacks as bot edits if done while being in the sysop usergroup. This can be done by adding anchoredRollbackBot = true; above the script import.
Being in the bot usergroup will have your reverts marked as bot edits by default regardless of whether the option is enabled or not.
Using configuration options with Fandom Developers Wiki scripts