Skip to content

Instantly share code, notes, and snippets.

@charmander
Created February 12, 2016 02:59
Show Gist options
  • Save charmander/bbf7ce15fc40418c8983 to your computer and use it in GitHub Desktop.
Save charmander/bbf7ce15fc40418c8983 to your computer and use it in GitHub Desktop.
persistUntrusted: function(snapshot) {
if (typeof(snaposhot) == "string") {
this.untrustedSites.sitesString = snapshot;
}
this.untrustedSites.toPref(this.prefs, "untrusted");
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment