Apple Support ▸ Manage cookies and website data in Safari on Mac.
For more information about the options available, refer to the following article from Apple Support: However, you can manage global cookie preferences that apply to all websites you visit using Safari. It is not possible to enable cookies for specific websites in Safari. JavaScript is now enabled for all websites that you visit using Safari.
If you prefer to enable JavaScript only for webpages that are part of the domain, follow the steps below: Google Chrome Help ▸ Fix videos & games that won't play.To enable JavaScript for all websites that you visit using Google Chrome, refer to the instructions under Step 1: Turn on JavaScript in the following article from Google Chrome Help:
To enable JavaScript and / or cookies, refer to the information in the relevant section below according to your web browser: This is because the Avast Store is unable to load and function correctly without these settings enabled. When you make a purchase via the Avast Store, you may be notified that you need to enable JavaScript and / or cookies in your web browser. Enabling JavaScript and cookies in your web browser