I mean, by like Group Policy, sure, but typically random websites don’t get to set policy on machines that visit them!
I can’t think of any server -side implementation that would achieve that, and no client-side scripts should have that access/privilege. At that point, your “browser” is full RAT/malware anyway
Probably DNS?