14

The Page Visibility API starts to be commonly used to pause mandatory video advertisements when the tab is not in focus.

This means you need to be watching the ad, if you switch tab or even have another app or menu covering the browser the ad will pause and prevent access to the content.

It is extremely annoying but I couldn't find a way to circumvent this.

Is there any way to disable this API using the Chrome or Firefox extension APIs, so that, for instance, one could do something else while the ad is playing?

aberaud
  • 770
  • 1
  • 9
  • 22

1 Answers1

17

I wrote you an extension that will do just that.

Available here.

I tested it on this page.

Repository here.

Let me know if you have any questions.

Deltik
  • 1,119
  • 9
  • 32
Wyatt
  • 2,465
  • 14
  • 12
  • Thanks a lot for the answer :) Does the extension still work today (Chrome or Firefox)? If so, could you please explain in the answer how your extension achieved this result? – aberaud May 28 '22 at 20:28