To get rid of the annoying YouTube message (ad blocker are not allowed on Youtube) use this custom filter in uBlock extension
- Open uBlock extension dashboard
- Open my filters tab
- Copy & Paste this code into my filter
- Apply changes and close all tabs
via: enderman
J guess you need to adapt the code fot the page in question. If you read the code, it is setting some values to variables youtube checks for.