Changeset 463
- Timestamp:
- 2007-07-01 07:44:22 (2 years ago)
- Files:
-
- trunk/chrome.manifest (modified) (2 diffs)
- trunk/chrome/content/dta/select.xul (modified) (1 diff)
- trunk/chrome/content/integration/elements.js (moved) (moved from trunk/chrome/content/integration/menu.js) (8 diffs)
- trunk/chrome/content/integration/elements.xul (added)
- trunk/chrome/content/integration/firefox.xul (moved) (moved from trunk/chrome/content/integration/browser.xul) (1 diff)
- trunk/chrome/content/integration/menu.xul (deleted)
- trunk/chrome/content/integration/saveas.xul (modified) (1 diff)
- trunk/chrome/content/integration/seamonkey.js (added)
- trunk/chrome/content/integration/seamonkey.xul (added)
- trunk/chrome/content/preferences/interfacePane.xul (modified) (2 diffs)
- trunk/chrome/content/preferences/prefs.xul (modified) (1 diff)
- trunk/chrome/content/preferences/seamonkey.xul (added)
- trunk/chrome/help/faq.html (modified) (1 diff)
- trunk/chrome/help/help.dtd (modified) (1 diff)
- trunk/chrome/help/preferences.html (modified) (1 diff)
- trunk/chrome/locale/en-US/menu.dtd (modified) (1 diff)
- trunk/chrome/locale/en-US/menu.properties (modified) (1 diff)
- trunk/chrome/locale/en-US/prefpanes.dtd (modified) (1 diff)
- trunk/defaults/preferences/dta.js (modified) (2 diffs)
- trunk/install.rdf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/chrome.manifest
r395 r463 1 1 ### package ### 2 ## general ## 2 3 content dta chrome/content/ 3 4 content dta-help chrome/help/ … … 5 6 locale dta en-US chrome/locale/en-US/ 6 7 7 ## # platform package ###8 ## platform package ## 8 9 content dta-platform chrome/content/ platform 9 10 skin dta-platform classic/1.0 chrome/skin/ 10 11 11 ### browser ### 12 overlay chrome://browser/content/browser.xul chrome://dta/content/integration/menu.xul 13 overlay chrome://browser/content/browser.xul chrome://dta/content/integration/browser.xul 12 ### integration ### 13 14 ## general ## 15 # work-around bugs in loadOverlay preventing seamonkey integration otherwise 16 overlay chrome://dta/content/preferences/prefs.xul chrome://dta/content/preferences/interfacePane.xul 17 18 ## Firefox ## 19 overlay chrome://browser/content/browser.xul chrome://dta/content/integration/firefox.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 20 overlay chrome://dta/content/integration/firefox.xul chrome://dta/content/integration/elements.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 21 style chrome://browser/content/browser.xul chrome://dta/skin/integration/style.css application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 22 style chrome://global/content/customizeToolbar.xul chrome://dta/skin/integration/style.css application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 23 # privacy control 24 overlay chrome://browser/content/browser.xul chrome://dta/content/privacy/overlayBrowser.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 25 overlay chrome://browser/content/preferences/sanitize.xul chrome://dta/content/privacy/overlaySanitizeUI.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 26 overlay chrome://browser/content/sanitize.xul chrome://dta/content/privacy/overlaySanitizeUI.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 27 overlay chrome://browser/content/sanitize.xul chrome://dta/content/privacy/overlaySanitizeCode.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 28 29 ## Seamonkey ## 30 overlay chrome://navigator/content/navigator.xul chrome://dta/content/integration/seamonkey.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 31 overlay chrome://dta/content/integration/seamonkey.xul chrome://dta/content/integration/elements.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 32 overlay chrome://dta/content/preferences/interfacePane.xul chrome://dta/content/preferences/seamonkey.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 33 style chrome://navigator/content/navigator.xul chrome://dta/skin/integration/style.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 34 35 ## toolkit ## 14 36 overlay chrome://mozapps/content/downloads/unknownContentType.xul chrome://dta/content/integration/saveas.xul 15 16 ### privacy control ###17 overlay chrome://browser/content/browser.xul chrome://dta/content/privacy/overlayBrowser.xul18 overlay chrome://browser/content/preferences/sanitize.xul chrome://dta/content/privacy/overlaySanitizeUI.xul19 overlay chrome://browser/content/sanitize.xul chrome://dta/content/privacy/overlaySanitizeUI.xul20 overlay chrome://browser/content/sanitize.xul chrome://dta/content/privacy/overlaySanitizeCode.xul21 22 ### styles ###23 style chrome://browser/content/browser.xul chrome://dta/skin/integration/style.css24 style chrome://global/content/customizeToolbar.xul chrome://dta/skin/integration/style.css25 26 27 trunk/chrome/content/dta/select.xul
r433 r463 23 23 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 24 24 title="&title;" 25 width="6 25" height="500"25 width="675" height="575" 26 26 id="selectlinks" 27 27 onload="Dialog.load();" trunk/chrome/content/integration/elements.js
r442 r463 53 53 }, 54 54 55 trim : function(t) {55 trim: function(t) { 56 56 return t.replace(/^[ \t_]+|[ \t_]+$/gi, '').replace(/(_){2,}/g, "_"); 57 57 }, 58 58 59 addLinksToArray : function(lnks, urls, doc) {59 addLinksToArray: function(lnks, urls, doc) { 60 60 var ref = doc.URL; 61 61 if (!('length' in lnks)) { … … 101 101 }, 102 102 103 addImagesToArray : function(lnks, images, doc) {103 addImagesToArray: function(lnks, images, doc) { 104 104 var ref = doc.URL; 105 105 … … 142 142 143 143 // recursively add stuff. 144 addLinks : function(aWin, aURLs, aImages, honorSelection) {144 addLinks: function(aWin, aURLs, aImages, honorSelection) { 145 145 146 146 function filterElements(nodes, set) { … … 203 203 }, 204 204 205 findLinks : function(turbo, all) {205 findLinks: function(turbo, all) { 206 206 try { 207 207 if (turbo) { … … 259 259 }, 260 260 261 findSingleLink : function(turbo) {261 findSingleLink: function(turbo) { 262 262 try { 263 263 var win = document.commandDispatcher.focusedWindow.top; … … 300 300 }, 301 301 302 init : function() { 303 try { 304 var o = { 305 ctx: document.getElementById("contentAreaContextMenu"), 306 menu: document.getElementById("menu_ToolsPopup") 307 }; 308 if (!o.ctx || !o.menu) { 309 o = { 310 ctx: document.getElementById("messagePaneContext"), 311 menu: document.getElementById("menu_ToolsPopup") 312 }; 313 } 314 if (!o.ctx || !o.menu) { 315 return; 316 } 317 o.ctx.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onContextShowing(evt); }, false); 318 o.menu.addEventListener("popupshowing", this.onHideTool, false); 302 init: function() { 303 try { 304 var ctx = document.getElementById("dtaCtxCompact").parentNode; 305 var menu = document.getElementById("dtaToolsMenu").parentNode; 306 ctx.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onContextShowing(evt); }, false); 307 menu.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onToolsShowing(evt); }, false); 319 308 320 309 // prepare ctx object … … 323 312 ['SepBack', 'Pref', 'SepPref', 'TDTA', 'DTA', 'SaveT', 'Save', 'SepFront'].forEach( 324 313 function (e) { 325 DTA_ContextOverlay.ctx[e] = document.getElementById('dtaCtx' + e); 326 } 314 this.ctx[e] = document.getElementById('dtaCtx' + e); 315 }, 316 this 327 317 ); 328 318 this.ctxBase = document.getElementById('dtaCtxCompact'); 329 319 this.ctxMenu = document.getElementById('dtaCtxSubmenu'); 330 320 321 // prepare tools 322 this.tools = {}; 323 ['DTA', 'TDTA', 'Manager'].forEach( 324 function (e) { 325 this.tools[e] = document.getElementById('dtaTools' + e); 326 }, 327 this 328 ); 329 this.toolsBase = document.getElementById('dtaToolsMenu'); 330 this.toolsMenu = document.getElementById('dtaToolsPopup'); 331 this.toolsSep = document.getElementById('dtaToolsSep'); 332 331 333 } catch (ex) { 334 Components.utils.reportError(ex); 332 335 DTA_debug.dump("DCO::init()", ex); 333 336 } 334 337 }, 335 338 336 onContextShowing : function(evt) { 337 try { 338 339 if (evt && evt.target && evt.target.id != 'contentAreaContextMenu') { 340 return; 341 } 339 onContextShowing: function(evt) { 340 try { 342 341 343 342 // get settings 344 var menu = DTA_preferences.getDTA("ctxmenu", "1,1,0") 345 .split(",").map(function(e){return parseInt(e);}); 343 var menu = DTA_preferences.getDTA("ctxmenu", "1,1,0").split(",").map(function(e){return parseInt(e);}); 346 344 var compact = DTA_preferences.getDTA("ctxcompact", false); 347 345 … … 437 435 } 438 436 } catch(ex) { 439 DTA_debug.dump("DTAHide(): ", ex); 440 } 441 }, 442 443 onHideTool : function() {try { 444 var menuTool = DTA_preferences.getDTA("toolsmenu", "1,1,1").split(","); 445 var contextTool = DTA_preferences.getDTA("toolscompact", true); // checks if the user wants a submenu 446 document.getElementById("dta-tool").hidden = !(parseInt(menuTool[0]) && (!contextTool)); 447 document.getElementById("turbo-tool").hidden = !(parseInt(menuTool[1]) && (!contextTool)); 448 document.getElementById("dta-manager-tool").hidden = !(parseInt(menuTool[2]) && (!contextTool)); 449 document.getElementById("dta-menu").hidden = !contextTool; 450 document.getElementById("dta-Popup").hidden = !contextTool; 451 document.getElementById("dta-tool-popup").hidden = !parseInt(menuTool[0]); 452 document.getElementById("turbo-tool-popup").hidden = !parseInt(menuTool[1]); 453 document.getElementById("dta-manager-tool-popup").hidden = !parseInt(menuTool[2]); 454 } catch(ex) { 455 DTA_debug.dump("DTAHideTool(): " + ex); 456 } 437 DTA_debug.dump("DTAContext(): ", ex); 438 } 439 }, 440 441 onToolsShowing : function(evt) { 442 try { 443 444 // get settings 445 var menu = DTA_preferences.getDTA("toolsmenu", "1,1,1").split(",").map(function(e){return parseInt(e);}); 446 447 // all hidden... 448 var hidden = DTA_preferences.getDTA("toolshidden", false); 449 for (var i in this.tools) { 450 this.tools[i].hidden = hidden; 451 } 452 this.toolsBase.hidden = hidden; 453 if (hidden) { 454 return; 455 } 456 457 var compact = menu.indexOf(0) != -1; 458 459 // setup menu items 460 // show will hold those that will be shown 461 var show = []; 462 463 if (menu[0]) { 464 show.push('DTA'); 465 } 466 if (menu[1]) { 467 show.push('TDTA'); 468 } 469 // prefs 470 if (menu[2]) { 471 show.push('Manager'); 472 } 473 this.toolsSep.hidden = menu.indexOf(0) == -1; 474 this.toolsBase.setAttribute('label', this.getString(menu.indexOf(1) != -1 ? 'moredtatools' : 'simpledtatools')); 475 476 // show the items. 477 for (var i in this.tools) { 478 var cur = this.tools[i]; 479 if (show.indexOf(i) == -1) { 480 this.toolsMenu.insertBefore(cur, this.toolsSep); 481 } 482 else { 483 this.toolsBase.parentNode.insertBefore(cur, this.toolsBase); 484 } 485 } 486 } catch(ex) { 487 DTA_debug.dump("DTATools(): ", ex); 488 } 457 489 }, 458 490 trunk/chrome/content/integration/firefox.xul
r395 r463 10 10 * ***** END LICENSE BLOCK ***** --> 11 11 <!DOCTYPE overlay SYSTEM "chrome://dta/locale/menu.dtd"> 12 <overlay id="D taBrowserToolbar" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">12 <overlay id="DTAFirefoxIntegration" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 13 13 14 <script type="application/x-javascript" src="chrome://dta/content/common/overlayFunctions.js"/> 15 <script type="application/x-javascript" src="chrome://dta/content/integration/menu.js"/> 16 <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/> 17 <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/> 18 <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/> 14 <popup id="contentAreaContextMenu"> 15 <menu id="dtaCtxCompact" insertafter="context-sep-selectall"/> 16 </popup> 19 17 20 18 <toolbarpalette id="BrowserToolbarPalette"> 21 <toolbarbutton 22 id="dta-turbo-button" class="chromeclass-toolbar-additional toolbarbutton-1" 23 ondragover="nsDragAndDrop.dragOver(event, DTA_DropTDTA);" 24 ondragdrop="nsDragAndDrop.drop(event, DTA_DropTDTA);" 25 oncommand="DTA_ContextOverlay.findLinks(true);" 26 label="dTaOneClick!" 27 tooltiptext="dTaOneClick!" 28 /> 29 <toolbarbutton 30 id="dta-button" 31 class="chromeclass-toolbar-additional toolbarbutton-1" 32 ondragover="nsDragAndDrop.dragOver(event, DTA_DropDTA);" 33 ondragdrop="nsDragAndDrop.drop(event, DTA_DropDTA);" 34 oncommand="if (event.target == this) DTA_ContextOverlay.findLinks(false);" 35 label="DownThemAll!" 36 tooltiptext="DownThemAll!" 37 type="menu-button" 38 > 39 <menupopup> 40 <menuitem id="dta-tb-dta" label="DownThemAll!" onclick="DTA_ContextOverlay.findLinks();" image="chrome://dta/skin/common/dta.png" class="menuitem-iconic"/> 41 <menuitem id="dta-tb-turbo" label="dtaOneClick!" onclick="DTA_ContextOverlay.findLinks(true);" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic"/> 42 <menuseparator/> 43 <menuitem id="dta-tb-all" label="DownThemAll! (&dta-tb-all.label;)" onclick="DTA_ContextOverlay.findLinks(false, true);" image="chrome://dta/skin/common/dta.png" class="menuitem-iconic"/> 44 <menuitem id="dta-tb-allturbo" label="dtaOneClick! (&dta-tb-all.label;)" onclick="DTA_ContextOverlay.findLinks(true, true);" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic"/> 45 <menuseparator/> 46 <menuitem id="dta-tb-manager" label="&dta-manager-button;" onclick="DTA_AddingFunctions.openManager();" image="chrome://dta/skin/common/box.png" class="menuitem-iconic"/> 47 </menupopup> 48 </toolbarbutton> 49 <toolbarbutton 50 id="dta-manager-button" 51 class="chromeclass-toolbar-additional toolbarbutton-1" 52 oncommand="DTA_AddingFunctions.openManager();" 53 label="&dta-manager-button;" 54 tooltiptext="DownThemAll! Manager" 55 /> 19 <toolbarbutton id="dta-turbo-button" /> 20 <toolbarbutton id="dta-button"/> 21 <toolbarbutton id="dta-manager-button"/> 56 22 </toolbarpalette> 57 23 <menupopup id="menu_ToolsPopup"> 58 <menuitem id="dta-tool" oncommand="DTA_ContextOverlay.findLinks();" 59 label="DownThemAll!..." image="chrome://dta/skin/common/dta.png" class="menuitem-iconic" /> 60 <menuitem id="turbo-tool" oncommand="DTA_ContextOverlay.findLinks(true);" 61 label="dTaOneClick!" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic" /> 62 63 <menuitem id="dta-manager-tool" oncommand="DTA_AddingFunctions.openManager();" 64 label="&dta-manager-button;..." image="chrome://dta/skin/common/box.png" class="menuitem-iconic" /> 65 <menu id="dta-menu" label="DownThemAll" class="menu-iconic" image="chrome://dta/skin/common/dta.png" insertbefore="flashgot-menu" insertafter="sanitizeItem"> 66 <menupopup id="dta-Popup"> 67 <menuitem id="dta-tool-popup" oncommand="DTA_ContextOverlay.findLinks(false)" 68 label="DownThemAll!..." image="chrome://dta/skin/common/dta.png" class="menuitem-iconic" /> 69 <menuitem id="turbo-tool-popup" oncommand="DTA_ContextOverlay.findLinks(true)" 70 label="dTaOneClick!" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic" /> 71 <menuitem id="dta-manager-tool-popup" oncommand="DTA_AddingFunctions.openManager()" 72 label="&dta-manager-button;..." image="chrome://dta/skin/common/box.png" class="menuitem-iconic" /> 73 <menuseparator /> 74 75 <menuitem id="dta-pref-tool" oncommand="DTA_showPreferences();" 76 label="&dta-pref.label;" image="chrome://dta/skin/common/prefs.png" class="menuitem-iconic" /> 77 <menuitem id="dta-help-tool" oncommand="openHelp('introduction','chrome://dta-help/content/help.rdf');" 78 label="&dta-help.label;" image="chrome://dta/skin/common/help.png" class="menuitem-iconic" /> 79 <menuitem id="dta-about" oncommand="window.openDialog('chrome://dta/content/about/about.xul','_blank','chrome,centerscreen,modal');" 80 label="&dta-about.label;" image="chrome://dta/skin/common/about.png" class="menuitem-iconic" /> 81 </menupopup> 82 </menu> 24 <menu id="dtaToolsMenu" insertbefore="flashgot-menu" insertafter="sanitizeItem"/> 83 25 </menupopup> 84 26 </overlay> trunk/chrome/content/integration/saveas.xul
r281 r463 56 56 </hbox> 57 57 <hbox id="tdta" flex="1"> 58 <radio id="turbodta" label="dTa OneClick" disabled="true"/>58 <radio id="turbodta" label="dTa OneClick!" disabled="true"/> 59 59 <spacer flex="1"/> 60 60 <saveddropdown id="tdtalist" preference="directory" readonly="true"/> trunk/chrome/content/preferences/interfacePane.xul
r395 r463 19 19 > 20 20 21 <preferences >21 <preferences id="prefsInterface"> 22 22 <preference id="dtaShowInDown" name="extensions.dta.downloadWin" type="bool" /> 23 23 <preference id="dtaHideUrl" name="extensions.dta.showonlyfilenames" type="bool" /> 24 24 <preference id="dtaContextSub" name="extensions.dta.ctxcompact" type="bool" /> 25 <preference id="dtaTool Sub" name="extensions.dta.toolscompact" type="bool" />25 <preference id="dtaToolHide" name="extensions.dta.toolshidden" type="bool" /> 26 26 <preference id="dtaContext" name="extensions.dta.ctxmenu" type="string" /> 27 27 <preference id="dtaTool" name="extensions.dta.toolsmenu" type="string" /> … … 39 39 <checkbox id="downloadWin" label="&uipane.downloadwin.label;" preference="dtaShowInDown" /> 40 40 </groupbox> 41 <grid>42 <columns>43 <column flex="1"/>44 <column flex="1"/>45 </columns>46 <rows>47 <row>48 <groupbox>49 <caption label="&uipane.context.caption;"/>50 <checkbox id="dtaContext0"51 preference="dtaContext"52 label="DownThemAll!"53 class="moreLeft"54 onsyncfrompreference="return Interface.getMenu('dtaContext', 0);"55 onsynctopreference="return Interface.setMenu('dtaContext', 0);"56 />57 <checkbox id="dtaContext1"58 preference="dtaContext"59 label="dTaOneClick!"60 onsyncfrompreference="return Interface.getMenu('dtaContext', 1);"61 onsynctopreference="return Interface.setMenu('dtaContext', 1);"62 class="moreLeft" />63 <checkbox id="dtaContext2"64 preference="dtaContext"65 label="&dtacontext2.label;"66 onsyncfrompreference="return Interface.getMenu('dtaContext', 2);"67 onsynctopreference="return Interface.setMenu('dtaContext', 2);"68 class="moreLeft" />69 <separator class="groove-thin"/>70 <checkbox label="&uipane.compact.label;" preference="dtaContextSub" />71 </groupbox>72 <groupbox>73 <caption label="&uipane.tools.caption;"/>74 <checkbox id="dtaTool0"75 preference="dtaTool"76 label="DownThemAll!"77 onsyncfrompreference="return Interface.getMenu('dtaTool', 0);"78 onsynctopreference="return Interface.setMenu('dtaTool', 0);"79 class="moreLeft" />80 <checkbox id="dtaTool1"81 preference="dtaTool"82 label="dTaOneClick!"83 onsyncfrompreference="return Interface.getMenu('dtaTool', 1);"84 onsynctopreference="return Interface.setMenu('dtaTool', 1);"85 class="moreLeft" />86 <checkbox id="dtaTool2"87 preference="dtaTool"88 label="&manager;"89 onsyncfrompreference="return Interface.getMenu('dtaTool', 2);"90 onsynctopreference="return Interface.setMenu('dtaTool', 2);"91 class="moreLeft" />92 <separator class="groove-thin"/>93 <checkbox label="&uipane.compact.label;" preference="dtaToolSub" />94 </groupbox>95 </row>96 </rows>97 </grid>41 <grid> 42 <columns id="colItems"> 43 <column flex="1"/> 44 <column flex="1"/> 45 </columns> 46 <rows> 47 <row id="rowItems"> 48 <groupbox> 49 <caption label="&uipane.context.caption;"/> 50 <checkbox id="dtaContext0" 51 preference="dtaContext" 52 label="DownThemAll!" 53 class="moreLeft" 54 onsyncfrompreference="return Interface.getMenu('dtaContext', 0);" 55 onsynctopreference="return Interface.setMenu('dtaContext', 0);" 56 /> 57 <checkbox id="dtaContext1" 58 preference="dtaContext" 59 label="OneClick!" 60 onsyncfrompreference="return Interface.getMenu('dtaContext', 1);" 61 onsynctopreference="return Interface.setMenu('dtaContext', 1);" 62 class="moreLeft" /> 63 <checkbox id="dtaContext2" 64 preference="dtaContext" 65 label="&dtacontext2.label;" 66 onsyncfrompreference="return Interface.getMenu('dtaContext', 2);" 67 onsynctopreference="return Interface.setMenu('dtaContext', 2);" 68 class="moreLeft" /> 69 <separator class="groove-thin"/> 70 <checkbox label="&uipane.compact.label;" preference="dtaContextSub" /> 71 </groupbox> 72 <groupbox> 73 <caption label="&uipane.tools.caption;"/> 74 <checkbox id="dtaTool0" 75 preference="dtaTool" 76 label="DownThemAll!" 77 onsyncfrompreference="return Interface.getMenu('dtaTool', 0);" 78 onsynctopreference="return Interface.setMenu('dtaTool', 0);" 79 class="moreLeft" /> 80 <checkbox id="dtaTool1" 81 preference="dtaTool" 82 label="OneClick!" 83 onsyncfrompreference="return Interface.getMenu('dtaTool', 1);" 84 onsynctopreference="return Interface.setMenu('dtaTool', 1);" 85 class="moreLeft" /> 86 <checkbox id="dtaTool2" 87 preference="dtaTool" 88 label="&manager;" 89 onsyncfrompreference="return Interface.getMenu('dtaTool', 2);" 90 onsynctopreference="return Interface.setMenu('dtaTool', 2);" 91 class="moreLeft" /> 92 <separator class="groove-thin"/> 93 <checkbox label="&uipane.hide.label;" preference="dtaToolHide" /> 94 </groupbox> 95 </row> 96 </rows> 97 </grid> 98 98 </prefpane> 99 99 </overlay> trunk/chrome/content/preferences/prefs.xul
r459 r463 31 31 <prefpane id="paneFilters" label="&filterspane.label;" src="chrome://dta/content/preferences/filtersPane.xul" /> 32 32 <prefpane id="panePrivacy" label="&privacypane.label;" src="chrome://dta/content/preferences/privacyPane.xul" /> 33 <prefpane id="paneInterface" label="&uipane.label;" src="chrome://dta/content/preferences/interfacePane.xul"/>33 <prefpane id="paneInterface" label="&uipane.label;" /> 34 34 <prefpane id="paneAdvanced" label="&advancedpane.label;" src="chrome://dta/content/preferences/advPane.xul" /> 35 35 trunk/chrome/help/faq.html
r395 r463 13 13 <h1>Frequently asked questions</h1> 14 14 15 <h2 id="oneclick">What is " dTaOneClick"?</h2>16 <p> dTaOneClick! will start downloading all the links/pictures of the current webpage that will match the filters used in the last dTa! session. Downloads will be saved in the last setted destination path and will be renamed using the last setted renaming mask.</p>17 <p>For example, open dTa! right clicking in a free spot of a gallery page, select inclusive filter "Images" from "Make your selection" window and click on Start!. dTa will download all the pictures linked in the webpage, but it will also remember all the settings for the next time. Now browse another gallery. Right click on a free spot and just select " dTaOneClick!". Boom. You'll have all the pictures downloaded in your download folder. In one click.</p>15 <h2 id="oneclick">What is "OneClick!"?</h2> 16 <p>OneClick! will start downloading all the links/pictures of the current webpage that will match the filters used in the last dTa! session. Downloads will be saved in the last setted destination path and will be renamed using the last setted renaming mask.</p> 17 <p>For example, open dTa! right clicking in a free spot of a gallery page, select inclusive filter "Images" from "Make your selection" window and click on Start!. dTa will download all the pictures linked in the webpage, but it will also remember all the settings for the next time. Now browse another gallery. Right click on a free spot and just select "OneClick!". Boom. You'll have all the pictures downloaded in your download folder. In one click.</p> 18 18 19 19 <h2 id="oneclickqueue">oneClick doesn't start downloads anymore</h2> trunk/chrome/help/help.dtd
r395 r463 17 17 18 18 <!ENTITY faq "Frequently asked questions"> 19 <!ENTITY faq.oneclick "What is " dTaOneClick"?">19 <!ENTITY faq.oneclick "What is "OneClick!"?"> 20 20 <!ENTITY faq.oneclickqueue "oneClick doesn't start downloads anymore"> 21 21 <!ENTITY faq.support "How can I contribute to the developement?"> trunk/chrome/help/preferences.html
r395 r463 106 106 <ul> 107 107 <li>Either regular DownThemAll! where you could still tweak the settings of the download</li> 108 <li>Or the dTaOneClick!, which will proceed with the download using the settings of the last download you started.</li>108 <li>Or the OneClick!, which will proceed with the download using the settings of the last download you started.</li> 109 109 </ul> 110 110 trunk/chrome/locale/en-US/menu.dtd
r395 r463 2 2 <!ENTITY dta-about.label "About dTa!"> 3 3 <!ENTITY dta-help.label "Help Contents"> 4 <!ENTITY dta-manager-button " dTa!Manager">4 <!ENTITY dta-manager-button "Manager"> 5 5 <!ENTITY dta-tb-all.label "All tabs"> trunk/chrome/locale/en-US/menu.properties
r262 r463 1 1 dtasaveimage=Save image with DownThemAll! 2 turbosaveimage=Start image with dTaOneClick!2 turbosaveimage=Start image with OneClick! 3 3 dtasavelink=Save link with DownThemAll! 4 turbosavelink=Start link with dTaOneClick!4 turbosavelink=Start link with OneClick! 5 5 dtaselection=DownThemAll! selection... 6 turboselection= dTaOneClick selection...6 turboselection=OneClick selection... 7 7 dtaregular=DownThemAll!... 8 turboregular=d TaOneClick!...8 turboregular=dta OneClick!... 9 9 error=DownThemAll! - Error 10 10 errornolinks=No links or pictures found! 11 11 errorinformation=DownThemAll! was unable to proceed!\nEither there were no links selected to download, or information like destination folder is missing. 12 12 errornodownload=The selected link is not a downloadable file! 13 moredtatools=More dTa Tools 14 simpledtatools=DownThemAll! Tools trunk/chrome/locale/en-US/prefpanes.dtd
r330 r463 77 77 <!ENTITY uipane.context.caption "Context menu"> 78 78 <!ENTITY uipane.tools.caption "Tools Menu"> 79 <!ENTITY uipane.smbuttons.caption "Seamonkey Buttons"> 79 80 <!ENTITY uipane.compact.label "Use a compact menu"> 81 <!ENTITY uipane.hide.label "Hide this menu"> 80 82 <!ENTITY uipane.showtooltip.label "Show download tooltips"> trunk/defaults/preferences/dta.js
r395 r463 36 36 pref("extensions.dta.ctxmenu", "1,1,0"); 37 37 pref("extensions.dta.ctxcompact", false); 38 pref("extensions.dta.toolsmenu", " 1,1,1");39 pref("extensions.dta.tools compact", true);38 pref("extensions.dta.toolsmenu", "0,0,0"); 39 pref("extensions.dta.toolshidden", false); 40 40 pref("extensions.dta.closetab", false); 41 41 pref("extensions.dta.closedta", false); … … 62 62 pref("extensions.dta.filter", "['', '/(\\.mp3)$/', '/(\\.(html|htm|rtf|doc|pdf))$/', 'http://www.website.com/subdir/*.*', 'http://www.website.com/subdir/pre*.???', '*.z??, *.css, *.html']"); 63 63 pref("extensions.dta.lastqueued", false); 64 65 // Seamonkey specific 66 pref("extensions.dta.sm.buttons", "1,1,1"); trunk/install.rdf
r395 r463 29 29 </rdf:Description> 30 30 </targetApplication> 31 31 32 <!-- Seamonkey --> 33 <targetApplication> 34 <rdf:Description> 35 <id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</id> 36 <minVersion>2.0a</minVersion> 37 <maxVersion>3.0</maxVersion> 38 </rdf:Description> 39 </targetApplication> 40 32 41 </rdf:Description> 33 42 </rdf:RDF>
