Generalized browser-workshopper code