gab-ai-inc / gab-dissenter-extension

Dissenter.com Browser Extension source code
https://dissenter.com
Apache License 2.0
272 stars 43 forks source link

Bug: Losing what you type if you move the focus off the window #9

Open ksylvan opened 5 years ago

ksylvan commented 5 years ago

On Firefox and Chrome, if I click on the Dissenter button, start making a comment, then move the focus off the window and the side bar (and my comment) disappears.

Maybe the extension should somehow save what you type as a draft and then pull it back up when you re-engage with the page?

mgabdev commented 5 years ago

Thanks for submitting an issue. The reason this happens is due to instantiating the popup every time the popup button is clicked. Will investigate potential fixes.

johnmarkkarr commented 5 years ago

I think the server will need to be setup to enable CORS because the extension needs to access the content of an iframe. Need to add a storage permission as well, probably, but that doesn't give a warning so it won't scare people away.

article10 commented 5 years ago

I just experienced this as I was typing a reply to a Dissenter comment. I moved to another tab to look at some info to put in the reply and then moved back, and I needed to locate my comment again in the dissenter tab because the reply field had refreshed or something. The content of my draft reply was still there, however... if it can save the content, why can it not save the active reply field?

ksylvan commented 1 year ago

Is the Dissenter extension even a thing nowadays?