fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote2011-03-30 03:01 am

Retrieving old comment text from quick reply

Has anyone ever managed to retrieve old comment text from a quick reply -- for example, if you accidentally closed your browser window, and then reopened it again?

I'm currently looking at it, and I see code that says it should be retrieving the saved form values, but I've never had it work, and I'm trying to figure out if it's just my browser / setup, or if it just plain doesn't work.
zillah975: Painting of my Night Elf, Tyrnathera Stormcaller (Default)

[personal profile] zillah975 2011-03-29 07:22 pm (UTC)(link)
I don't remember it retrieving the comment text if I closed the tab, but I think it sometimes retrieves it if I accidentally click a link and click the Back button to go back to the page.

Let's test....

Okay, I clicked to your main page and came back, and the comment text is still here. \o/ Now I'm closing the browser window.

Oh! I closed it and re-opened it, and the text is still here! Let's try again.

Okay, it worked again, even after opening other pages.

I'm using Chrome 10.0 on Windows XP.

Maybe it was LJ where it doesn't work. But at any rate, it's working for me here today.
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2011-03-29 07:35 pm (UTC)(link)
Firefox usually retrieve it for me, even when restarting the browser, yes. In fact, it worked with this very comment :)

(I use Firefox 3.6.16 with Ubuntu 10.10, and I force all comment pages to the Celerity scheme.)
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2011-03-29 08:21 pm (UTC)(link)
Backbuttoning after navigating away always produces the saved old comment text. Closing the tab is irregular: if I open a new identical tab while still on the existing tab, it doesn't save; if I visit the closed entry by directly typing in the URL it doesn't save; if I hit the same link I hit to open the entry in a new tab, also in a new tab, it only coughs up the saved text occasionally. I haven't been able to establish what the pattern is.
ninetydegrees: Drawing: a girl's face, with a yellow and green stripe over one eye (Default)

[personal profile] ninetydegrees 2011-03-29 08:31 pm (UTC)(link)
My cache is cleared every time I close my browser so no. It also doesn't save the text if I open the same URL in a new tab or open a link from this page. I think the only way it works for me is with the back button. (FF4 on Windows 7)
azurelunatic: A glittery black pin badge with a blue holographic star in the middle. (Default)

[personal profile] azurelunatic 2011-03-29 10:27 pm (UTC)(link)
I have, reasonably often, on Firefox.
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2011-03-29 11:57 pm (UTC)(link)
The only times I've had comment reply text retrieved for me is when the method I use to re-open the tab relies on the browser's cache. So for example, if I closed the tab, but used the recently closed tab function in the browser to reopen it - like *so* - the browser retrieves the text. Same for if I shut down with tabs open and save the tabs.

But all that is dependent on the browser doing it, and it happens for any website. As far as I know, no DW code comes into play here.