Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intercepting the loading of a page

0 views
Skip to first unread message

Francesco Barresi

unread,
Jun 27, 2005, 4:52:41 PM6/27/05
to
Hi, I'm trying to make a user.js for GreaseMonkey; doing this I found
my self with a big problem: How can I replace a JavaScript Function in
this html, while the document is beeing parsed? The onload event is
just too late, because the calls to the function I want to replace
occur while the document is beeing parsed...there are some calls all
over the document like this:

Some html...
<script>
Function();
</script>
More HTML...
<script>
Function();
</script>

Like this about 50 time...maybe more.
There is something like "onstarparsing"?? Or a way to emulate this?
Any one can helpme?

Thanks

Francesco Barresi
http://kywocs.blogspot.com

0 new messages