rosshinkley / nightmare-load-filter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still relevant?

adi518 opened this issue · comments

commented

I want to exclude requests to external assets. namely FB/Google pixels etc', anything that doesn't belong to a certain domain. Can I achieve that with this plugin? I tried the example, but I can't even console log details on callback. Started Nightmare with Electron open so I can examine network, but to no avail. It won't intercept any requests.

@adi518 It works, the filter function executes in another process, therefore console.log doesn't log to the output of your main script.