Open main menu

CDOT Wiki β

Changes

Clear Private Data

1,205 bytes added, 12:46, 29 September 2006
no edit summary
== Documentation ==
 
Searched "Clear Private Data" in LXR for Mozilla 1.8.0 branch.
 
Found "/browser/locales/en-US/chrome/browser/browser.dtd, line 169 -- <!ENTITY clearPrivateDataCmd.label "Clear Private Data">", line 169 which did not help us. This file seems to describe the browser labels and buttons, but it does not link to code.
 
Found "/browser/locales/en-US/chrome/help/menu_reference.xhtml, line 351 -- <h3 id="clear_private_data">Clear Private Data...</h3>" which gives us some xml tag id which may help. Going to search that tag. We found anothe route.
 
Found "/browser/locales/en-US/chrome/browser/browser.properties, line 106 -- sanitizeButton=Clear Private Data Now". The sanitize button seemed interesting, so we searched that and got:
 
104 # Sanitize
105 sanitizeWithPromptLabel=Clear Private Data...
106 sanitizeButton=Clear Private Data Now
 
Found "/browser/base/content/sanitize.xul, line 75 -- document.documentElement.getButton("accept").label = bundleBrowser.getString("sanitizeButton");". [http://lxr.mozilla.org/mozilla1.8.0/source/browser/base/content/sanitize.xul#75] seems to link the button to some javascript source. We will search sanitize.js and see if that brings up anything interesting.
1
edit