As the "cookie consent" debacle showed us, websites won't stop using JS, they'll just bombard you with consent dialogs until you click the button that makes them go away fastest, which is likely the one that involves consenting to run their JS.
I don't think I've ever seen a cookie consent behave that way, they just make it 1-3 extra clicks to refuse non-essential cookies; which is in violation.
A reminder that the "cookie consent debacle" is intentional. There is no requirement for a popup or any system to ask for your consent to store cookies if you simply do not store unnecessary cookies, and the carve out for "necessary" cookies is huge.
Every time you see a popup to approve cookies, it is explicitly so a company can beg you to allow them to track you for free money.