5

I was trying to upload a photo I made for my sidebar image, but I titled it "phuksneedshelp" and apparently that is too many characters. My screen refreshed and my CSS entries were deleted.

I was trying to upload a photo I made for my sidebar image, but I titled it "phuksneedshelp" and apparently that is too many characters. My screen refreshed and my CSS entries were deleted.

7 comments

[–] Polsaker 3 points (+3|-0)

Uploading stuff will refresh the page, refreshing the page will undo anything that was not saved

[–] ScorpioGlitch 1 points (+1|-0) Edited

You could catch the unload and intercept if things have changed. Give the user a chance to save. You'll have to catch for safari specifically though because, in their Infinite Wisdom(TM), they made safari different.

[–] ScorpioGlitch 2 points (+2|-0)

Sometimes textboxes retain what was last in them if you browser forwards and back. If this happens again, try going through your history and see if you can grab them (copy, paste into notepad, save where they belong).