Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="data:text/css,
.large :-moz-tree-row {
height: 2em !important;
}
" type="text/css"?>
<page id="about-foo" orient="vertical" class="large"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">
/**
* Compiles a new URI matcher for the given pattern. The
* returned function returns true if the passed URI matches
* *pattern*.
*
* @param {string} pattern The pattern to compile.
* @returns {function(nsIURI):boolean}
*/
URIMatcher: function URIMatcher(pattern) {
if (pattern == "*" || pattern == "<all_urls>")
decode_json: function(json_str, tid) {
json_str = json_str.replace(/\?>/g, ''); // cleanup
//alert ('json_str:'+"\n"+json_str);
if (json_str) {
//alert ('page is known'+"\n"+'tab id: '+tid+"\n"+'hostname: '+this.hostname+"\n"+json_str);
if (json_str.match(/missing/)) {
this.ms_start = 'grey';
}
if (json_str.match(/isknown/)) {
this.ms_start = 'green';
/**
* Converts a given DOM Node, Range, or Selection to a string. If
* *html* is true, the output is HTML, otherwise it is presentation
* text.
*
* @param {nsIDOMNode | nsIDOMRange | nsISelection} node The node to
* stringify.
* @param {boolean} html Whether the output should be HTML rather
* than presentation text.
*/
this.activateDebugger();
+
+ // bug712289, do not display the activation message if JSD is not available
+ if (!FBS.isJSDAvailable())
+ return;
+
Added to browser.xul globals:
ICProgressListener
IcXrdsComponent
IcXrdsRetrieveX
IcXrdsStartHelper
IdentitySelector
IdentitySelectorDiag
IdentitySelectorPrefs
InformationCardDragAndDrop
InformationCardHelper
ID: shopping-assistant
Name: Shopping Assistant: Compare with Amazon, eBay .etc
Type: Full Update
Action: Prelim
Review: https://addons.mozilla.org/en-US/editors/review/shopping-assistant
Overview: https://addons.mozilla.org/en-US/firefox/addon/shopping-assistant/
Version: 3.1.1
File: ☑ All Platforms 140192
This version didn't pass full review because of the following issues:
[
{
"name": "amazon",
"locales": "us",
"encoding": "def",
"enabled": "1",
"order": "2001",
"submit_data": "0",
"parse": "\nvar S=exports;var parser_options;if(html.match(/id=\"resultCount\"/)){parser_options={item:{ASIN:/name=\"([0-9A-Za-z]{10})(?:_[0-9]+)?\"/,Price:/class=\"newPrice\">[\\s\\S]+?<span(?: class=\"price\")?>(.*?)<\\/span>/,UsedPrice:/class=\"newPrice\">[\\s\\S]+?<strike>(.*?)<\\/strike>/,FastTrack:/<div class=\"fastTrack\"[^>]*>([\\s\\S]+?)<\\/div>/,Stars:/class=\"stars\">[\\s\\S]+?(<a[\\s\\S]+?<\\/a>)/},total_pages:function(html){var match=html.match(/id=\"resultCount\"[\\s\\S]+?([\\d,]+) Result[\\s\\S]+<\\/div>/);return match?Math.min(4,Math.ceil((match[1].replace(/,/g,''))/16)):0;}};if(html.match(/id=\"result_[0-9]+_shotgunMainResults\"/)){parser_options.separator=/id=\"result_[0-9]+_shotgunMainResults\"/g;parser_options.item.Title=function(html){var match=html.match(/class=\"productTitle\"[\\s\\S]+?(<a[^>]+href=\"([^\"]+)\"[\\s\\S]
1: 2406
2: 1427
3: 734
4: 364
5: 185
6: 97
7: 29
8: 13
9: 7
10: 2
changeset: 63535:200a746e0fac
user: Benjamin Smedberg <benjamin@smedbergs.us>
date: Wed Mar 23 10:28:41 2011 -0400
summary: Bump the binary compatibility version post-branch.
changeset: 63536:21e30c46c08d
user: Gleb M. Borisov <borisov.gleb@gmail.com>
date: Wed Mar 23 10:45:20 2011 -0400
summary: Bug 259861. Warn when an XBL binding has no id attribute. r=bzbarsky