Nov. 9th, 2007

afuna_archive: (what does this button do)
Google recently published an API for Greasemonkey scripts. I haven't had a chance to test it yet, or to even look closely, but if it's possible to use it to easily access and edit content in a message, that would be perfect.

(And even if it isn't, just the concept excites pleases me very much.)

Update:
Yes, it is possible, because I've just managed to add in a userpic input field for LJ comment notifications. It took me longer to figure out how to get the script to load in Greasemonkey, than it took to figure out the logic to add in the input textbox. I should have scrolled down -- there's a sample script on the API page which explains that you have to add an onload event listener.

Still not done, as I'm too lazy to do the three items on the todo list for the script:

// TODO: make it a dropdown (Can use this and then store it, I suppose)
// TODO: check that it *is* a comment notification ;-0
// need to add something for when a message is expanded, if it's possible via the API

But I now have a fair grasp of the way around the API. Want to play with it so badly, but I need to sleep because I promised myself I would get that student's license by tomorrow.
afuna_archive: (bad hair day)
I've been to the LTO thrice to get my student's license. Guess what? Still no license.

The first time I went, on Wednesday, they had already closed even though it was just 2PM. Told me to come back the next day. Went a second time today (Friday), but apparently I needed ID pictures (I was under the impression that the ID picture taking would be done on the spot; guess not). Went to get my picture taken, came back after half an hour

...and they were closed again, even though it was just 4PM.

At some point, they *will* let me get my license, and I *will* learn how to drive. It's way past time for me to do so. (I've never had to drive before because we've always had more drivers than cars. Now that that's no longer the case, I have no choice/excuse.)
afuna_archive: (Default)
I start my First Real Job in a week and a half (November 19) :-)

Profile

afuna_archive: (Default)
afuna_archive

June 2009

S M T W T F S
  1 2 3 4 5 6
7 8 9 10 11 1213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 12:50 am
Powered by Dreamwidth Studios