nancylebov: (green leaves)
[personal profile] nancylebov
A copy feature which would pick up both the highlighted material on a page and the page's url.

Having that picked up in one pass would make quoting with attribution handier.

Date: 2012-03-05 06:38 pm (UTC)
From: [identity profile] nancylebov.livejournal.com
It seems to just pick up its own url.

Date: 2012-03-05 07:05 pm (UTC)
From: [identity profile] darius.livejournal.com
That's because that's the page you had open, unless I'm confused. I saved the 'click this' link as a bookmark, then came back to this page and selected something, then invoked the bookmark. This produced "http://nancylebov.livejournal.com/533562.html#comments" plus the selected text.

Date: 2012-03-05 07:21 pm (UTC)
From: [identity profile] nancylebov.livejournal.com
Still not working. What do you mean by "invoke the bookmark"?

Date: 2012-03-05 07:35 pm (UTC)
From: [identity profile] darius.livejournal.com
Here's what I did in Firefox:

There's a toolbar at the top of the window for bookmarks, which can be enabled via the View menu (View -> Toolbars -> Bookmarks toolbar). At http://wry.me/hacking/copywithattribution.html drag "click this" into that toolbar.

Back on this page, "click this" should still be in the bookmarks toolbar. Select some text on this page, then click that "click this". When I do this, a dialog box pops up with this page's URL plus the highlighted text.

If I messed up and you want to let me know your browser version (typically via Help -> About), I'll try to figure it out.

Date: 2012-03-06 01:25 am (UTC)
From: [identity profile] dcseain.livejournal.com
Way cool! Thank you!

Date: 2012-03-06 03:48 am (UTC)
From: [identity profile] darius.livejournal.com
You're welcome!

Date: 2012-03-06 01:45 am (UTC)
From: [identity profile] nancylebov.livejournal.com
[personal profile] dcseain talked me through it. It turned out that I wasn't registering that I needed to move "click this" rather than the url.

My only excuse is that I had no idea that anything other than a url *could* be moved onto a toolbar.

Thanks for writing it.
Edited Date: 2012-03-06 01:49 am (UTC)

Date: 2012-03-06 03:48 am (UTC)
From: [identity profile] darius.livejournal.com
You're welcome. Sorry for the trouble -- I'm used to writing only for other programmers.

I'll see if I can polish it a bit, probably tomorrow.

Date: 2012-03-06 05:18 am (UTC)
ext_12246: (smiley)
From: [identity profile] thnidu.livejournal.com
This would be great, but I'm ... Huh? :-) First it didn't work, then it did:
http://nancylebov.livejournal.com/533562.html?style=mine&nc=11#comments If I messed up and you want to let me know your browser version (typically via Help -> About), I'll try to figure it out.
This is gonna be cool. Thanks!

eta: Ah. It doesn't work in gmail, but those aren't real webpages, in some way or other. That's where I happened to try it first.
Edited Date: 2012-03-06 05:24 am (UTC)

Date: 2012-03-06 11:43 am (UTC)
From: [identity profile] nancylebov.livejournal.com
[livejournal.com profile] dcseain found that it doesn't work on flash pages.

Date: 2012-03-05 07:37 pm (UTC)
From: [identity profile] darius.livejournal.com
The other way to invoke the bookmark is by finding it in the Bookmarks menu and clicking it there. Don't have to bother with the toolbar then.

May 2025

S M T W T F S
    123
45678910
11 121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 16th, 2025 11:01 am
Powered by Dreamwidth Studios