[RESOLVED] pop up reminder about forms that auto-clear

Bug reports and enhancement requests
Post Reply
anon1357
Posts: 13
Joined: Fri Mar 05, 2010 10:39 pm

[RESOLVED] pop up reminder about forms that auto-clear

Post by anon1357 »

I sometimes fill out a form, click submit, and nothing happens. Then I find the proper domain to enable in NoScript. Then the page reloads, and the form is cleared, so I have to fill it out again. Not all forms have this problem, so it must have something to do with the way they are implemented.

I don't know if this is possible, but I would like to see NoScript detect this type of auto-clearing form and pop up a warning to enable Javascript before filling out the form.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Suggestion - pop up reminder about forms that auto-clear

Post by GµårÐïåñ »

AFAIK, the way NoScript reloads the page when scripting is allowed already is designed to the best of its ability to preserve the fields. My experience has been this way as long as I have used it, HOWEVER, there are occasions that it will clear but I believe that to be a server side or form specific clearing based on how they create it and it has nothing to do with NoScript. Unfortunately there is no fool proof way to know in advance if the developer has written a crap code that will reset or not. Ultimately I will let Giorgio weigh in on this but this was my two cents based on my experience.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
anon1357
Posts: 13
Joined: Fri Mar 05, 2010 10:39 pm

Re: Suggestion - pop up reminder about forms that auto-clear

Post by anon1357 »

Right - I understand NoScript can't solve the issue of poorly coded sites. I was just hoping it might be able to _detect_ the sites with the problem and give the user a warning notice so they don't forget to enable javascript on the site before starting to fill out the form.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Suggestion - pop up reminder about forms that auto-clear

Post by GµårÐïåñ »

To the best of my knowledge, there is no way to evaluate the page content for whether or not it will keep or discard the content but again maybe Giorgio has a trick, we'll see. I will ask him to take a look here and comment.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Suggestion - pop up reminder about forms that auto-clear

Post by Giorgio Maone »

Unfortunately there's no sure-fire way to detect which forms will be erased and which not, sorry :(
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Suggestion - pop up reminder about forms that auto-clear

Post by GµårÐïåñ »

Direct from the man himself, as promised. Unfortunately same as I said before, there is no way to know and that's confirmed. Sorry, I was hoping I was wrong, although I was pretty sure I wouldn't be. I would suggest to be on the safe side, when you reach a form, BEFORE you fill it, take care of allowing all the needed scripts before continuing, that's what I do.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: [RESOLVED] pop up reminder about forms that auto-clear

Post by Thrawn »

You might be able to hunt down another addon that will help to preserve form data, though. Not sure if Lazarus would help?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [RESOLVED] pop up reminder about forms that auto-clear

Post by GµårÐïåñ »

There is actually an addon called Lazarus but there was some discussion over privacy concerns regarding the monitoring, capturing and storing of the form content, not sure how that was resolved. I used it myself for a while, found it reasonably ok, but not worth the hassle sometimes, and the privacy concern was something I wasn't happy with either. But yeah if willing, there is a tool for it.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Post Reply