How to uninstall (remove) Afternoon.rocks adware

Afternoon.rocks is a potentially unwanted program, namely, adware that comes to the computer without the user's consent. As a rule, this is a browser extension that makes irreversible changes to the browser settings. After penetration, the browser constantly redirects to third-party sites that contain a huge amount of advertising content.