On Tue, Feb 01, 2011 at 04:55:13AM +0300, Nicholas Ochiel wrote:
> > Can you provide an example url where the hint nodes don't appear? They
> > work for me. Also, hint 0 is always the top frame, but is never labelled.
>
> For some reason I can no longer recreate the behaviour I was
> highlighting. Both labelling and hinting of frames works perfectly.
>
>
> Linked pages can saved with 's' (which is a shortcut for 'n
> > s'). Or do you mean the innerHTML of a node? (That could be useful.)
>
> Precisely sir. Once again, please forgive my lack of precision.
> innerHTML of a node is what I meant.
>
Fairly easy to do.. just copy and modify browser-object-text. Something
like this (untested code ahead):
interactive("browser-object-innerhtml",
"Composable browser object which returns the inner HTML of another object.",
function (I) {
var b = I.browser_object;
I.browser_object = function (I) {
I.browser_object = b;
var e = yield read_browser_object(I);
//FIXME: deal with non-DOM-node cases here.
yield co_return(e.innerHTML);
}
},
$prefix);
Then use it like this, for example:
n M-x "browser-object-innerhtml" c
I'll include something like this in the branch I'm working on.
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror