adblock-minus#5

node v8.14.0
version: 1.0.0
endpointsharetweet
const adblock = require('adblock-minus') const blocker = new adblock.Blocker() blocker.add('##.whatever-banner') blocker.add('evil.com###adbanner') for (const selector of blocker.selectors('evil.com')) { console.log(selector) // => ['.whatever-banner'], ['#adbanner'] }
Loading…

no comments

    sign in to comment