On 2014-06-07 08:54, 'Ben Stover' via greasemonkey-users wrote:
var div = document.getElementsByClassName("div.articleHead")[0];
div.innerHTML = "<a href=\"" + address + "\">" + address + "</a><br/>" +
div.innerHTML;
The problem is with this line:
var div = document.getElementsByClassName("div.articleHead")[0];
The classname is articleHead, so the correct expression would be
document.getElementsByClassName("articleHead")[0];
--
Klaus Johannes Rusch
[email protected]
http://klausrusch.atmedia.net/
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.