I am using Backbone.LocalStorage plugin with backbone app. It is working fine in chrome and safari however, it is giving me below error in firefox.
DO
This happens when we try to access a resource (CSS...) that is located on a different domain. To deal with this error we can use this:
try { //your critical access to ressources ! //rules = document.styleSheets[i].cssRules; } catch(e) { if(e.name !== "SecurityError") { throw e; }