NoScript blocking wanted popups on a trusted site
Posted: Wed Jan 20, 2010 10:37 pm
I frequently take tests on my school's site; I have it whitelisted in NoScript.
In the tests, there's a Save button next to each question. The Save button sets a global variable (window.document.assessmentSaved) to prevent trouble from saving multiple questions, then pops up a window saying "This question has been saved." When the window closes, window.document.assessmentSaved is returned to False.
If window.document.assessmentSaved is true and I hit the "Save" button again, I get a message: "The saved assessment attempt is already being processed." and the save attempt fails.
Ever since upgrading NoScript (not sure how far I upgraded it, since I don't restart Fx very often - it's possible I was two or three versions behind the latest), the popup windows won't show up. Because the popup windows are responsible for doing the actual question saving, the question doesn't get saved; because I can't save any other questions, I have to restart the test. Not fun, especially on lockout exams (I've already gotten locked out once; fortunately the teacher reset it for me).
I thought it was probably a Fx malfunction, until I saw my sister earlier today. She goes to the same school, uses Firefox, and uses the same Save buttons I do. Her Save attempts all worked, while mine all failed. I couldn't begin to imagine why until I remembered the NoScript popunder blocker; a quick check with a completely clean profile confirms that the Save attempts work without NoScript. Why is NoScript preventing a popup I asked for on a trusted site? (Not upset - as a programmer I know these things happen - but I am curious)
I will provide a link via PM if you need one (don't want to provide a link publicly, for reasons I can explain via PM); I can also provide the JavaScript responsible for saving the questions if that would be useful.
Thanks, and keep up the great work!
In the tests, there's a Save button next to each question. The Save button sets a global variable (window.document.assessmentSaved) to prevent trouble from saving multiple questions, then pops up a window saying "This question has been saved." When the window closes, window.document.assessmentSaved is returned to False.
If window.document.assessmentSaved is true and I hit the "Save" button again, I get a message: "The saved assessment attempt is already being processed." and the save attempt fails.
Ever since upgrading NoScript (not sure how far I upgraded it, since I don't restart Fx very often - it's possible I was two or three versions behind the latest), the popup windows won't show up. Because the popup windows are responsible for doing the actual question saving, the question doesn't get saved; because I can't save any other questions, I have to restart the test. Not fun, especially on lockout exams (I've already gotten locked out once; fortunately the teacher reset it for me).
I thought it was probably a Fx malfunction, until I saw my sister earlier today. She goes to the same school, uses Firefox, and uses the same Save buttons I do. Her Save attempts all worked, while mine all failed. I couldn't begin to imagine why until I remembered the NoScript popunder blocker; a quick check with a completely clean profile confirms that the Save attempts work without NoScript. Why is NoScript preventing a popup I asked for on a trusted site? (Not upset - as a programmer I know these things happen - but I am curious)
I will provide a link via PM if you need one (don't want to provide a link publicly, for reasons I can explain via PM); I can also provide the JavaScript responsible for saving the questions if that would be useful.
Thanks, and keep up the great work!