-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ad blocking #98
Conversation
Yes, this looks like the right path. What do you think about making ad-blocking opt-out instead of opt-in? |
In my opinion, opt-out would be better. I think there are likely to be more users who do not need ads in their screenshots than those who do not. |
Opt-out it is then. |
@sindresorhus I've been thinking about the unit testing of this flag. |
I think manually verifying it works is enough. A unit test will fail at some point when ads or ad blocker changes. |
Ok, I just made this Draft PR ready. Please let me know if there are other things for me to do :) |
Doesn't look like you updated the TS types. |
Thanks :) Would you be able to add a |
Sure, I'll make a PR to CLI module as soon as capture-website's next version is released :) |
Fixes #7.
I think we could use
@cliqz/adblocker-puppeteer
package to support ad blocking.Notes
This draft PR does not include the option representing whether to use the ad-blocker, related option, type, tests and documentations yet.
If I'm on the right way, I'd appreciate it if you could let me know. Then I will try to do the next works.