(no subject)
Aug. 24th, 2010 08:32 amFor those who use the Greasemonkey script killfile, I found a way to add things for MetaFilter. It's not the prettiest, but it works, so.
I assume you know how to edit GM scripts, or how to Google for this.
There are two blocks of code to add.
1) Look for the line that contains
* If you know what you're doing here, just put it anywhere within the array; it being after Ravelry isn't required. I just like Ravelry, and it's an easy thing to point to for those who don't read Javascript.
2) Just above the
This will add the kill/hide bits at the end of the "posted by" line. I've emailed the author to see if he wants to put it in.
Originally posted on Dreamwidth. Number of comments so far:
I assume you know how to edit GM scripts, or how to Google for this.
There are two blocks of code to add.
1) Look for the line that contains
var scenariolist
. Look for the ravelry
line* and insert this line underneath: metafilter:[{scenario:metafilterScenario,hrefpat:"^[^/]*//[^/]*/[0-9]*/"}],
* If you know what you're doing here, just put it anywhere within the array; it being after Ravelry isn't required. I just like Ravelry, and it's an easy thing to point to for those who don't read Javascript.
2) Just above the
var scenariolist
line, add this block:function metafilterScenario() { return { commenttopxpath: "//div[contains(@class, 'comments')]", sigbit: "span/a", replaceXpath: ".", mangleAppend: "span[@class='smallcopy']", __proto__:basicScenario() }; }
This will add the kill/hide bits at the end of the "posted by" line. I've emailed the author to see if he wants to put it in.
Originally posted on Dreamwidth. Number of comments so far: