If you go to about:config and enable privacy.trackingprotection.content.protection.enabled, then you can add the blocklists to privacy.trackingprotection.content.protection.test_list_urls and use the built-in adblocker. I think Waterfox also builts a UI on top of this.
Edit history
If you go to about:config and enable privacy.trackingprotection.content.protection.enabled, then you can add the blocklists to privacy.trackingprotection.content.protection.test_list_urls and use the built-in adblocker