aeng + mdc   162

OSFile.jsm - Mozilla | MDN
OS.File is a new API designed for efficient, off-main thread, manipulation of files by privileged JavaScript code. This API is intended to replace, in time, most XPCOM-based manipulation of files (nsIFile, subsets of nsIIOService, etc.) by JavaScript code.
NOTE: The API for moving/renaming a file has "unspecified" behaviour if doing so for a directory.
mozilla  file  I/O  io  api  mdc  devmo 
july 2018 by aeng
File I/O - | MDN
This article describes local file input/output in chrome JavaScript. You access the file system using Mozilla XPCOM components.
These legacy APIs are deprecated; use OS.File instead.
mozilla  file  io  I/O  api  article  mdc  devmo 
july 2018 by aeng
HTMLInputElement.webkitdirectory - Web APIs | MDN
The HTMLInputElement.webkitdirectory is a property that reflects the webkitdirectory HTML attribute and indicates that the <input> element should let the user select directories instead of files.
html  html5  reference  webkitdirectory  mdc  devmo 
july 2018 by aeng
Add-ons - Updates - Mozilla | MDN
Firefox supports automated updates to add-ons using JSON update manifests.
mozilla  firefox  extensions  webextensions  manifest  article  mdc  devmo 
april 2018 by aeng
Custom Tree Views - Mozilla | MDN
A tutorial on how to implement your own custom XUL tree view.
xul  tree  tutorial  mdc  devmo 
april 2018 by aeng
commands.update() - Mozilla | MDN
Change the description or keyboard shortcut for the given command. Available in Firefox 60. Could be used to allow for custom shortcut key prefix in Clippings.
mozilla  firefox  firefox60  webextensions  api  reference  mdc  devmo 
april 2018 by aeng
<input type="file"> - HTML | MDN
<input> elements with type="file" let the user choose one or more files from their device storage. Once chosen, the files can be uploaded to a server using form submission, or manipulated using JavaScript code and the File API.
html  html5  input  file  reference  mdc  devmo 
december 2017 by aeng
management.uninstallSelf() - Mozilla | MDN
WebExtension API. Uninstalls the calling add-on.
mozilla  webextensions  api  reference  mdc  devmo 
december 2017 by aeng
<input type="url"> - HTML | MDN
<input> elements of type "url" are used to let the user enter and edit a URL. The input value is automatically validated to ensure that it's either empty or a properly-formatted URL before the form can be submitted.
html  html5  input  reference  mdc  devmo 
december 2017 by aeng
Server-side website programming - Learn web development | MDN
The Dynamic Websites – Server-side programming topic is a series of modules that show how to create dynamic websites; websites that deliver customised information in response to HTTP requests. The modules provide a generic introduction to server-side programming, along with specific beginner-level guides on how to use the Django (Python) and Express (Node.js/JavaScript) web frameworks to create basic applications.
web  serverside  application  development  programming  tutorial  howto  mdc  devmo 
december 2017 by aeng
Classes - JavaScript | MDN
JavaScript classes, introduced in ECMAScript 2015, are primarily syntactical sugar over JavaScript's existing prototype-based inheritance.
javascript  class  reference  mdc  devmo 
november 2017 by aeng
Implementing image sprites in CSS - CSS | MDN
Rather than include each image as a separate image file, it is much more memory- and bandwidth-friendly to send them as a single image.
css  image  sprites  howto  article  mdc  devmo 
november 2017 by aeng
Box-shadow generator - CSS | MDN
This tool lets you construct CSS box-shadow effects, to add box shadow effects to your CSS objects.
css  boxshadow  generator  tool  web  development  mdc  devmo 
november 2017 by aeng
AddonManager - Mozilla | MDN
Method getStartupChanges() to get the add-ons that have changed, e.g. new installation, version upgraded; use the constants STARTUP_CHANGE_INSTALLED and STARTUP_CHANGE_CHANGED to differentiate between the two states.
mozilla  firefox  add-ons  extensions  api  javascript  mdc  devmo 
september 2017 by aeng
Using CSS Flexible Boxes - CSS | MDN
The CSS3 Flexible Box, or flexbox, is a layout mode intended to accommodate different screen sizes and different display devices. For many applications, the flexible box model is easier than the block model since it does not use floats, nor do the flex container's margins collapse with the margins of its contents.
css  flexbox  howto  article  mdc  devmo 
august 2017 by aeng
Document.hasFocus() - Web APIs | MDN
The Document.hasFocus() method returns a Boolean value indicating whether the document or any element inside the document has focus. This method can be used to determine whether the active element in a document has focus.
dom  api  reference  document  mdc  devmo 
august 2017 by aeng
Using files from web applications | MDN
Using the File API, which was added to the DOM in HTML5, it's now possible for web content to ask the user to select local files and then read the contents of those files. This selection can be done by either using an HTML <input> element or by drag and drop.
html  html5  files  filesystem  api  dom  tutorial  mdc  devmo 
june 2017 by aeng
Incompatible change to sessions.restore API in Firefox 54 | Mozilla Add-ons Blog
'sessions.restore' now returns an object instead of an array. With this change, the API now matches the spec and its behavior in Google Chrome.
mozilla  firefox  firefox54  webextensions  sessions  api  readme  mdc  devmo 
june 2017 by aeng
Embedded WebExtensions - Mozilla | MDN
Starting in Firefox 51, you can embed a WebExtension in a classic bootstrapped extension or an Add-on SDK add-on.
mozilla  firefox  webextension  embedded  bootstrapped  extensions  article  mdc  devmo 
may 2017 by aeng
Bootstrapped extensions - Mozilla | MDN
Bootstrapped extensions are special extensions that, instead of using overlays to apply their user interface to the application, programmatically insert themselves into the application. This is done using a special script file that's included in the extension that contains functions the browser calls to command the extension to install, uninstall, start up, and shut down.
mozilla  firefox  bootstrapped  extensions  xul  javascript  article  mdc  devmo 
may 2017 by aeng
sessions - Mozilla | MDN
Use the sessions API to list, and restore, tabs and windows that have been closed while the browser has been running.
firefox  webextensions  api  reference  mdc  devmo 
january 2017 by aeng
File and Directory Entries API - Web APIs | MDN
The File and Directory Entries API simulates a local file system that web apps can navigate within and access files in. You can develop apps which read, write, and create files and/or directories in a virtual, sandboxed file system.
mozilla  web  api  files  directory  mdc  devmo 
december 2016 by aeng
Arrow Functions - JavaScript | MDN
An arrow function expression has a shorter syntax compared to function expressions and does not bind its own this, arguments, super, or Arrow functions are always anonymous. These function expressions are best suited for non-method functions and they can not be used as constructors.
javascript  functions  reference  mdc  devmo 
december 2016 by aeng
WebExtensions - Mozilla | MDN
WebExtensions are a cross-browser system for developing browser add-ons. To a large extent the system is compatible with the extension API supported by Google Chrome and Opera. Extensions written for these browsers will in most cases run in Firefox or Microsoft Edge with just a few changes. The API is also fully compatible with multiprocess Firefox.
mozilla  webextensions  development  api  mdc  devmo 
november 2016 by aeng
SQLite Templates | MDN
Templates may use a datasource that is retrieved from an Sqlite database, such as those used by the mozStorage API. This allows information from the database to be used to generate XUL content.
mozilla  xul  template  sqlite  howto  mdc  devmo 
november 2016 by aeng
Sqlite.jsm - Mozilla | MDN
The Sqlite.jsm JavaScript code module is a promise-based wrapper around the Storage/SQLite interface.
mozilla  storage  sqlite  api  programming  database  javascript  module  guide  mdc  devmo 
september 2016 by aeng
Storage - Mozilla | MDN
Storage is a SQLite database API. It is available to trusted callers, meaning extensions and Firefox components only.
mozilla  storage  sqlite  api  programming  database  guide  mdc  devmo 
september 2016 by aeng
Flexbox - Learning web development | MDN
Flexbox provides tools to allow rapid creation of complex, flexible layouts, and features that historically proved difficult with CSS.
css  tutorial  flexbox  web  developer  article  mdc  devmo 
august 2016 by aeng
CSS Grid Layout - CSS | MDN
CSS Grid layout contains design features targeted at web application developers. The CSS grid can be used to achieve many different layouts. It excels at dividing a page into major regions, or defining the relationship in terms of size, position, and layer, between parts of a control built from HTML primitives.
css  grid  layout  article  mdc  devmo 
august 2016 by aeng
Document.activeElement - Web APIs | MDN
Returns the currently focused element, that is, the element that will get keystroke events if the user types any. Often this will return an "input" or "textarea" object, if it has the text selection at the time.
html  gecko  dom  api  web  programming  reference  mdc  devmo 
january 2016 by aeng
Message manager - Mozilla | MDN
Message managers provide a way for chrome-privileged JavaScript code to communicate across process boundaries. They are particularly useful for allowing chrome code, including the browser's own code and extension code, to access web content when the browser is running web content in a separate process.
mozilla  firefox  electrolysis  e10s  multiprocess  guide  mdc  devmo 
january 2016 by aeng
Building Trees - Mozilla | MDN
DEPRECATED - No longer available as of Thunderbird 60.
mozilla  xul  rdf  template  tree  treebuilder  howto  guide  mdc  devmo 
january 2015 by aeng
XUL Migration Guide - Mozilla | MDN
This guide aims to help you migrate a XUL-based add-on to the SDK.
mozilla  xul  addon  sdk  api  extension  migration  mdc  devmo 
september 2014 by aeng
The message manager | MDN
Message managers provide a way for chrome-privileged JavaScript code to communicate across process boundaries. They are particularly useful for allowing chrome code, including the browser's own code and extension code, to access web content when the browser is running web content in a separate process. Available starting in Firefox 32.
mozilla  firefox  firefox32  javascript  api  messagemanager  article  mdc  devmo 
august 2014 by aeng
Tabbed browser - Mozilla | MDN
Here you should find a set of useful code snippets to help you work with Firefox's tabbed browser.
mozilla  firefox  browser  tabbed  tab  api  howto  samples  mdc  devmo 
june 2014 by aeng
nsISessionStore - XPCOM Interface Reference | MDN
Provides a means for extensions and other code to store data in association with browser sessions, tabs, and windows.
mozilla  xpcom  api  reference  nsISessionStore  mdc  devmo 
march 2014 by aeng
AddonManager - Mozilla | MDN
The AddonManager object is the global API used to access information about add-ons installed in the application and to manipulate them.
mozilla  api  addon  extension  development  AddonManager  module  mdc  devmo 
february 2014 by aeng
Supporting per-window private browsing | MDN
Firefox 20 introduced per-window private browsing mode, in which private user data is stored and accessed concurrently with public user data from another window.
mozilla  firefox  private  api  article  mdc  devmo 
february 2014 by aeng
CustomizableUI.jsm - Mozilla | MDN
The CustomizableUI.jsm JavaScript code module allows you to interact with customizable buttons and items in Firefox's main window UI using a carefully constructed API.
mozilla  firefox  javascript  module  api  CustomizableUI.jsm  mdc  devmo 
february 2014 by aeng
MutationObserver - Web API reference | MDN
A replacement for the DOM mutation events API, e.g. the "DOMNodeInserted" event
mozilla  xul  mutationobserver  dom  devmo  mdc  api  html 
june 2013 by aeng
Preferences system - Mozilla | MDN
This document describes Toolkit's preferences system. Using this system it is possible to create preferences windows that display and operate appropriately on various platforms (Windows, MacOS X and GNOME).
mozilla  xul  article  mdc  devmo  api  howto  preferences 
april 2013 by aeng
IDL interface rules - Developer Guide | MDN
"Use AString or AUTF8String to represent unicode strings. Avoid the "wstring" type where possible." But this causes Firefox 34 to crash!
guide  javascript  mozilla  style  xpcom  xpconnect  devmo  mdc  xpidl  idl 
february 2013 by aeng
Code snippets | MDN
This is a quick list of useful code snippets (small code samples) available for developers of extensions for the various Mozilla applications. Many of these samples can also be used in XULRunner applications, as well as in actual Mozilla code itself.
mozilla  xul  javascript  programming  svg  xpcom  mdc  devmo  snippet  code  howto  sample 
january 2013 by aeng
Modules - Code snippets | MDN
How to port a JavaScript module from Mozilla-specific code to non-Mozilla code
mozilla  javascript  crossplatform  porting  programming  howto  article  mdc  devmo 
december 2012 by aeng
How to implement a custom autocomplete search component | MDN
The XUL textbox element supports an autocomplete mechanism that is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
devmo  mdc  howto  textbox  xpcom  xul  search  autocomplete  gecko  mozilla 
october 2012 by aeng
Firefox 16 for developers | MDN
Firefox 16, based on Gecko 16, will ship in October 2012. This article provides information about the changes in this release that will affect developers.
mozilla  firefox  firefox16  programming  api  css  readme  article  mdc  devmo 
october 2012 by aeng
JavaScript OS.File | MDN
JavaScript module OS.File contains primitives for manipulating files. In time, this module is intended to replace most uses of nsIFile, NetUtil.jsm, FileUtils.jsm and nsIIOService for file access.
mozilla  api  javascript  file  OS.File  faq  article  mdc  devmo  mdn 
october 2012 by aeng
Common causes of memory leaks in extensions - MDN
This page explains coding patterns that cause extension to cause memory leaks.
mozilla  extension  add-on  memory  leak  development  javascript  article  mdc  devmo 
may 2012 by aeng
Coding Style - MDN
This document attempts to explain the basic styles and patterns that are used in the Mozilla codebase.
mozilla  javascript  c++  coding  style  standard  guide  mdc  devmo 
october 2011 by aeng
Floating Panels - MDN
A floating panel is used for secondary popups such as tool palettes and property inspector panels. Introduced in Gecko 2 (Firefox 4/Thunderbird 3.3)
mozilla  xul  panel  ui  howto  guide  mdc  devmo 
september 2011 by aeng
Panels - MDN
A panel is a popup which can support any type of content. It is used when supporting temporary popup displays for selecting or entering data. Introduced in Gecko 1.9 (Firefox 3)
mozilla  xul  howto  guide  panel  mdc  devmo 
september 2011 by aeng
nsIAlertsService - MDN
This interface can be used to notify the user of something that does not require an immediate reaction. For example, it can be used to notify the user that their downloads are complete or that they have new mail.
mozilla  alert  ui  nsIAlertsService  xpcom  api  mdc  devmo 
september 2011 by aeng
window.getSelection - MDN Docs
Documention on window.getSelection(). There will be a change in Firefox 8 where it will return a Selection object instead of a string
mozilla  gecko  dom  api  window.getSelection()  mdc  devmo 
september 2011 by aeng
« earlier      
per page:    204080120160

related tags

3.1  add-on  add-ons  addon  AddonManager  addons  ajax  alert  announce  announcement  api  application  arguments  article  autocomplete  beta  beware  bookmarks  bootstrapped  boxshadow  browser  c++  candidate  changelog  chrome.manifest  class  clipboard  code  coding  color  commandline  console  contenteditable  crossplatform  crypto  css  CustomizableUI.jsm  database  desktop  developer  developers  development  devmo  dialog  Dict.jsm  directory  dnd  document  dom  dom0  dragndrop  e10s  editor  electrolysis  element.classList  embedded  embedding  etiquette  events  extension  extensions  faq  file  files  filesystem  firefox  firefox2  firefox3  firefox3.1  firefox3.5  firefox3.6  firefox3rc1  firefox4  firefox5  firefox6  firefox7  firefox8  firefox16  firefox32  firefox54  firefox60  flexbox  for  fuel  functions  gecko  gecko5  generator  grid  guide  history  howto  html  html5  I/O  idl  image  indexeddb  input  install  install.rdf  io  javascript  javascript1.8  jsm  keyboard  layout  leak  manifest  mdc  mdn  memory  menupopup  messagemanager  midas  migration  modal  module  mozilla  multiprocess  mutationobserver  news  nsIAlertsService  nsIConverterOutputStream  nsIDOMKeyEvent  nsIFile  nsILoginInfo  nsILoginManager  nsIOutputStream  nsIPromptService  nsISessionStore  nsIWindowMediator  nsIWindowsRegKey  nsIWindowWatcher  nsIXULAppInfo  nsIXULRuntime  object  objects  omni.jar  OS.File  panel  places  popup  porting  preferences  private  process  programming  prompt  rdf  readme  reference  registry  reintroduction  release  sample  samples  scripting  sdk  search  secure  security  serverside  services  services.jsm  session  sessions  snippet  software  sprites  sqlite  standard  storage  store  style  svg  syntax  tab  tabbed  tabs  template  textbox  thunderbird  thunderbird5  tips  tool  toolbar  toolkit  tree  treebuilder  tutorial  ui  update  update.rdf  version  w3c  web  webextension  webextensions  webkitdirectory  window  window.content  window.getSelection()  window.openDialog  windows  winreg  xmlhttprequest  xpcom  xpconnect  xpidl  xul  xulrunner 

Copy this bookmark: