afuna_archive: (what does this button do)
[personal profile] afuna_archive
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.

Date: 2007-11-08 07:43 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Must also remmember to shift the positioning of the userpic input thingy. Tireeed. Brain reverting to baby mode. Where is the edit button on the entry???

Date: 2008-03-24 06:05 pm (UTC)
aveleh: Close up picture of a vibrantly coloured lime (Default)
From: [personal profile] aveleh
did you ever end up doing anything with this?

Date: 2008-03-25 05:17 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
No D:

Any suggestions? :-)

Date: 2008-03-25 05:18 am (UTC)
aveleh: Close up picture of a vibrantly coloured lime (Default)
From: [personal profile] aveleh
Not now, no. Just curious.

Date: 2008-03-25 05:20 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
If you have any, you know where to go <3

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. 6th, 2025 10:24 am
Powered by Dreamwidth Studios