Bug 11338 - ER: Ability to manipulate DOM before content is displayed
Summary: ER: Ability to manipulate DOM before content is displayed
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 420+
Hardware: All All
: P4 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 21:13 PDT by Sebastien Boisvert
Modified: 2022-09-29 17:50 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Boisvert 2006-10-17 21:13:10 PDT
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
Comment 1 Robert Blaut 2008-03-06 04:01:03 PST
Confirmed as an enhancement request. 
Comment 2 Ahmad Saleem 2022-09-22 15:23:29 PDT
rniwa@webkit.org - Any such plan right now? Thanks!
Comment 3 Alexey Proskuryakov 2022-09-29 10:58:27 PDT
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.
Comment 5 Alexey Proskuryakov 2022-09-29 17:50:16 PDT
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).