[Greasemonkey] Changing Links without IDs
vaesel at poczta.onet.pl
vaesel at poczta.onet.pl
Mon Mar 20 16:37:27 EST 2006
fastest and easiest way is XPath:
link_without_id = document.evaluate("//a[text()='text of the
URL']",document,null,9,null).singleNodeValue
> I'm a noob. How might I change a link that has no ID? It's main identifying
> feature is the text of the URL.
> --
> View this message in context: http://www.nabble.com/Changing-Links-without-IDs-t1310523.html#a3491665
> Sent from the MozDev - greasemonkey forum at Nabble.com.
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list