Uh you can just disable JavaScript in Firefox' about:config
Another casualty in the war on user agency.
Also neat: you can disable media elements over a certain size (default is 50kb I think), which is a godsend if like me you have limited mobile data.