Skip to content

Instantly share code, notes, and snippets.

View bootstrap.js
/*
* Copyright ? 2009-2011 Kris Maglione <maglione.k@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
View stdin.txt
09:23 < John-Galt> Also, this add-on: https://addons.mozilla.org/en-US/editors/review/125492
09:24 < John-Galt> I'm pretty certain I selected prelim review, but it wound up with full.
...
09:27 < jorgev> what's wrong with the dictionary add-on?
09:28 < John-Galt> I rejected based on Andrew's first rejection, which was recent so I assumed to still be valid.
09:29 < jorgev> I don't think we have a policy about multi language spell checkers
09:29 < jorgev> I understand the reasoning, but really, spell checkers are rare
View stdin.js
propertyPattern: util.regexp(<![CDATA[
(?:
(?P<preSpace> <space>*)
(?P<name> [-a-z]*)
(?:
<space>* : \s* (?P<value>
(?:
[-\w]+
(?:
\s* \( \s*
View stdin.txt
com! whatfont let d=buffer.focusedFrame.document; DOM(d.head).append(<script src={'http://chengyinliu.com/wf.js?o='+encodeURIComponent(d.location.href)+'&t='+Date.now()}/>)
View stdin.js
/** use this code in console to access global for this file
var XPIProviderBP = Components.utils.import("resource://gre/modules/XPIProvider.jsm")
XPIProviderBP.XPIProvider.bootstrapScopes["right@context.a.am"]
/******************************************************************/
pref = {
name: "extensions.rightContext.itemlist",
defVal: '#openlink,#openlinkincurrent,#openlinkintab,#searchselect',
View stdin.txt
Comment: 17
Info: 191
Prelim: 2173
Public: 843
Reject: 503
Sandbox: 185
Super: 151
View stdin.txt
Full Update Comment: 1
Full Update Info: 34
Full Update Prelim: 115
Full Update Public: 184
Full Update Reject: 22
Full Update Sandbox: 10
Full Update Super: 18
Full Update Superreview: 4
Nominated Info: 27
Nominated Prelim: 198
View stdin.txt
Full Update Comment: 1
Full Update Info: 34
Full Update Prelim: 115
Full Update Public: 184
Full Update Reject: 22
Full Update Sandbox: 10
Full Update Super: 18
Full Update Superreview: 4
Nominated Info: 27
Nominated Prelim: 198
View stdin.txt
Added to browser.xul globals:
checkSoleraState
require
toggleSoleraSidebar
View stdin.txt
./content/sidebar.js:12: function crossMessage(fn, param) { o().postMessage('Solera.UC.Find.'+fn+'('+param+')', '*'); }
./content/sidebar.js:13: function directMessage(fn, param) { o().onMessage({ data:'Solera.UC.Find.'+fn+'('+param+')' }); }
./packages/Solera.UC.Grid.js:11: // sidebar.postMessage('Solera.UC.Grid.'+fn+'('+param+')', '*'); // postMessage does not appear to work on a resource url
./packages/Solera.UC.Grid.js:12: sidebar.Solera.UC.Grid.onMessage({ data:'Solera.UC.Grid.'+fn+'('+param+')' });
./content/sidebar.js:483: onMessage: function(e) {
./packages/Solera.UC.Find.js:364: onMessage: function(e) {
You can’t perform that action at this time.