Skip to content

AdBlock #633

Closed Answered by o0101
sochassan asked this question in Q&A
Dec 29, 2023 · 1 comment
Discussion options

You must be logged in to vote

Hello sir, @sochassan

In fact, an AdBlock is enabled by default (or should be). However some of the rules may be out of date and not all ads are expected to be blocked.

Check ./src/common.js DEBUG object, adBlock property. Should be set true.

If that doesn't work for what you're looking at, or you need more ads blocked, we're happy to accept PRs that extend the adBlock rules already present in the codebase. They should be easy to find if you're keen on this work.

Alternately, we'd also be happy to accept work incorporating Page.setAdBlockEnabled. Changes should be minimal if you'd like to try.

Finally, if none of those suit, there is the option of awaiting our upcoming developer API which…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by o0101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants