Prevent survey from appearing on all pages
Fragment of a discussion from Extension talk:Survey
Hitting the db will only help when you require users to login, which is a restriction I do not want to put in the extension. In general the current setup works just fine, but I agree it does not work in your use case. The JS is actually based on what is done on Wikipedia with the banner campaigns.
> When you first visit a survey page the survey is 'completed' by creating a cookie, regardless of if the user actually fills in the form or presses SEND.
Indeed. In some situations you want this, in others you don't. Rather then changing this, I'd introduce another setting.