reloadWithFlags

reloadWithFlags( flags )
Return type: no return value
Reloads the document in the browser with the given load flags. The flags listed below may be used, which are all constants of the webNavigation property (or the nsIWebNavigation interface). You may combine flags using a or symbol ( | ).
  • LOAD_FLAGS_NONE: No special flags. The document is loaded normally.
  • LOAD_FLAGS_BYPASS_CACHE: Reload the page, ignoring if it is already in the cache. This is the flag used when the reload button is pressed while the Shift key is held down.
  • LOAD_FLAGS_BYPASS_PROXY: Reload the page, ignoring the proxy server.
  • LOAD_FLAGS_CHARSET_CHANGE: This flag is used if the document needs to be reloaded because the character set changed.