************************
OK…this is kinda incredible.
An hour after this posted, Swedish DORK TOWER reader Martijn van der Ven sent me a way you can actually DO this, with an example! (I’m guessing he used the the Firefox add-on Stylish).
Hi John!
I just saw your latest Dork Tower update and I loved it.
So I decided to see how it works out in practice.
Screenshot: http://grab.by/6xPf
You will see the comments to a random Munchkin video clip, then, “I’m a fraking moron” appended to them.
You will also see how I did it.
From now on, all the YouTube comments I will ever see will have this sentence appended to them automatically! It really makes YouTube understandable. Thanks for the tip! 😉
Kind Regards,
Martijn van der Ven
Click on the above image, or here, for a larger version.
************************
************************
And here’s the Stylish code, or script, or whatever the kidz are calling it these days:
************************
BUT THERE’S MORE! London reader Richard George has a Greasemonkey script for this. It can be found here.
// ==UserScript==
// @name Youtube Moroniser
// @namespace dork
// @include http://www.youtube.com/*
// ==/UserScript==
// See: http://www.dorktower.com/2010/09/24/5585/
var comments;
var thisComment;
comments=document.evaluate(“//div[@class=’comment-text’]”,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
if(comments) {
for (var i = 0; i < comments.snapshotLength; i++) {
thisComment= comments.snapshotItem(i);
comments.snapshotItem(i).innerHTML=thisComment.innerHTML+'
But then, I\’m a frakking moron.’; //break;
************************
HOLY CATS, I love my readers. Seriously. You guys ROCK!
John