The source project of this merge request has been removed.
Refs #194 - support for $header option
This requires the changes adblockpluscore!331 to be pulled in as a dependency. (dependency update to be done prior to merging this)
Among the questions I have, I implemented this as a onBeforeHeaders
in requestBlocker.js
but I wonder if it wouldn't be worth it to merge it with the CSP listener.
I tried to keep the change to a minimum and I did refactor the listeners to limit the duplicated code.
Edited by Hubert Figuière