Skip to main content

Home/ Coders/ Group items tagged mozilla

Rss Feed Group items tagged

Rick Fan

Setting up extension development environment - MDC - 0 views

  • javascript.options.showInConsole = true. Logs errors in chrome files to the Error Console. nglayout.debug.disable_xul_cache = true. Disables the XUL cache so that changes to windows and dialogs do not require a restart. This assumes you're using directories rather than JARs. Changes to XUL overlays will still require reloading of the document overlaid. browser.dom.window.dump.enabled = true. Enables the use of the dump() statement to print to the standard console. See window.dump for more info. You can also use nsIConsoleService from privileged script. javascript.options.strict = true. Enables strict JavaScript warnings in the Error Console. Note that since many people have this setting turned off when developing, you will see lots of warnings for problems with their code in addition to warnings for your own extension. You can filter those with Console2. extensions.logging.enabled = true. This will send more detailed information about installation and update problems to the Error Console.
Pooja Runija

Apple and FireFox ditching Google as its default search engine - 0 views

  •  
    This is really an embarrassing week for Google due to some breakups with their partners. Few days back news came from Mozilla Firefox that from 2015 Yahoo will be their default search engine. Google has been the default search engine for Mozilla since 2004 but this time in the year of renewal Mozilla has decided to break the pact and chosen to go with Yahoo.
Rick Fan

Extension Versioning, Update and Compatibility - MDC - 0 views

  • The updateURL uses https, or there is no updateURL at all (which defaults to addons.mozilla.org which is https) The updateURL uses http and the updateKey entry is specified which will be used to verify the data in the update manifest.
  • In the update manifest delivered from the updateURL the updateLink must be specified in one of the following ways: The updateLink to the XPI file must use https The updateLink can use http and you must include an updateHash for the XPI file using sha1, sha256, sha384 or sha512 hash algorithms.
Justin Newton

Mozilla Developer Page - 0 views

  •  
    Mozilla Developer Page. Teaches the basic of AJAX, JAVASCRIPT, XML, CSS, XHTML. Learn how to make addons / extensions.
Fabien Cadet

XRAY :: for web developers - 0 views

  •  
    XRAY is a bookmarklet for Internet Explorer 6+, and Webkit and Mozilla based browsers (including Safari, Firefox, Camino or Mozilla). Use it to see the box model for any element on any web page.
Joel Bennett

Weave - Mozilla Labs - 0 views

  • Ensure that it is easy for people to set up their own services with freely available open standards-based tools
  •  
    The next release of Weave (any day now) is expected to include P2P sharing of bookmark folders via XMPP, on top of the ability to synchronize your bookmarks, browsing history, and even your cookies, passwords, and form data...
Rick Fan

Creating OpenSearch plugins for Firefox - MDC - 0 views

  • Your server should serve OpenSearch plugins using the MIME type application/opensearchdescription+xml. Be sure that your Search Plugin XML is well formed. You can check by loading the file directly into Firefox. Ampersands in the template URL need to be escaped with & and tags need to be closed with a trailing slash or matching end tag. The xmlns attribute is important, without it you could get an error message indicating that "Firefox could not download the search plugin from: (URL)". Note that you must include a text/html URL — search plugins including only Atom or RSS URL types (which is valid, but Firefox doesn't support) will also generate the "could not download the search plugin" error. Remotely fetched favicons must not be larger than 10KB
Rick Fan

McCoy - MDC - 0 views

shared by Rick Fan on 11 Oct 08 - Cached
  • Once you have a key you need to add its public part to your add-on's install.rdf file. The simplest way to do this is to select the key then click the Install toolbar button. You must then locate your install.rdf for McCoy and the public part of the key will be added directly to the file. The file will be overwritten so take a backup if you need to.
  • You need to use McCoy to sign this file so that the application can verify that it really came from you. Simply select the key you originally added to the add-on's install.rdf, then click the "Sign" toolbar button, select your update.rdf file and the data in it will be signed. It's important to note that if you change any information in the update file then it must be signed again.
Rick Fan

Updating extensions for Firefox 3.1 - MDC - 0 views

  • The textbox type timed is deprecated; instead, you should use search.
  • The JSON.jsm JavaScript module was dropped in Firefox 3.1 in favor of native JSON object support
  • if (typeof(JSON) == "undefined") {    Components.utils.import("resource://gre/modules/JSON.jsm");    JSON.parse = JSON.fromString;    JSON.stringify = JSON.toString;  }  
Joel Bennett

Bespin - Code in the Cloud - 0 views

  •  
    An html5-based web code-editor
Joel Bennett

Mozilla Labs » Announcing the Jetpack SDK - 4 views

  • The Jetpack SDK includes: An extensible library of capabilities and APIs for writing Firefox add-ons, as well as stand-alone web-based applications A set of command-line tools that package and security-harden your code into distributable packages A modern IDE with built-in reference guide for instant productivity
  • An easy to use, well documented set of APIs that lets you write Firefox add-ons using standard Web technology (Javascript, HTML5, and CSS). An integrated IDE that enables rapid add-on developement and code collaboration.
  • Add-ons developed with the Jetpack SDK will feature: No need to restart Firefox to install add-ons. Add-ons are automatically compatible with all future versions of Firefox updates, so no need to wait for add-on compatability. Stronger and more easily understood security and privacy controls. Automatic add-on updates.
  •  
    An easy to use, well documented set of APIs that lets you write Firefox add-ons using standard Web technology (Javascript, HTML5, and CSS).
Fabien Cadet

vimperator : Firefox addon for vim-like browsing - 3 views

  •  
    « Writing efficient user interfaces is the main maxim, here at Vimperator labs. We often follow the Vim way of doing things, but extend its principles when necessary. Towards this end, we've created the liberator library for Mozilla based applications, to encapsulate as many of these generic principles as possible, and liberate developers from the tedium of reinventing the wheel. »
Zhang Luke

HTML 基础 - 学习 Web 开发 | MDN - 18 views

  • 这个元素的主要部分有:
    • Zhang Luke
       
      所有html代码都遵循这个规则
  • 所以到底什么是 HTML?Section HTML 并不是编程语言,它是一种用于定义内容结构的标记语言。HTML 由一系列的元素(elements)所组成,这些元素可以用来封装不同部分的内容,使其以某种方式呈现或者工作。
Fabien Cadet

Strict-Transport-Security - HTTP | MDN - 0 views

  •  
    "Strict-Transport-Security: max-age=31536000; includeSubDomains"
1 - 20 of 29 Next ›
Showing 20 items per page