Skip to content

Instantly share code, notes, and snippets.

What

A proposal for updating our style inspector and style editor.

For now it is a rough draft put together quickly. It will need to be refined a lot and will require discussions and, later, should be turned into a plan with bugs being filed.

Many of the things described below already work this way today, I just haven't had the chance yet to describe them as such. A list highlighting what exists today, what doesn't and what should be changed has yet to be created.

Why

To achieve 2 main goals:

@grssam
grssam / copyScreenshot.js
Created September 6, 2012 16:14 — forked from grssam/copyScreenshot.js
screenshot copy
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
let EXPORTED_SYMBOLS = [ ];
Cu.import("resource:///modules/devtools/gcli.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
@grssam
grssam / s.js
Created July 13, 2012 07:42 — forked from paulrouget/s.js
/* ------- */
// Clean mess from previous session
Components.utils.import("resource:///modules/source-editor.jsm");
let nbox = gBrowser.getNotificationBox();
while (nbox.lastChild.id == "foobar-container" ||
nbox.lastChild.id == "foobar-splitter") {
nbox.removeChild(nbox.lastChild);
}
/* ------- */
// Build container
@grssam
grssam / quotes
Created May 28, 2012 13:38 — forked from paulrouget/quotes
What robcee says
<robcee> where's my hat?,
-------
<robcee> u r teh smartest,
-------
<robcee> I WILL TAKE THIS BULLET FOR YOU,
-------
* robcee swears violently
* robcee continues swearing,
-------
<robcee> hey everybody, forget email. Let's all go skiing. (toboggans also acceptable),