Bug 11338
| Summary: | ER: Ability to manipulate DOM before content is displayed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sebastien Boisvert <sebastienboisvert> |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Enhancement | CC: | ahmad.saleem792, ap, cdumez, rniwa, thorton, webkit |
| Priority: | P4 | ||
| Version: | 420+ | ||
| Hardware: | All | ||
| OS: | All | ||
Sebastien Boisvert
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Robert Blaut
Confirmed as an enhancement request.
Ahmad Saleem
rniwa@webkit.org - Any such plan right now? Thanks!
Alexey Proskuryakov
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.
Sebastien Boisvert
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
Alexey Proskuryakov
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).