Usually I have the same custom scripts that I add to some sites to do the same things, but Is a bit inconvenient open the setting page and manually copy&paste the json field, I think would be faster we be able a shortcut in this window:

Maybe a combox with all domains, by cliking in one we can copy or preview the script of the selected domain.