This has been discussed previously, but does not seem to have been put forward officially here. It would be nice to have the ability to manipulate the DOM prior to the content being displayed on the frame. Having this ability has been discussed on Apple's mailing lists previously: http://lists.apple.com/archives/webkitsdk-dev/2005/Sep/msg00039.html http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00018.html
Confirmed as an enhancement request.
rniwa@webkit.org - Any such plan right now? Thanks!
I cannot find an archive of webkitsdk-dev, but I'm sure it's possible to make the web view invisible until after manipulating the DOM? Probably many ways to do this.
Webarchive is your friend :) https://web.archive.org/web/20140806002549/http://lists.apple.com/archives/webkitsdk-dev/2005/Sep/msg00039.html https://web.archive.org/web/20140806002549/http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00018.html
Thank you for following up on this 16 years later! Both use cases seem common - extensions are widely used to modify web pages, and native applications embedding WebKit have a number of ways to load content in appropriate ways (commonly, the challenge is that progressive loading should be suspended, as users only expect that in web browsers). I think that this is in a good enough shape to be resolved. If anyone has specific questions in the future, webkit-help is a good place (https://webkit.org/getting-started/#staying-in-touch).