The Thing What I Wrote
Apr. 30th, 2011 09:13 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I spent the afternoon grappling with Javascript, writing my very first Firefox addon.
I repost images on Livejournal/Dreamwidth a lot, and I'm not the only one. And I've noticed that I tend to forgot the alt text (and title text) when I do that.
So what would be very handy is if I could right-click on an image and select "Copy Image Source" and get the image, complete with any information that was in the IMG tag.
And so I wrote one.
You can get it here if you think it would be useful.
And if you have any feedback on improvements to it, just let me know. It's trivially simple, but that doesn't mean I've missed something obvious that would make it better for some people.
I repost images on Livejournal/Dreamwidth a lot, and I'm not the only one. And I've noticed that I tend to forgot the alt text (and title text) when I do that.
So what would be very handy is if I could right-click on an image and select "Copy Image Source" and get the image, complete with any information that was in the IMG tag.
And so I wrote one.
You can get it here if you think it would be useful.
And if you have any feedback on improvements to it, just let me know. It's trivially simple, but that doesn't mean I've missed something obvious that would make it better for some people.
no subject
Date: 2011-05-01 03:44 am (UTC)Test:
Excellent.
no subject
Date: 2011-05-01 03:46 am (UTC)no subject
Date: 2011-05-01 09:44 am (UTC)I'm looking at this documentation and not seeing anything useful for that.
no subject
Date: 2011-05-01 07:14 am (UTC)(Of course for your example case of xkcd people are hardly going to fail to recognise where it's from, but...)
no subject
Date: 2011-05-01 08:50 am (UTC)no subject
Date: 2011-04-30 08:30 pm (UTC)no subject
Date: 2011-04-30 10:39 pm (UTC)no subject
Date: 2011-05-01 03:44 am (UTC)no subject
Date: 2011-05-01 09:31 am (UTC)no subject
Date: 2011-05-02 08:36 pm (UTC)And also converts a relative URL into an absolute one.
Do me a favour and give it a test run?
https://addons.mozilla.org/en-US/firefox/addon/image-source-copier/
Should show version 0.3 (which is the version I just uploaded).
I ought to work out how to do options, so I can turn on and off the different bits of functionality for different users...
no subject
Date: 2011-05-02 08:42 pm (UTC)no subject
Date: 2011-05-02 08:42 pm (UTC)no subject
Date: 2011-05-02 08:46 pm (UTC)I've changed the A into a lower case one though, just for you. (I shan't bother doing another release for that, it'll get picked up next time I do one though).
no subject
Date: 2011-04-30 11:41 pm (UTC)no subject
Date: 2011-05-01 09:32 am (UTC)Some way of combining the two would be lovely, I agree.
no subject
Date: 2011-05-01 11:14 am (UTC)no subject
Date: 2011-05-01 11:18 am (UTC)no subject
Date: 2011-05-01 12:50 pm (UTC)no subject
Date: 2011-05-01 01:02 pm (UTC)So I try to do something like this and post it, with the image being a link to the source.