home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 May / macformat_103_may_2001.iso / Mac OS X Shareware / Fizilla / Defaults / Pref / macprefs.js < prev    next >
Encoding:
Text File  |  2001-03-26  |  8.2 KB  |  173 lines  |  [TEXT/CWIE]

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public
  4.  * License Version 1.1 (the "License"); you may not use this file
  5.  * except in compliance with the License. You may obtain a copy of
  6.  * the License at http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the License is distributed on an "AS
  9.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.  * implied. See the License for the specific language governing
  11.  * rights and limitations under the License.
  12.  *
  13.  * The Original Code is mozilla.org code.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation.  Portions created by Netscape are
  17.  * Copyright (C) 1998 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s): 
  21.  */
  22.  
  23. // Mac specific preference defaults
  24. platform.mac = true;
  25.  
  26. pref("browser.drag_out_of_frame_style", 1);
  27. pref("ui.key.saveLink.shift", false); // true = shift, false = meta
  28.  
  29. pref("editor.use_html_editor",              false);
  30. pref("editor.use_image_editor",             false);
  31.  
  32. pref("mail.notification.sound",             "");
  33. pref("mail.close_message_window.on_delete", true);
  34. pref("mail.close_message_window.on_file", true);
  35.  
  36. pref("mail.server_type_on_restart",         -1);
  37.  
  38. // default font name (in UTF8)
  39.  
  40. pref("font.name.serif.ar", "ÿ´ŸÑÿ´‚ÄÆ ‚Ĩÿ£ÿ®Ÿäÿ∂");
  41. pref("font.name.sans-serif.ar", "ÿߟÑÿ®ŸäÿߟÜ");
  42. pref("font.name.monospace.ar", "ÿ¨Ÿäÿ≤ÿ©");
  43. pref("font.name.cursive.ar", "XXX.cursive");
  44. pref("font.name.fantasy.ar", "XXX.fantasy");
  45.  
  46. pref("font.name.serif.el", "Times GR");
  47. pref("font.name.sans-serif.el", "Helvetica GR");
  48. pref("font.name.monospace.el", "Courier GR");
  49. pref("font.name.cursive.el", "XXX.cursive");
  50. pref("font.name.fantasy.el", "XXX.fantasy");
  51.  
  52. pref("font.name.serif.he", "◊§◊†◊ô◊†◊ô◊ù‚ÄÆ ‚Ĩ◊ó◊ì◊©");
  53. pref("font.name.sans-serif.he", "◊ê◊®◊ô◊ê◊ú");
  54. pref("font.name.monospace.he", "◊ê◊®◊ô◊ê◊ú");
  55. pref("font.name.cursive.he", "XXX.cursive");
  56. pref("font.name.fantasy.he", "XXX.fantasy");
  57.  
  58. pref("font.name.serif.ja", "Êú¨ÊòéÊúù‚àíÔº≠"); 
  59. pref("font.name.sans-serif.ja", "‰∏∏„Ç¥„Ç∑„ÉÉ„ÇØ‚àíÔº≠"); 
  60. pref("font.name.monospace.ja", "Osaka‚àíÁ≠âÂπÖ"); 
  61. pref("font.name.cursive.ja", "XXX.cursive");
  62. pref("font.name.fantasy.ja", "XXX.fantasy");
  63.  
  64. pref("font.name.serif.ko", "AppleMyungjo"); 
  65. pref("font.name.sans-serif.ko", "AppleGothic"); 
  66. pref("font.name.monospace.ko", "AppleGothic"); 
  67. pref("font.name.cursive.ko", "XXX.cursive");
  68. pref("font.name.fantasy.ko", "XXX.fantasy");
  69.  
  70. pref("font.name.serif.th", "Thonburi");
  71. pref("font.name.sans-serif.th", "Krungthep");
  72. pref("font.name.monospace.th", "Ayuthaya");
  73. pref("font.name.cursive.th", "XXX.cursive");
  74. pref("font.name.fantasy.th", "XXX.fantasy");
  75.  
  76. pref("font.name.serif.tr", "Times");
  77. pref("font.name.sans-serif.tr", "Arial");
  78. pref("font.name.monospace.tr", "CourierR");
  79. pref("font.name.cursive.tr", "XXX.cursive");
  80. pref("font.name.fantasy.tr", "XXX.fantasy");
  81.  
  82. pref("font.name.serif.x-baltic", "Times CE");
  83. pref("font.name.sans-serif.x-baltic", "Helvetica CE");
  84. pref("font.name.monospace.x-baltic", "Courier CE");
  85. pref("font.name.cursive.x-baltic", "XXX.cursive");
  86. pref("font.name.fantasy.x-baltic", "XXX.fantasy");
  87.  
  88. pref("font.name.serif.x-central-euro", "Times CE");
  89. pref("font.name.sans-serif.x-central-euro", "Helvetica CE");
  90. pref("font.name.monospace.x-central-euro", "Courier CE");
  91. pref("font.name.cursive.x-central-euro", "XXX.cursive");
  92. pref("font.name.fantasy.x-central-euro", "XXX.fantasy");
  93.  
  94. pref("font.name.serif.x-cyrillic", "Latinski");
  95. pref("font.name.sans-serif.x-cyrillic", "Pryamoy Prop");
  96. pref("font.name.monospace.x-cyrillic", "APC Courier");
  97. pref("font.name.cursive.x-cyrillic", "XXX.cursive");
  98. pref("font.name.fantasy.x-cyrillic", "XXX.fantasy");
  99.  
  100. pref("font.name.serif.x-unicode", "Times");
  101. pref("font.name.sans-serif.x-unicode", "Helvetica");
  102. pref("font.name.monospace.x-unicode", "Courier");
  103. pref("font.name.cursive.x-unicode", "Apple Chancery");
  104. pref("font.name.fantasy.x-unicode", "Gadget");
  105.  
  106. pref("font.name.serif.x-western", "Times");
  107. pref("font.name.sans-serif.x-western", "Helvetica");
  108. pref("font.name.monospace.x-western", "Courier");
  109. pref("font.name.cursive.x-western", "Apple Chancery");
  110. pref("font.name.fantasy.x-western", "Gadget");
  111.  
  112. pref("font.name.serif.zh-CN", "Song");
  113. pref("font.name.sans-serif.zh-CN", "Hei");
  114. pref("font.name.monospace.zh-CN", "Hei");
  115. pref("font.name.cursive.zh-CN", "XXX.cursive");
  116. pref("font.name.fantasy.zh-CN", "XXX.fantasy");
  117.  
  118. pref("font.name.serif.zh-TW", "Apple LiSung Light"); 
  119. pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");  
  120. pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");  
  121. pref("font.name.cursive.zh-TW", "XXX.cursive");
  122. pref("font.name.fantasy.zh-TW", "XXX.fantasy");
  123.  
  124. // Override the Windows settings: no menu key, meta accelerator key.
  125. pref("ui.key.menuAccessKey", 0);
  126. pref("ui.key.accelKey", 224);
  127.  
  128. mime_type("mime.image_gif", "image/gif", "gif", 2, "JPEGView", "JVWR", "GIFf");
  129. mime_type("mime.image_jpeg", "image/jpeg", "jpg,jpeg,jpe", 2, "JPEGView", "JVWR", "JPEG");
  130. mime_type("mime.image_pict", "image/pict", "pic,pict", 1, "SimpleText", "ttxt", "PICT");
  131. mime_type("mime.image_tiff", "image/tiff", "tif,tiff", 1, "JPEGView", "JVWR", "TIFF");
  132. mime_type("mime.image_x_xbitmap", "image/x-xbitmap", "xbm", 2, "Unknown", "ttxt", "????");
  133.  
  134. mime_type("mime.audio_basic", "audio/basic", "au,snd", 1, "Sound Machine", "SNDM", "ULAW");
  135. mime_type("mime.audio_aiff", "audio/aiff", "aiff,aif", 1, "Sound Machine", "SNDM", "AIFF");
  136. mime_type("mime.audio_x_wav", "audio/x-wav", "wav", 1, "Sound Machine", "SNDM", "WAVE");
  137.  
  138. mime_type("mime.video_quicktime", "video/quicktime", "qt,mov", 1, "Simple Player", "TVOD", "MooV");
  139. mime_type("mime.video_mpeg", "video/mpeg", "mpg,mpeg,mpe", 1, "Sparkle", "mMPG", "MPEG");
  140. mime_type("mime.video_x_msvideo", "video/x-msvideo", "avi", 1, "AVI to QT Utility", "AVIC", "????");
  141. mime_type("mime.video_x_qtc", "video/x-qtc", "qtc", 1, "Conferencing Helper Application", "mtwh", ".qtc");
  142.  
  143. mime_type("mime.application_mac_binhex40", "application/mac-binhex40", "hqx", 1, "Stuffit Expander", "SITx", "TEXT");
  144. mime_type("mime.application_x_stuffit", "application/x-stuffit", "sit", 1, "Stuffit Expander", "SITx", "SITD");
  145. mime_type("mime.application_x_macbinary", "application/x-macbinary", "bin", 1, "Stuffit Expander", "SITx", "TEXT");
  146. mime_type("mime.application_x_conference", "application/x-conference", "nsc", 1, "Netscape Conference", "Ncqπ", "TEXT");
  147.  
  148. mime_type("mime.application_zip", "application/zip", "z,zip", 1, "ZipIt", "ZIP ", "ZIP ");
  149. mime_type("mime.application_gzip", "application/gzip", "gz", 1, "MacGzip", "Gzip", "Gzip");
  150. mime_type("mime.application_msword", "application/msword", "doc", 0, "MS Word", "MSWD", "W6BN");
  151. mime_type("mime.application_x_excel", "application/x-excel", "xls", 0, "MS Excel", "XCEL", "XLS5");
  152.  
  153. mime_type("mime.application_octet_stream", "application/octet-stream", "exe", 3, "", "", "");
  154. mime_type("mime.application_postscript", "application/postscript", "ai,eps,ps", 3, "SimpleText", "ttxt", "TEXT");
  155. mime_type("mime.application_rtf", "application/rtf", "rtf", 0, "MS Word", "MSWD", "TEXT");
  156. mime_type("mime.application_x_compressed", "application/x-compressed", ".Z", 1, "MacCompress", "LZIV", "ZIVM");
  157. mime_type("mime.application_x_tar", "application/x-tar", "tar", 1, "tar", "TAR ", "TARF");
  158.  
  159. mime_type("mime.Netscape_Source", "Netscape/Source", "", 2, "SimpleText", "ttxt", "TEXT");
  160. pref("mime.Netscape_Source.description", "View Source");
  161. mime_type("mime.Netscape_Telnet", "Netscape/Telnet", "", 1, "NCSA Telnet", "NCSA", "CONF");
  162. mime_type("mime.Netscape_tn3270", "Netscape/tn3270", "", 1, "tn3270", "GFTM", "GFTS");
  163.  
  164. mime_type("mime.image_x_cmu_raster", "image/x-cmu-raster", "ras", 3, "Unknown", "ttxt", "????");
  165. mime_type("mime.image_x_portable_anymap", "image/x-portable-anymap", "pnm", 3, "Unknown", "ttxt", "????");
  166. mime_type("mime.image_x_portable_bitmap", "image/x-portable-bitmap", "pbm", 3, "Unknown", "ttxt", "????");
  167. mime_type("mime.image_x_portable_graymap", "image/x-portable-graymap", "pgm", 3, "Unknown", "ttxt", "????");
  168. mime_type("mime.image_x_rgb", "image/x-rgb", "rgb", 3, "Unknown", "ttxt", "????");
  169. mime_type("mime.image_x_xpixmap", "image/x-xpixmap", "xpm", 2, "Unknown", "ttxt", "????");
  170.  
  171. // Add mime type for SimpleText read only files
  172. mime_type("mime.SimpleText_ReadOnly", "text/plain", "", 2, "SimpleText", "ttxt", "ttro");
  173.