From 0e07f53e79d4d4f21e86d5b3a98816d88e155ff0 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 26 Feb 2009 12:53:33 +0200 Subject: [PATCH 1/1] initial import of custom toolbar button template --- build | 10 ++++++++++ chrome.manifest | 5 +++++ chrome/button-1.png | Bin 0 -> 1606 bytes chrome/button.css | 17 +++++++++++++++++ chrome/button.js | 8 ++++++++ chrome/button.xul | 27 +++++++++++++++++++++++++++ chrome/icon.png | Bin 0 -> 2600 bytes install.rdf | 35 +++++++++++++++++++++++++++++++++++ 8 files changed, 102 insertions(+) create mode 100644 build create mode 100644 chrome.manifest create mode 100644 chrome/button-1.png create mode 100644 chrome/button.css create mode 100644 chrome/button.js create mode 100644 chrome/button.xul create mode 100644 chrome/icon.png create mode 100644 install.rdf diff --git a/build b/build new file mode 100644 index 0000000..687488d --- /dev/null +++ b/build @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e +set -u + +export PKG=custom-toolbar-button@example.com + +[ ! -e $PKG.xpi ] || rm $PKG.xpi + +jar -v -M -c -f $PKG.xpi chrome install* chrome.manifest diff --git a/chrome.manifest b/chrome.manifest new file mode 100644 index 0000000..fbf3dc4 --- /dev/null +++ b/chrome.manifest @@ -0,0 +1,5 @@ +content custombutton chrome/ +style chrome://global/content/customizeToolbar.xul chrome://custombutton/content/button.css + +# Firefox +overlay chrome://browser/content/browser.xul chrome://custombutton/content/button.xul diff --git a/chrome/button-1.png b/chrome/button-1.png new file mode 100644 index 0000000000000000000000000000000000000000..9f77b3774835442dd5614dd36826c67238e086b2 GIT binary patch literal 1606 zcmeAS@N?(olHy`uVBq!ia0vp^8bEBo!3-ormY!G%q=ZXcBT5`gOEU6{7=rRs6v8ty zOHy-ED_>M^;Q&g@gQT7F3o45;(=$pKG@LaRj0_CS6p)n~*3S_ID%AliElN!+$;{7F z2+7P%W$*1)L!LgTv;}{3WIS!6%90FSf1ojFDToVwuCm?Z5LgJi+;yFddYl@2Z6g97D zYTnZ{JZETl&CuzZlh-+~pmRY%*MgF-C1;<@E zb90s+Te|kx+O5a79yoB|*s;CGjvf0?836ig6pV%d*&%T9Q$#aRvt~(3D^Jst=Zff#Z}vve?4i!?zQmv znY}!_bFbB>8gA9SY~a)FyK(9JTiae=XNj@j%EYtux9rx%Or9U-loezhe7>Y5kMqHb zB{cyCClma=pJ{0B1x^wxkXh+il(A*?v15%EBKUk~WKBeQoma!}3cN$1>RqOBoW&@;qiS zW~Fr`1O~|R^XbW)+oy@~6R*V~4N)>%$+h-+T4defQDo7QBV zQCMN~JiL0+o-~8=o8~w;#=VzW`M}endD0%SN45nMmmIFwU+baAHu1C}mzT1|{8Shm1M$NP&em<#XgxDY>sbI12to_!?>`g0;5O2qu_zRuYC|MM^IJ2!T(im0}1 P1*Jz%S3j3^P6 + + + + + +