Created
February 27, 2014 07:16
-
-
Save Noitidart/9245770 to your computer and use it in GitHub Desktop.
_snippet-ff-addon-AppendFlag - This is a snippet to show you how to append a flag to existing flags. Plan to figure out how to remove a flag from existing flags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var loadFlags = chan.loadFlags; | |
| if (chan.URI.schemeIs("https")) | |
| loadFlags &= ~chan.INHIBIT_PERSISTENT_CACHING; //the &= ~ will add it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment