home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / extens / nlinky / Linky.xpi / linky.js < prev   
Encoding:
Text File  |  2004-09-03  |  2.9 KB  |  70 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
  7.  *
  8.  * Software distributed under the License is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  10.  * for the specific language governing rights and limitations under the
  11.  * License.
  12.  *
  13.  * The Initial Developer of the Original Code is
  14.  * Henrik Gemal http://gemal.dk
  15.  *
  16.  * Portions created by the Initial Developer are Copyright (C) 2001-2004
  17.  * the Initial Developer. All Rights Reserved.
  18.  *
  19.  * Alternatively, the contents of this file may be used under the terms of
  20.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  21.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  22.  * in which case the provisions of the GPL or the LGPL are applicable instead
  23.  * of those above. If you wish to allow use of your version of this file only
  24.  * under the terms of either the GPL or the LGPL, and not to allow others to
  25.  * use your version of this file under the terms of the MPL, indicate your
  26.  * decision by deleting the provisions above and replace them with the notice
  27.  * and other provisions required by the GPL or the LGPL. If you do not delete
  28.  * the provisions above, a recipient may use your version of this file under
  29.  * the terms of any one of the MPL, the GPL or the LGPL.
  30.  *
  31.  * ***** END LICENSE BLOCK ***** */
  32.  
  33. // show debug information in JavaScript Console 
  34. pref("extensions.linky.developer", false);
  35.  
  36. // Show tab/windows/both options
  37. // 0 = tab
  38. // 1 = window
  39. // 2 = both
  40. pref("extensions.linky.showopen", 2);
  41.  
  42. // when do we show the Select Links dialog
  43. pref("extensions.linky.showselect", 0);
  44.  
  45. // enable/disable menuitems
  46. pref("extensions.linky.context.alllinks", true);
  47. pref("extensions.linky.context.piclinks", true);
  48. pref("extensions.linky.context.piclinksshow", true);
  49. pref("extensions.linky.context.picshow", true);
  50. pref("extensions.linky.context.selectedlinks", true);
  51. pref("extensions.linky.context.selectedtextlinks", true);
  52. pref("extensions.linky.context.validatelinks", false);
  53. pref("extensions.linky.context.downloadlinks", false);
  54.  
  55. // what extensions to treat as images
  56. pref("extensions.linky.imgexts", "jpg|jpeg|gif|png|bmp");
  57.  
  58. // what validator URL to use
  59. pref("extensions.linky.validateURL", "http://validator.w3.org/check?verbose=1&ss=1&uri=");
  60.  
  61. // open mail and news links like mailto: news: snews:?
  62. pref("extensions.linky.open_mailnews", false);
  63.  
  64. // how to handle overwrites when downloading files
  65. // 0 = always overwrite
  66. // 1 = prompt
  67. // 2 = never overwrite and skip download
  68. // 3 = automaticly find a new name to save to
  69. pref("extensions.linky.download.overwrite", 3);
  70.