home *** CD-ROM | disk | FTP | other *** search
/ Minami 80 / MINAMI80.iso / Extra / DivXInstaller.exe / $PLUGINSDIR / GoogleToolbarFirefox.msi / xpi / chrome / tb-amulet-of-protection / content / protection-overlay-bootstrapper.xul < prev    next >
Extensible Markup Language  |  2006-05-15  |  1KB  |  27 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- This overlay inserts a js file that has the logic of whether or not we
  4.      can run in this version of Firefox. If so, the js file dynamically 
  5.      loads the real overlay and hooks this browser window up to the 
  6.      application already running its own XPCOM context.
  7.  
  8.      This separate bootstrapping step is necessary because the old
  9.      (non-toolbar) extension could be installed, and we don't want to 
  10.      simultaneously overlay the same content from the old and new
  11.      extensions. Both overlays and their associated code use the 
  12.      same ids as well as command names, but this is OK since there
  13.      is at most one of the overlays actually loaded, at most one 
  14.      of the applications instantiated, and therefore at most one
  15.      controller to handle the commands (and at most one element with
  16.      each id overlaid). 
  17. -->
  18.  
  19. <overlay id="amulet-of-protection-overlay-bootstrapper"
  20. xmlns:html="http://www.w3.org/1999/xhtml"
  21. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  22.  
  23.   <script 
  24.   src="chrome://tb-amulet-of-protection/content/protection.js" />
  25.  
  26. </overlay>
  27.