From 22b9128e5f9acd5a62cb87d075cd12f92895ae8a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 3 Aug 2010 22:49:30 +0200 Subject: [PATCH] OxFF pan.do/ra Firefox Extension --- .bzrignore | 1 + OxFF/chrome.manifest | 9 + OxFF/chrome/content/browser.xul | 9 + OxFF/chrome/content/icon.png | Bin 0 -> 4882 bytes OxFF/chrome/content/options.js | 193 +++++++++++++++++ OxFF/chrome/content/options.xul | 53 +++++ OxFF/chrome/content/overlay.js | 0 OxFF/components/OxFF.js | 359 ++++++++++++++++++++++++++++++++ OxFF/components/nsIOxFF.xpt | Bin 0 -> 415 bytes OxFF/install.rdf | 28 +++ OxFF/modules/utils.jsm | 80 +++++++ build.sh | 23 ++ src/make.sh | 8 + src/nsIOxFF.idl | 30 +++ test/import.html | 10 + 15 files changed, 803 insertions(+) create mode 100644 .bzrignore create mode 100644 OxFF/chrome.manifest create mode 100644 OxFF/chrome/content/browser.xul create mode 100644 OxFF/chrome/content/icon.png create mode 100644 OxFF/chrome/content/options.js create mode 100644 OxFF/chrome/content/options.xul create mode 100644 OxFF/chrome/content/overlay.js create mode 100644 OxFF/components/OxFF.js create mode 100644 OxFF/components/nsIOxFF.xpt create mode 100644 OxFF/install.rdf create mode 100644 OxFF/modules/utils.jsm create mode 100755 build.sh create mode 100755 src/make.sh create mode 100644 src/nsIOxFF.idl create mode 100644 test/import.html diff --git a/.bzrignore b/.bzrignore new file mode 100644 index 0000000..e35a4bc --- /dev/null +++ b/.bzrignore @@ -0,0 +1 @@ +OxFF/settings.sqlite diff --git a/OxFF/chrome.manifest b/OxFF/chrome.manifest new file mode 100644 index 0000000..e2dc961 --- /dev/null +++ b/OxFF/chrome.manifest @@ -0,0 +1,9 @@ +content OxFF chrome/content/ +overlay chrome://browser/content/browser.xul chrome://OxFF/content/browser.xul + +resource ox modules/ + +interfaces components/nsIOxFF.xpt +component {32e2138b-2026-4cac-87c7-4f97ac4cf1c5} components/OxFF.js +contract @pan.do/ra_extension;1 {32e2138b-2026-4cac-87c7-4f97ac4cf1c5} +category JavaScript-global-constructor OxFF @pan.do/ra_extension;1 diff --git a/OxFF/chrome/content/browser.xul b/OxFF/chrome/content/browser.xul new file mode 100644 index 0000000..1b51c72 --- /dev/null +++ b/OxFF/chrome/content/browser.xul @@ -0,0 +1,9 @@ + + + + + +