barbaz wrote:Giorgio Maone wrote:Anyway I'd love to look at your implementation, thank you.
sent by PM
After a bit of testing and scrubbing Mozilla's source code, I've realized your approach, albeit scary and necessarily incomplete, is more feasible than mine: content policies are always called after checkLoadURI checks, unfortunately.

So, if you don't mind, I'm gonna steal your idea, with many thanks.