nonethefewer: The list that the Mayor held in BtVS s3e14. (list)
2012-09-16 12:21 pm
Entry tags:

Relevance.

If you want to add killfile functionality for Jim Hines's blog (it's presumed you know where to put things):

function jimchinesScenario() {
  return {
    commenttopxpath: "//li[starts-with(@id,'comment-')]/div",
    sigbit: "div/span[@class='authorname']",
    __proto__:wordpressScenario()
  };
}
 
jimchines:[{scenario:jimchinesScenario,hrefpat:"^[^/]*//[^/]*/[0-9]+"}],
nonethefewer: (Default)
2011-07-15 02:13 pm
Entry tags:

(no subject)

This is the homepage for the Feministe: Preview Comment script.  You are absolutely encouraged to leave suggestions, questions, or bugs here!
nonethefewer: (Default)
2011-06-12 05:38 pm

EVERYTHING BETTER ALWAYS

YES.

Auto add to Google Reader:

"Bypasses the "Add to Google homepage"/"Add to Google Reader" choice, directly adding to Google Reader."

Originally posted on Dreamwidth.  Number of comments so far:
nonethefewer: (Default)
2011-06-12 03:20 am

(no subject)

I updated the LJ Profile Reset script.  It now handles non-LJ profiles better (I missed two types, and one just got added), plus it displays the Installed Games block.

--

Today, I learned about The Room, chess boxing, and the virtues of monogamy, in case I was not aware.  So, today was a day.

[eta] Actually, the virtues of monogamy post is pissing me off more than I thought it would, so I should probably not post a long comment at four in the morning.  Yes.

Originally posted on Dreamwidth.  Number of comments so far:
nonethefewer: (Default)
2011-05-29 08:21 pm

Greasemonkey makes everything better always.

Ahhhh.

Greasemonkey script I found:

Disable Google Instant Preview

Originally posted on Dreamwidth.  Number of comments so far:
nonethefewer: (Default)
2011-05-10 07:54 pm
Entry tags:

(no subject)

LJ Profile Reset update, due to LJ changing back from community.lj.com/commname to commname.lj.com.

http://userscripts.org/scripts/show/37286

Originally posted on Dreamwidth.  Number of comments so far:
nonethefewer: (Default)
2011-03-19 06:52 pm

(no subject)

I'm playing this Flash game, and Josh noted that the dragons are future space dragons.  Of course, they are Pern dragons.

Later:

X: Yes, darken the sky with dragons.
J: Perneate the sky?
X: ...I dislike you.
J: I learned it from watching you!

--

In other news, if you're one of those who're using the for-DW Greasemonkey script for inserting usernames when in HTML view, there's an upgrade, as DW is going to allow for Twitter.com to be one of the "site" parameters for "user" in their next rollout.

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2011-01-25 09:58 am

(no subject)

Why did the most recent Greasemonkey addon update get worse?

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2010-12-29 09:18 am

Why hello!

Ahhh, bliss.

LJ Notes-like thing for Dreamwidth.

And then:

LJ Notes-like thing for LJ.  (My paid account has lapsed on LJ, and I have no intention of buying any more time (and do not want such a thing, pls), but I do miss notes).

The only downside is, it's browser-specific.  But, I'm sure with a bit of tinkering, I can set up syncing somewhere s s s.

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2010-10-28 06:00 pm
Entry tags:

(no subject)

Woo dee hoo, updated the LJ Profile Reset script.

I found that when you log in with an external service (FB, Twitter, Open ID) to comment, you actually get a profile, so I went and fixed the script to incorporate that a bit.

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2010-09-02 10:48 am

Stupid LJ.

LJ-specific o'clock:

Please don't crosspost comments on posts of mine to your Intertwitterfaceblags, pls.

You might see me have a FB thingamadoodle on my profile for a bit, but that's temporary whilst I tweak my Profile Reset GM script.  (I hadn't taken all external-services options into account, apparently.)  I not only have no intention of crossposting a damn thing, I wrote a script to remove even accidental clickage.  So no worries.

--

Here's what you can do to hide the options for yourself:

* Go here.  (Journal > Journal Style > Customize > CSS.)

* Add this line: .b-repost-item { display: none; }

* Click Save Changes.

That, at least, will prevent you from accidentally selecting one of the options when you make a comment.  Also, it sets commenting back to "[type] [tab] [enter]" to post the comment, which is pleasant.

Alas, this only works for certain journal styles, and not for format=light so much.  To get it for all styles, including format=light, you'd probably want to put this into Stylish, instead.  Naturally, I'll be doing this in GM, because I also want to remove that whole row, because I don't care about the settings and I like cleanliness in my comment forms.

Of course, I have approx. a million gazillion GM scripts, so this is hardly shocking.

Stylish code. )

GM code. )

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2010-09-02 10:48 am

Stupid LJ.

LJ-specific o'clock:

Please don't crosspost comments on posts of mine to your Intertwitterfaceblags, pls.

You might see me have a FB thingamadoodle on my profile for a bit, but that's temporary whilst I tweak my Profile Reset GM script.  (I hadn't taken all external-services options into account, apparently.)  I not only have no intention of crossposting a damn thing, I wrote a script to remove even accidental clickage.  So no worries.

--

Here's what you can do to hide the options for yourself:

* Go here.  (Journal > Journal Style > Customize > CSS.)

* Add this line: .b-repost-item { display: none; }

* Click Save Changes.

That, at least, will prevent you from accidentally selecting one of the options when you make a comment.  Also, it sets commenting back to "[type] [tab] [enter]" to post the comment, which is pleasant.

Alas, this only works for certain journal styles, and not for format=light so much.  To get it for all styles, including format=light, you'd probably want to put this into Stylish, instead.  Naturally, I'll be doing this in GM, because I also want to remove that whole row, because I don't care about the settings and I like cleanliness in my comment forms.

Of course, I have approx. a million gazillion GM scripts, so this is hardly shocking.

Stylish code. )

GM code. )
nonethefewer: (Default)
2010-08-24 08:32 am

(no subject)

For 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 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: comment count unavailable
nonethefewer: (Default)
2010-08-24 08:32 am

(no subject)

For 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 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.
nonethefewer: (Default)
2010-07-19 02:13 pm
Entry tags:

(no subject)

Incidentally, if you're using the LJ Profile Reset script, you should update.  Take a look-see at the Recent Changes part at that link to see why, obvs.

Originally posted on Dreamwidth.  Number of comments so far: comment count unavailable
nonethefewer: (Default)
2010-07-19 02:13 pm

(no subject)

Incidentally, if you're using the LJ Profile Reset script, you should update.  Take a look-see at the Recent Changes part at that link to see why, obvs.
nonethefewer: (Default)
2009-11-30 11:09 am

(no subject)

Userscript I've found that is good for people like me, who have both Gmail and fifty billion tabs open:

Gmail title unread count:
"Moves unread count in front of title. Good for tabs so it doesn't get cut off."

If you want to also remove the email address from the title (I only use the one @gmail address, so I want this), change this line in the script from:

newval = "(" + matches[1] + ') Gmail - Inbox - ' + endval;

To:

newval = "(" + matches[1] + ') Gmail - Inbox';

Then, change these lines from:

}
return (newval);


To:

} else if (newval.match(/Gmail - Inbox - .*/)) {
endval = newval.split("-")[0] + ' - ' + newval.split("-")[1];
newval = endval;
}
return (newval);
nonethefewer: (Default)
2009-10-27 08:53 am
Entry tags:

(no subject)

Today's awesome GM userscript:

LongURL Mobile Expander, by Sean Murphy.

"You should always know where a link takes you before clicking on it. Services like TinyURL make that difficult. LongURL Mobile Expander uses the LongURL.org web services to let you know where shortened links *really* go."

You know what this is useful for?  Twitter.
nonethefewer: (Default)
2009-09-08 01:57 am

(no subject)

I am missing something extraordinarily obvious, I just know it.

I am using Javascript, because I am using Greasemonkey.  I want to have a GM script that does the following:

* In a textarea field, I highlight a bit of text.
* I clicky the link.  (That I've inserted into the doc via GM, naturally.)
* A prompt comes up, with the highlighted text set as the default.
* I hit OK, so that this script will format the text.
* It replaces the highlighted text with the new text...
* ...and doesn't lose my place.

I can do every other part, but not that last one.  I get vague approximations, but they all completely suck.  Like scrolling to home, then putting the cursor just after the inserted text.  No scrolling, goddammit!  Make like Word's Find/Replace thing, all right?

I am not finding this, and I don't know why.

(Note to self: jQuery + GM?)
nonethefewer: (Default)
2009-07-14 09:31 am

(no subject)

For those who care...

There's a Greasemonkey script out there that automatically updates the date/time for a new Dreamwidth/Livejournal post.  The problem is, it continues to do so even if you are posting the entry out of order.  So, I updated the script.