Enable / disable adBlock

#1

Hi, what I want to do is: when I am at home (connected to piHole), disable adBlock extension from firefox and when I am not connected to pi-hole enable it. Is it possible to do this? Thank you! <3