User:Ed6767/redwarnSurvey.js

// Aug 2020 survey if (rw.config.rwSurveyAugust2020 == null) rw.ui.confirmDialog(`                    ${rw.logoHTML} survey                     Hey all! Believe it or not, it's been a couple months since RedWarn's last survey, and during that time RedWarn's userbase has increased massively. Despite this, the lack of RedWarn feedback is still more clear than ever. We want to build the best and most user friendly counter-vandalism tool out there. Therefore, we've decided to collect user feedback again.  It would be much appreciated if you complete the attached survey. It opens in a new tab and should only take a few minutes. Your feedback is greatly appreciated, and will help hundreds of RedWarn users. Thank you!   You will be completing a Google Forms survey on a non-WMF hosted server - if you don't feel comfortable with leaving WMF sites, please email ed6767wiki (at) gmail.com and we can provide an email version of the survey. `,                   "COMPLETE QUICK SURVEY", =>{ dialogEngine.closeDialog; redirect(atob("aHR0cHM6Ly9mb3Jtcy5nbGUvU1BnRUs4dTlESGkxQ0RCRTc="), true); // pass spam filter because of gdoc link rw.config.rwSurveyAugust2020 = "opened"; // hides the dialog in future rw.info.writeConfig(true, =>{}); // save config },                   " NO THANKS, I DON'T WANT TO HELP REDWARN ", =>{ dialogEngine.closeDialog;//this thing turns it off rw.visuals.toast.show("You can always submit feedback at any time at WT:RW");//display a toast rw.config.rwSurveyAugust2020 = "dismissed"; // hides the dialog in future rw.info.writeConfig(true, =>{}); // save config },400);