fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)fu ([staff profile] fu) wrote,
@ 2011-03-30 03:01 am UTC
  • Previous Entry
  • Add to Memories
  • Tell someone about this!
  • Next Entry
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.


(16 comments) - (Post a new comment)
(Flat) (Top-level comments only)

zillah975: Photo of a black cat in an orange field, crouched down low and looking alarmed. (meep)


[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.

(Reply to this)  (Thread


ninetydegrees: Drawing: a girl's pale face, with a yellow and green stripe over her right eye (stripe)


[personal profile] ninetydegrees
2011-03-29 08:31 pm UTC (link)
Sorry, wrong place!

Last edited 2011-03-29 08:32 pm UTC (*facepalm*)

(Reply to this)  (Thread from start)  (Parent


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:49 am UTC (link)
Thank you, that's really helpful! (From what I can tell, it depends on the browser and how the browser tab was closed -- and different things happen in different browsers *g*)

(Reply to this)  (Thread from start)  (Parent


snakeling: Statue of the Minoan Snake Goddess (snakeling: Minoan snake goddess, snakeling: Minoan Snake Goddess)


[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.)

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:50 am UTC (link)
*salutes* Thanks, that's helpful data!

(Reply to this)  (Thread from start)  (Parent


denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (me, standing outside a broken phone booth)


[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.

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:51 am UTC (link)
Ahhah the funny thing is that the behavior is almost opposite in Firefox. I'm assuming that you're describing how it works in Safari.

Also, we have code that supposedly makes it work consistently across browsers, but whatever it is, I can't seem to make it have any effect (that is, browser behavior is the same whether the code is in or not)

(Reply to this)  (Thread from start)  (Parent)  (Thread


denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (me, standing outside a broken phone booth)


[staff profile] denise
2011-03-30 07:15 pm UTC (link)
AH, JAVASCRIPT

(Reply to this)  (Thread from start)  (Parent


ninetydegrees: Drawing: a girl's pale face, with a yellow and green stripe over her right eye (stripe)


[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)

(Reply to this)  (Thread


sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (skype, sophie, weemee)


[personal profile] sophie
2011-03-29 11:52 pm UTC (link)
With the code that Fu's talking about, it wouldn't be dependent on your browser cache, I think.

(Reply to this)  (Thread from start)  (Parent


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:52 am UTC (link)
Thanks; that's useful to know!

(Reply to this)  (Thread from start)  (Parent


azurelunatic: cameo-like portrait of <user name="azurelunatic"> in short blue hair.  (_support, cameo)


[personal profile] azurelunatic
2011-03-29 10:27 pm UTC (link)
I have, reasonably often, on Firefox.

(Reply to this)  (Thread


sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (skype, sophie, weemee)


[personal profile] sophie
2011-03-29 11:56 pm UTC (link)
[deleted - I meant to post this as a top-level comment]

Last edited 2011-03-29 11:57 pm UTC

(Reply to this)  (Thread from start)  (Parent


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:52 am UTC (link)
Thank you!

(Reply to this)  (Thread from start)  (Parent


sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (skype, sophie, weemee)


[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.

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2011-03-30 09:53 am UTC (link)
Yeah, we apparently have code that's supposed to make the saving/restoring work across all browsers but as far as I can tell, it's not having the intended effect.

(Reply to this)  (Thread from start)  (Parent



(16 comments) - (Post a new comment)
(Flat) (Top-level comments only)