Re: dynamically added links to RDF

From: Alf Eaton <alf_at_hubmed.org>
Date: Thu, 11 Aug 2005 01:01:06 +0200

On 11 Aug 2005, at 00:22, Vineet Sinha wrote:

> Stefano Mazzocchi wrote:
>
>> Alf Eaton wrote:
>>
>>> Is there any way that Piggy Bank could recognise a <link
>>> rel="alternate"> link added dynamically to a page by a
>>> Greasemonkey script? It seems that at the moment Piggy Bank only
>>> checks the source of the original page (I think).
>>>
>> Well, since I'm actually looking into how greasemonkey does
>> things, I could very well add this functionality as I'm doing
>> it.... it should be possible, PB just has to recognize the
>> presence of Greasemonkey and act accordingly.
>> At the same time, though, it feels kinda hacky (or not very
>> efficient) to have both greasemonkey and PB react on the dom...
>> hmmmm....
>> What do others think?
>>
>
> Seperation of concerns is a good design philosophy, so it sounds
> good to me.
>
> I would imagine not trying to recognize Greasemonkey, but check if
> the dom is ever changed and then act on the dom (but then again, I
> have not looked at eithers source).
>

Either that or have a trigger function for Piggy Bank that a
Greasemonkey script could call?

alf.
Received on Wed Aug 10 2005 - 22:57:43 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT