Comments by teridon on scripts

16 comments

Comment on:
YouTube to me v2

Dec 29, 2007

Update: Actually, it looks like only *some* videos (perhaps new ones?) cannot be downloaded with this.

Comment on:
YouTube to me v2

Dec 18, 2007

It sure looks like youtube has disabled the download URL this script used (http://youtube.com/get_video?video_id=xxxx), so this script no longer works! :(

Comment on:
YouTube Video Downloader

Sep 10, 2007

Heh.. I also updated this script! I wish you had commented in the original so I didn't duplicate work. Mine is different, though; no http request needed...
http://userscripts.org/scripts/show/12119

Comment on:
APOD Arrows

Sep 10, 2007

Should add to the include list http://apod.gsfc.nasa.gov (DNS alias to antwrp)

Comment on:
YouTube to me

Sep 9, 2007

I've updated this script so that it actually works:
http://userscripts.org/scripts/show/12119

Nevermind.. seems they fixed it.

It seems with the latest digg update that they changed something. On subsequent pages (e.g. digg.com/all/page2), there is no "diggs0" div. Instead, it starts at "digg1". To fix this, replace lines 112-117 with:
if (location.href.indexOf("page") != -1) {
// For some reason, subsequent pages don't start from enclosure0, they start from enclosure1
for ( var i = 1; i <= result.snapshotLength; i++ )
{
//GM_log("href is " + result.snapshotItem(i - 1).href);
addIcons ( result.snapshotItem ( i -1 ), true, i );
}
} else {
for ( var i = 0; i < result.snapshotLength; i++ )
{
//GM_log("href is " + result.snapshotItem(i).href);
addIcons ( result.snapshotItem ( i ), true, i );
}
}
}

Comment on:
Digg Washer v2

Aug 29, 2007

Hi John_Za,
I'm guessing you've never used Digg Washer before either?
Anyway, click the "Show Options" button near the top, to the left of "Most Recent", "Top in 24 Hr", etc. To add a "hide word", "topic", or "user" to filter, enter the text in the Digg search box, then click "Add Topic", "Add Hideword", or "Add User".

Comment on:
Digg Washer

Aug 29, 2007

I have updated this script to work with the latest (i.e. late August 2007) version of Digg. Also, I added the capability to filter by username! It's called "Digg Washer v2", Get it here

Comment on:
Apple Discussions Auto login v1

Jul 19, 2007

It doesn't seem to work for me :(

Comment on:
Digg Washer

Jul 8, 2007

Digg seems to have updated their pages. The story text is now in the second paragraph of the enclosure. So you need to change line 71 to: var text = document.evaluate("div/p[2]/text()", div, null, XPathResult.STRING_TYPE, null).stringValue;
(add the [2] to the p)

Comment on:
Fark Block

Jun 20, 2007

This worked for me for blocking non-TFers. The table class for TFers is different (ctableTF). So, to block TFers too, I just duplicated the existing code for ctable and substituted ctableTF.

Comment on:
Fark Block 2

Jun 20, 2007

This one didn't work for me.. but Fark Block did.

Comment on:
Fark Lite

Apr 27, 2007

For Fark 2.0, you need to change the link_container_xpath:

link_container_xpath: "//tr[@class='headlineRow']/td[position() = 1]/a",

and the link_category_xpath:

link_category_xpath = "//tr[@class='headlineRow']/descendant::img[translate...

Comment on:
Fark Lite

Oct 31, 2006

Ok, it looks like you just need to edit the script and change "location=" to "l=" (in fark_passthru_script_regex)

Comment on:
Fark Lite

Oct 31, 2006

Is it just me, or did Fark change something? My links are now going back to go.fark.com...