Skip to content

Refs #194 - support for $header option

Hubert Figuière requested to merge (removed):http-headers-new into next

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

Merge request reports