Re: Content Security Policy - Relaxed Restrictions Mode(s)

2009-07-05 Thread FunkyRes
On Jul 1, 5:20 pm, Jonas Sicking jo...@sicking.cc wrote: myForm.addEventListener(submit, function(event) {    if (!checkform()) {      event.preventDefault();    } }, false); That did work, I had a typo was all. Good enough for now, for IE - I'll deal with it later. Thank you.

Re: Content Security Policy - Relaxed Restrictions Mode(s)

2009-07-01 Thread Bil Corry
FunkyRes wrote on 7/1/2009 5:43 AM: A library of function examples that do things cross platform in a fully CSP compliant way would be a godsend, and IMHO preferable to taking the easy way out and loosening up the enforcement. I personally use jQuery to abstract the cross-platform issues:

Re: Content Security Policy - Relaxed Restrictions Mode(s)

2009-07-01 Thread Jonas Sicking
FunkyRes wrote: On Jun 22, 4:15 pm, Brandon Sterne bste...@mozilla.com wrote: Some sites have shared the desire to use some features of CSP, but not all of them at once. For example, a site may want to utilize the content loading features of CSP to help prevent data exfiltration, but they may