MozillaZine

[Ext] Custom Buttons 0.0.1.2

Announce and Discuss the Latest Theme and Extension Releases.
Yan_
 
Posts: 5
Joined: June 15th, 2006, 1:19 am

Post Posted June 15th, 2006, 12:58 pm

Custom buttons 0.0.1.2

Author: Yan
Compatibility: Firefox 1.5-3.0, Thunderbird 1.5-3.0, Flock 0.5-1.0+
Homepage: http://xsms.nm.ru/custombuttons/en/
addons.mozilla.org page: https://addons.mozilla.org/firefox/2707/
Description: Gives a possibility to create custom toolbarbuttons.

Download 0.0.1.2 version

To add new button you should:
  • Go into menu View -> Add new Button....</li><li>Fill in the fields Name and Code.
    (You can leave the field Image empty. Then the button will have a standart image).
  • The Initialization code executes once a time when the browser startups. You can leave it empty too.
  • Go into menu View -> Toolbars -> Customize... , find new button and drag it to any toolbar.
The extension adds to Firefox a "custombutton" protocol, that allows to install buttons from web-pages.

Some button examples:
(just click them to install)

Options
Opens Options window
<a href="custombutton://Options%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADHUlEQVR4Xl3DS2hcVRzA4d+55869M5NMppOEyctoxlgnsRgxRrSKpaQ+arG4kkJEBQmu1YUaoXQluNEuRUQ3xShiKdpiKSFpNRAosbQaY3yUGqOpcZI0Zh7JzJx7zt9FyaYffKrp0Gl2iBMkERsSJwOqWJsUZwtUTb/zvTnxlHH1CKxFRNjhcRPKurtVLcpHTelPtkcGP47yrZ/adHiy9kT+gsskjlKLwDlu5QHgZLA20HHa9GcnzGB7j7svS/Tknkc5/MDTHNyTckN3jDntHUN7RxC6AVA3q9TBr8Hqt0uH9r/DcAKKhl3f/EXjPxuoQKE9H9uZohQTNjHocz99oTYqI4JYAA/nEGe79aUNqEDDzDqt26Xr8Q7/VNjiz/jNmIZqmdvDgGyuC5eK97rt7dDV67iawRNR+01f+4vykAdFIblV/zXeknjcC/0jKu49Fe9KPRbetWvKyzhykaFpqG/AZpvHURxAgSfKv6fe05t0fe1gFFaH6W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t7dDV67iawRNR+01f+4vykAdFIblV/zXeknjcC/0jKu49Fe9KPRbetWvKyzhykaFpqG/AZpvHURxAgSfKv6fe05t0fe1gFFaH6WhFF1wpNIkgWcbJRS/QzyV2Zy4ke2K0PdIbY/Tws9Ld8R4mavPFRpGaM8ga0AultnR7tlp7NZ30jzZkkkirRu0Obuh08IavmE4uSag2I2S9soyi7Clnvg+u//CtXpgrsGIwQZx/W5vHYg2xsZiWprjEaCn4JLbUbNKq2XpFIcv/Qbm0LNaGqmH4FBJFOGvfre478CadLWAhJTVySTPVmdFnUil/Lkj4+WtV9frlRe6sGuDyPExPj6r43s/AWd92tX1n9g3vxSpIAEVQAolQaIxT3q6pxkoVHEAOmP4Nzk48o8KHxyGyzTaXnYieHx7k6iY0K+jMwBWgAvhADIgAU4W1eZiZO8lG8RUVPHiCmxi2udZxVotnqFptR+5/CT+vWAL6gXuBq8AVA1+e+Jut4iC+v+ohAiLgZEr/vDyg1iqjFDZfVucWPuc2oMPAR18t8OHkCnkDNxagXjuO1qsAHjsUSBAriAeiEda31vjjF1icLbP45wtM/v4Wx87Oc37mNax5H6UA8LmFWIsoBcWt43wwPUU9MsSDS9joRy5eO09ML6E9dvwPdX9rZvPeL7sAAAAASUVORK5CYII="></a>

Extensions
Opens Extensions window
<a href="custombutton://Extensions%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAABkElEQVR4nKWTMUsjQRiGn9lZM7ndQISApLsfIKRUgyARFBTP2tJKuE6Ey2EwiChqIRb2NioWFgoh3R1yoCwRLNLfIYJYhCOpEhCMOBZxV3dnC8GBgZnve+fhZeYdobXmM8OOKw7tf927vrnLva/pbT3+YcD1zV3uarla8Pcjm7OeECKjtW7FAkRJ/DEaluJ344DJ7Dw8Y1GkIkqiG3UTOKivnBeikIR0kEJSXzvPAzT4x/T695CbACCtPi7+n4UAynLxmtVg7/Qne27i7kBafYxn5wBCh0JA+4tRC2iDq3lv8Xip5jWrJGUqdiqZ6omLVKaORvcAhJ8DIUSGIpXDpa1RZbuxDty0E6y/lRc8dpgJHGitW0i6ynZR0omdTx146kDSdv27sI0c9MTxDlLplFEzcqCkSyY9YAjbnQ4Kh6EfEzUDANDYvi8APDy3WT4u107qpyHA5cavvOLV2S6zBsDC5vbxLwAn9dOQiCKVhEyS4O0ZjSAN/Mx60ZD4IlES3eHymNGH6DNGxvvPE+37vRcQW4Z6UuinnwAAAABJRU5ErkJggg%3D%3D%5D%5BBrowserOpenExtensions%28%27extensions%27%29%3B%5D%5B/*Initialization%20Code*/"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAABkElEQVR4nKWTMUsjQRiGn9lZM7ndQISApLsfIKRUgyARFBTP2tJKuE6Ey2EwiChqIRb2NioWFgoh3R1yoCwRLNLfIYJYhCOpEhCMOBZxV3dnC8GBgZnve+fhZeYdobXmM8OOKw7tf927vrnLva/pbT3+YcD1zV3uarla8Pcjm7OeECKjtW7FAkRJ/DEaluJ344DJ7Dw8Y1GkIkqiG3UTOKivnBeikIR0kEJSXzvPAzT4x/T695CbACCtPi7+n4UAynLxmtVg7/Qne27i7kBafYxn5wBCh0JA+4tRC2iDq3lv8Xip5jWrJGUqdiqZ6omLVKaORvcAhJ8DIUSGIpXDpa1RZbuxDty0E6y/lRc8dpgJHGitW0i6ynZR0omdTx146kDSdv27sI0c9MTxDlLplFEzcqCkSyY9YAjbnQ4Kh6EfEzUDANDYvi8APDy3WT4u107qpyHA5cavvOLV2S6zBsDC5vbxLwAn9dOQiCKVhEyS4O0ZjSAN/Mx60ZD4IlES3eHymNGH6DNGxvvPE+37vRcQW4Z6UuinnwAAAABJRU5ErkJggg=="></a>

Themes
Opens themes window
<a href="custombutton://Themes%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAADDklEQVR4nKWTb0zUBRzGP/eHOw8UBiegHYbiWdGYIkbezVAYGW0OwVg2e+FKt/6smbVYtdaS1czS2axozDwjlzKG2p+VoVxMRWrDucm/4+5ACS68f+nd7u7ngXdc397Ui9SttZ63z+d58WzPoxIR/o/U/wZMu0481bOr3mWrNlru5muampruGvz4cFu2YT4rp8+17nMOOM0Oo9Xb54voent7ptdaLMrfnOr2Cu1f7Cl4YEX5o6FE5nMFsR6r07ab8IOvpda+uFOTSkUYvzrhHOi79Orrja+c+UeFqpVLs9qPfPasafEqezCS12pKF+sSzzHaujS0+rdqdKEZlh39lHVz1MUrHipv3/nGO5UAiAg7tm829Z49fTwa9ovTfUPqG1rE/vZ6cT+PvLx1r7x7WsR5qlMixnyRDw7KtVBcDtiOXAV0msQNT+6GTZu/XLDIvDEQjKGbl4M5vR+To4WL0xW8YGum5n4tM0YTw5Ul9JnzuNdkxjc+nv3tyY5m9cMVVYdKSstr2tqOU7aqjCn3eWru8zDkgkXb9pKm0+MNg1prYNfib9iSqsdz81f0ZABotQZDRl1u/kKWly7n6W070FwbZrDjKOkN72GpWk0oAdEkpBJQHFxNXkYaKQWCUWUMQH3r1sxE0O/jiU0bOXZ4PzlZc3Dk1JFdVcfA5cGYN/DHLDKEUXmSl4zL+LDoIP7RoPLDma/fBGY1tRse+2lycmpuNOxdmOY7lHHpVAeh/Norozej289/3tStyFKLTtOfWZq7D0Omlf6RBXR1fv9Wu+1AJxBWiQjrrWtyGh4v3G/Ujj/j6PNjqv8oMDw61D1/nj6vyFJbsaS4QD836cTluB678LN7T/P7jV8BIRGJawHKC2P3xK8Hq90Tv48ks8p8ZUWFlSWPWLeI1qASSeF3XYk6HJ6uC932Fvt3NhcQEZE4gBZgaGxKiQxONY5MKqPratckAr+NfRKPeKuTs0IwEL541v7j7l96zl0Oh4IKoIhI8o4pq1QqDZAGJAEBsgH9X1wCiAJJuW37d3zhv+pPwm9oE02espcAAAAASUVORK5CYII%3D%5D%5BBrowserOpenExtensions%28%27themes%27%29%3B%5D%5B/*Initialization%20Code*/"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAADDklEQVR4nKWTb0zUBRzGP/eHOw8UBiegHYbiWdGYIkbezVAYGW0OwVg2e+FKt/6smbVYtdaS1czS2axozDwjlzKG2p+VoVxMRWrDucm/4+5ACS68f+nd7u7ngXdc397Ui9SttZ63z+d58WzPoxIR/o/U/wZMu0481bOr3mWrNlru5muampruGvz4cFu2YT4rp8+17nMOOM0Oo9Xb54voent7ptdaLMrfnOr2Cu1f7Cl4YEX5o6FE5nMFsR6r07ab8IOvpda+uFOTSkUYvzrhHOi79Orrja+c+UeFqpVLs9qPfPasafEqezCS12pKF+sSzzHaujS0+rdqdKEZlh39lHVz1MUrHipv3/nGO5UAiAg7tm829Z49fTwa9ovTfUPqG1rE/vZ6cT+PvLx1r7x7WsR5qlMixnyRDw7KtVBcDtiOXAV0msQNT+6GTZu/XLDIvDEQjKGbl4M5vR+To4WL0xW8YGum5n4tM0YTw5Ul9JnzuNdkxjc+nv3tyY5m9cMVVYdKSstr2tqOU7aqjCn3eWru8zDkgkXb9pKm0+MNg1prYNfib9iSqsdz81f0ZABotQZDRl1u/kKWly7n6W070FwbZrDjKOkN72GpWk0oAdEkpBJQHFxNXkYaKQWCUWUMQH3r1sxE0O/jiU0bOXZ4PzlZc3Dk1JFdVcfA5cGYN/DHLDKEUXmSl4zL+LDoIP7RoPLDma/fBGY1tRse+2lycmpuNOxdmOY7lHHpVAeh/Norozej289/3tStyFKLTtOfWZq7D0Omlf6RBXR1fv9Wu+1AJxBWiQjrrWtyGh4v3G/Ujj/j6PNjqv8oMDw61D1/nj6vyFJbsaS4QD836cTluB678LN7T/P7jV8BIRGJawHKC2P3xK8Hq90Tv48ks8p8ZUWFlSWPWLeI1qASSeF3XYk6HJ6uC932Fvt3NhcQEZE4gBZgaGxKiQxONY5MKqPratckAr+NfRKPeKuTs0IwEL541v7j7l96zl0Oh4IKoIhI8o4pq1QqDZAGJAEBsgH9X1wCiAJJuW37d3zhv+pPwm9oE02espcAAAAASUVORK5CYII="></a>

Extensions Sidebar
Opens extensions in sidebar
<a href="custombutton://Extensions%20Sidebar%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAABkElEQVR4nKWTMUsjQRiGn9lZM7ndQISApLsfIKRUgyARFBTP2tJKuE6Ey2EwiChqIRb2NioWFgoh3R1yoCwRLNLfIYJYhCOpEhCMOBZxV3dnC8GBgZnve+fhZeYdobXmM8OOKw7tf927vrnLva/pbT3+YcD1zV3uarla8Pcjm7OeECKjtW7FAkRJ/DEaluJ344DJ7Dw8Y1GkIkqiG3UTOKivnBeikIR0kEJSXzvPAzT4x/T695CbACCtPi7+n4UAynLxmtVg7/Qne27i7kBafYxn5wBCh0JA+4tRC2iDq3lv8Xip5jWrJGUqdiqZ6omLVKaORvcAhJ8DIUSGIpXDpa1RZbuxDty0E6y/lRc8dpgJHGitW0i6ynZR0omdTx146kDSdv27sI0c9MTxDlLplFEzcqCkSyY9YAjbnQ4Kh6EfEzUDANDYvi8APDy3WT4u107qpyHA5cavvOLV2S6zBsDC5vbxLwAn9dOQiCKVhEyS4O0ZjSAN/Mx60ZD4IlES3eHymNGH6DNGxvvPE+37vRcQW4Z6UuinnwAAAABJRU5ErkJggg%3D%3D%5D%5Bvar%20url%20%3D%27chrome%3A//mozapps/content/extensions/extensions.xul%3Ftype%3Dextensions%27%3B%0AopenWebPanel%28url%2C%20url%29%3B%5D%5B/*Initialization%20Code*/"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOC8xMS8wNdiEE10AAAAldEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIE1YIDIwMDSHdqzPAAABkElEQVR4nKWTMUsjQRiGn9lZM7ndQISApLsfIKRUgyARFBTP2tJKuE6Ey2EwiChqIRb2NioWFgoh3R1yoCwRLNLfIYJYhCOpEhCMOBZxV3dnC8GBgZnve+fhZeYdobXmM8OOKw7tf927vrnLva/pbT3+YcD1zV3uarla8Pcjm7OeECKjtW7FAkRJ/DEaluJ344DJ7Dw8Y1GkIkqiG3UTOKivnBeikIR0kEJSXzvPAzT4x/T695CbACCtPi7+n4UAynLxmtVg7/Qne27i7kBafYxn5wBCh0JA+4tRC2iDq3lv8Xip5jWrJGUqdiqZ6omLVKaORvcAhJ8DIUSGIpXDpa1RZbuxDty0E6y/lRc8dpgJHGitW0i6ynZR0omdTx146kDSdv27sI0c9MTxDlLplFEzcqCkSyY9YAjbnQ4Kh6EfEzUDANDYvi8APDy3WT4u107qpyHA5cavvOLV2S6zBsDC5vbxLwAn9dOQiCKVhEyS4O0ZjSAN/Mx60ZD4IlES3eHymNGH6DNGxvvPE+37vRcQW4Z6UuinnwAAAABJRU5ErkJggg=="></a>

You can share your buttons with others:
  1. Create and test your own button.
  2. Right click it and choose "Copy to clipboard"
    Image
  3. Paste custombuttons://... link to forum.
Last edited by Yan_ on June 15th, 2006, 2:32 pm, edited 1 time in total.

Yan_
 
Posts: 5
Joined: June 15th, 2006, 1:19 am

Post Posted June 15th, 2006, 1:44 pm

More button examples.

Proxy on/off
<a href="custombutton://Proxy%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAElBMVEUA/wAAAACIiIjd3d2AgID///9WXziYAAAAAXRSTlMAQObYZgAAAFRJREFUeF4tydERgCAMBNFABUQr8KjAXAcODTD034s5cb/ezJohs6wuMpow3X8MTeH5prBnXTHHEIAN+LHRGSQFBLJcgGfTindml1lO3qcAJRTP2gv/MBEl7nzAMAAAAABJRU5ErkJggg%3D%3D%5D%5Bswitch%28this.PS.getIntPref%28this.pref%29%29%7B%0A%09case%201%3A%20this.PS.setIntPref%28this.pref%2C0%29%3Bbreak%3B%0A%09case%200%3A%20this.PS.setIntPref%28this.pref%2C1%29%3Bbreak%3B%0A%7D%5D%5Bthis.pref%3D%27network.proxy.type%27%3B%0Athis.onImage%3D%27data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAG1BMVEUA/wCIiIgAAADd3d3///8AAICAAAD/AAAAAP8pkhnQAAAAAXRSTlMAQObYZgAAAF1JREFUeF4tyUERg0AQRNEJDjprAAYFQztYCglYWAlwzi2y053kn17Vj4AK9djJmo3jPP94exqv7zR6prFXvy8D+AG59DGExiJpoKC0gFQ9pmxUzwhNbqsBJ2iq+QNw+RI4rlZUrAAAAABJRU5ErkJggg%3D%3D%27%3B%0Athis.offImage%3Dthis.image%3B%0A%0Athis.setState%3Dfunction%28%29%7B%0A%20var%20state%3Dthis.PS.getIntPref%28this.pref%29%3B%0A%20if%20%28state%3D%3D1%29%7B%0A%20%20this.image%3Dthis.onImage%3B%0A%20%20this.checked%3Dtrue%3B%0A%20%7Delse%7B%0A%20%20this.image%3Dthis.offImage%3B%0A%20%20this.checked%3Dfalse%3B%0A%20%7D%0A%7D%0A%0Athis.PS%3D%0A%20Components.classes%5B%27@mozilla.org/preferences-service%3B1%27%5D%0A%20.getService%28Components.interfaces.nsIPrefBranch%29%3B%0Athis.ob%3D%7B%7D%3B%0Athis.ob.observe%3Dthis.setState.bind%28this%29%3B%0Athis.PS.addObserver%28this.pref%2Cthis.ob%2Cfalse%29%3B%0Athis.setState%28%29%3B"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAElBMVEUA/wAAAACIiIjd3d2AgID///9WXziYAAAAAXRSTlMAQObYZgAAAFRJREFUeF4tydERgCAMBNFABUQr8KjAXAcODTD034s5cb/ezJohs6wuMpow3X8MTeH5prBnXTHHEIAN+LHRGSQFBLJcgGfTindml1lO3qcAJRTP2gv/MBEl7nzAMAAAAABJRU5ErkJggg=="></a>

Offline mode on/off
<a href="custombutton://Offline%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAB3RJTUUH1AsRFQ8FNxF8qQAAAAlwSFlzAABOIAAATiABFn2Z3gAAAARnQU1BAACxjwv8YQUAAAJMSURBVHjajVJLiJJhFP1+/VPH9wNERXHAohEfCLaJgjAJgxIicBFtomULaedKZtOyhbpRlB4uahUkhGmQLcIoDbPJxERRVDQ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.image%3Dthis.onImage%3B%0A%20%20this.checked%3Dtrue%3B%0A%20%7Delse%7B%0A%20%20this.image%3Dthis.offImage%3B%0A%20%20this.checked%3Dfalse%3B%0A%20%7D%0A%7D%0A%0Athis.PS%3D%0A%20Components.classes%5B%27@mozilla.org/preferences-service%3B1%27%5D%0A%20.getService%28Components.interfaces.nsIPrefBranch%29%3B%0Athis.ob%3D%7B%7D%3B%0Athis.ob.observe%3Dthis.setState.bind%28this%29%3B%0Athis.PS.addObserver%28this.pref%2Cthis.ob%2Cfalse%29%3B%0Athis.setState%28%29%3B"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAB3RJTUUH1AsRFQ8FNxF8qQAAAAlwSFlzAABOIAAATiABFn2Z3gAAAARnQU1BAACxjwv8YQUAAAJMSURBVHjajVJLiJJhFP1+/VPH9wNERXHAohEfCLaJgjAJgxIicBFtomULaedKZtOyhbpRlB4uahUkhGmQLcIoDbPJxERRVDQfqKmjqPxa949pmBjNLpzFvd+957uce7BSqfSi1WpdrtVqqFwuxx0OxzWE0AD9Z1CdTmeQRqOdmM/nlHQ6reRyuXOTybTg8XhbOI7v93q9xb8IcDqdTh2NRojNZqN6vY4Fg8Hd2Wy22+/3UaVSIZrN5h7Es0Qi4U2lUsc2wzudzgLDMAo0omq1ivx+P4KNEIvFQiKRCFepVEa5XG6E/M50OrVms9m9owSY3W6PgQYXyWH4sQ+/v4Kt9gFCBoMhl0gkJ61Wq1Amk6FAIPAlFotdgLkfhxt4PJ7rFArlynK5ZEA+A7w8aKAA6LlcTqbRaB5JpdLzoM8O1M4AXh8SkIrD8NMV+ixsNttPs9l8WygUnm2326RGE5L0Lw3Wqet2u01KpfIh6LFdKBRQJBIhisXiB3j6tJHA5XJdNRgMz4fDIR4Oh1EymRzk8/k3kN+D5+8bCcRi8X3wBe7z+RaZTOYrCPwYyk8AnWNnXEUwGAzkcELU7XYbMHwXSm8By5VOXLPBOb1ef0qtVnMFAgFOpVI/NhqN4apebFXRaDTuaLXadxaLRQgnRjBMwBXegwZxwDdwbgv8Mo5Go/GVBGSQDgTzPNDpdHpwIsZkMhE4EU0mk98Yj8fI6/VeWktwEDyFQnGDz+ff5HA4GtCFBw4lDYYIgkChUOjWJoI/sQXYBpwmSY/UP/8CL+z76C73PLQAAAAASUVORK5CYII="></a>

Site cookies
Allows to set cookie permissions for current site.
<a href="custombutton://Site%20cookies%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAP0SURBVHjaYrwxz5Hh+88fDB/W3mZgvPWeQZDhL8N/BiAAEmz/GHrm/2DQ6XnHEPL/P8MXBiwAIIBYQATTn38Mby3FGJhkGRmMnr9mYGAF6v/FoMf3gyHd/QsD16wPDM4f/zJsBKllZmRg4GdnYPj8i4Hh9z8GBoAAYoKYw8jA+usvwydmdoZ9XEIMBx4zMJz9wmjy312IZ58A5yeg5oeszEwMelJsDO6aPAwinIwMLIwQnQABxAJzCogPNJDhET8fw4Nf3xnYX/K+VeLPZDj3fu19JeHrF7w0hRg+fv/O8Os/E8O//wwQbwIBQACxQLT+Z/j35yfDv98/mRj+/NMX1xdS4/kiGsT0gY9BW4BXSlVQOJvh598rP378PP3jH8O3P38RYQAQAEEAvv8B2p5AAPXz9BDp8geACx06VxQiMxUNGR8DAvH3AAG9zAADLiIA/CggAO7k4/7e1s/1xb63yLG7y33c7gDJ/AAAAAKI4eJ0R5ZrqzKPfnh++z8y+Pnq9f83c+b+/3HpMor4/98f/i9qS/sowMbgDNIPEEBMfzhl5fmU7TT4JaQZGL4BQ+/bUyB+xsDK+Y1B0N+WgU2eF8h/wsDw/RkDw1cgzcLFYObmxScmwBQGMgAggFh+fH76/seHJ98Y/v4XYmBihCj+/YWB8ecnBkZGoGe/AlWxAg1h4WZg4BQH2cnw6fmz/1++/vsEMgAggJh+fXz679XdC/++fPrC8O7+LYbri1sZnp8/zvBfwpaBQdyBgUHGneHrLzaGy+taGR5dOABKCQyvH91n+POL4RvIAIAAYmEQVPv1/P6tvw+bQhh4P9xg4P7ymuH9hR1ABzEySHsWMHy+e4zhzqpchrd3bzI8unKK4cW9uwzXjx9mAMYmyG0MAAEAQQC+/wPgLshYHvvGW/jXtwQJAvwAEA7+AAED/QDy28QA7tKsAOnJngD58OUABAsCAPf3/ADUxcoA9v4PAeYOQwrn5OGmAogpwl1gkpmpKvv3X8Ck8fcXw39gKmFiBqYOpl8MX59eZ/j78yMDCwcwkf3/B5T7w/Dtyw8GPV15hqZpU60FlG0mAAQQy8c3t3+o+xQx/AIm7A9HlzP8BYc4MKGDkhgb0I1A5t8/oFTKzMDMJcpg4m/PYBHfxLDpxheG319fSAIEECOfQaqNj7PWgti4CCVpQRZGxjeXGP6/vcvw7+tbBmBqABrCwsDEyc/AwCfLwCysx/DhnwjDxm0H/s7uaT/9/uHxdIAAAEEAvv8BDCVRAPrt1BALERVSHiAeUyQwNigWGBkODAsIBAQEAQL9/f8A9/j8/ezr7Prg2dbw2czF0+7h1akAAPm0AAAA+AIMAD6Gp+zOcXqNAAAAAElFTkSuQmCC%5D%5B%5D%5Bthis.setPermission%3Dfunction%28p%29%7B%0A%20%20var%20loc%3DgBrowser.currentURI%3B%0A%20%20this.PM.remove%28loc.host%2C%22cookie%22%29%3B%0A%20%20if%20%28p%29%20this.PM.add%28loc%2C%22cookie%22%2Cp%29%3B%20%0A%20%7D%0A%0A%20var%20nMItem%3Dfunction%28label%2Cp%2Cobj%29%7B%0A%20%20%20var%20m%3Ddocument.createElement%28%27menuitem%27%29%3B%0A%20%20%20m.setAttribute%28%27label%27%2Clabel%29%3B%0A%20%20%20m.f%3Dobj.setPermission.bind%28obj%29%3B%0A%20%20%20m.setAttribute%28%27oncommand%27%2C%27this.f%28%27+p+%27%29%27%29%3B%0A%20%20%20m.setAttribute%28%27type%27%2C%27radio%27%29%3B%0A%20%20%20m.setAttribute%28%27name%27%2C%27radio%27%29%3B%0A%20%20%20return%20m%3B%0A%20%7D%0A%0A%20this.PM%3DComponents.classes%5B%22@mozilla.org/permissionmanager%3B1%22%5D%0A%20%20%20%20%20%20%20%20%20.getService%28Components.interfaces.nsIPermissionManager%29%3B%0A%20this.type%3D%22menu%22%3B%0A%20this.orient%3D%22vertical%22%3B%0A%0A%20var%20mP%3Ddocument.createElement%28%27menupopup%27%29%3B%0A%20%20mP.appendChild%28nMItem%28%27Allow%20cookie%20sessions%27%2C8%2Cthis%29%29%3B%0A%20%20mP.appendChild%28nMItem%28%27Allow%20all%20cookies%27%2C1%2Cthis%29%29%3B%0A%20%20mP.appendChild%28nMItem%28%27Deny%20all%20cookies%27%2C2%2Cthis%29%29%3B%0A%20%20mP.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%20%20mP.appendChild%28nMItem%28%27Default%27%2Cnull%2Cthis%29%29%3B%0A%20%20mP.f%3Dfunction%28%29%7B%0A%09var%20j%3B%0A%09switch%28this.parentNode.PM.testPermission%28gBrowser.currentURI%2C%22cookie%22%29%29%7B%0A%09%09case%208%3A%20j%3D0%3Bbreak%3B%0A%09%09case%201%3A%20j%3D1%3Bbreak%3B%0A%09%09case%202%3A%20j%3D2%3Bbreak%3B%0A%09%09default%3A%20j%3D4%3Bbreak%3B%0A%09%7D%0A%09this.childNodes%5Bj%5D.setAttribute%28%27checked%27%2Ctrue%29%3B%0A%20%20%7D%0A%20%20mP.setAttribute%28%27onpopupshowing%27%2C%27this.f%28%29%3B%27%29%3B%0A%20%20this.appendChild%28mP%29%3B%0A%0A"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAP0SURBVHjaYrwxz5Hh+88fDB/W3mZgvPWeQZDhL8N/Bi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A5t8/oFTKzMDMJcpg4m/PYBHfxLDpxheG319fSAIEECOfQaqNj7PWgti4CCVpQRZGxjeXGP6/vcvw7+tbBmBqABrCwsDEyc/AwCfLwCysx/DhnwjDxm0H/s7uaT/9/uHxdIAAAEEAvv8BDCVRAPrt1BALERVSHiAeUyQwNigWGBkODAsIBAQEAQL9/f8A9/j8/ezr7Prg2dbw2czF0+7h1akAAPm0AAAA+AIMAD6Gp+zOcXqNAAAAAElFTkSuQmCC"></a>

User Agent Switcher
Allows to change user agent.
<a href="custombutton://User%20Agent%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gYMERYOK+FOHQAAA21JREFUeNplk1toWwUAhr9zTnpy7XJpmmZtmjbtZltoS9fOja7besNN+iiKq+CbiDAVn0QRxyZYNhHBBzeZMsZEC4JOUdGp1aFdraOMLl1va3S9JG3a5tqcpDnN5fjiYNDv7YeP/+0T2I3O3dzTFd7Y08HGQjVoAqW+FVtFfCIRGB8Dco/KwqPDWtXbZ2x98Zy9pvZgS3Oj/linTXCUgP9BQhv+8baaXZq9E7119Wxha/KXXQfOI6+94GjpHXriVNApWL4Q1MwiajLD/EQDrx7+ngu/36Xo8GimyFJs6sanZ7anv7wEaBKA5O3sazr58qX6xpZyRRsUfM0KVfVOPn4jzHuXGxj6bIqFrROsrqwJA+0eU0JX1ZlYmJjSdmILIqCzNT9/7tBAtzMcnqDcqyIKNgx6J9e+e4Vanubs2ylq7RfB6OGTr2Y5fKDO7ug8fQYw6yz7erqqmxsOrq8iIH+Oq0qPKIgYRBsOvJTRxDsXLejkXvSlCqrBxA83l4W21qa2yXsN/aKSMLWXeffr47EkuXQl+XwORJBJYSbKh9eXsDedorS6gmKhAIKAkshhdTvlLZ23UyQya9WVewRFTSPQRmwzTrGQ493TaS5cvc74PTPBCASWIuSyGSioqBmVlfUdIbc8YxXBIie2MiSULXLFDq69+RiK8gBZtjHybQ/5rI8D6RmOGCOU5VOwnQdZZn7bCeRFCWd7i7T/0MlUWhX0pSZs1qcY/yZLXdsoDcd/Y/yPHgLp14nFRwjN7EC8Girs1Drymj56d0wy2PRiwdnxXII9JdmMAiYdJdbj3PcP8M9fAfqfeZ/+QRXf40s0dv9KznITqWjCnqhUM4Erl8Xs6vTf6X+nb0uyrKU2UqyuxVmNb6I6jaSDL2HxQDicJRzOIYluuo75MMcqNCk1Px0KhUYlQBOSwUWxrPXJot5lYTOOpmTRUllIZhENf1LTWI279AQu/SDjw/sQI97Y3Mhb53M7ypgEoKnRxZJ8al10+bo0g8usbecFsjtgMbH+k4ujfc+iS/fy85U1LXrfEFOWhz+IBCeHgaT0sIV8LODXBW/595TtrdOMepd5r1sye+oFuSqPthHVvv5oTDXmSvzBsaHzkZB/GNjcVeP/mGrqmroTRffR5OKcDUySqbI+a5eW74RW5kaBNWD7ofwfd0t2nYU4JRwAAAAASUVORK5CYII%3D%5D%5B%5D%5Bvar%20UAs%3Dnew%20Array%3B%0A//------User%20Agents--------%0AUAs.push%28%5B%27IE%27%2C%27Mozilla/4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%29%27%5D%29%3B%0AUAs.push%28%5B%27Opera%27%2C%27Opera/8.51%20%28Windows%20NT%205.1%3B%20U%3B%20en%29%27%5D%29%3B%0A//------/User%20Agents-------%0A%0Athis.setUA%3Dfunction%28ua%29%7B%0A%20if%20%28ua%29%7B%0A%20%20this.PS.setCharPref%28%27general.useragent.override%27%2Cua%29%3B%0A%20%7D%20else%7B%0A%20%20this.PS.clearUserPref%28%27general.useragent.override%27%29%3B%0A%20%7D%0A%7D%0A%0A%20var%20nMItem%3Dfunction%28label%2Cp%2Cobj%29%7B%0A%20%20%20var%20m%3Ddocument.createElement%28%27menuitem%27%29%3B%0A%20%20%20m.setAttribute%28%27label%27%2Clabel%29%3B%0A%20%20%20m.f%3Dobj.setUA.bind%28obj%29%3B%0A%20%20%20m.setAttribute%28%27oncommand%27%2C%27this.f%28%27+%28p%3F%28%27%22%27+p+%27%22%27%29%3A%28%27null%27%29%29+%27%29%27%29%3B%0A%20%20%20if%20%28p%29%20m.setAttribute%28%27ua%27%2Cp%29%3B%0A%20%20%20m.setAttribute%28%27type%27%2C%27radio%27%29%3B%0A%20%20%20m.setAttribute%28%27name%27%2C%27radio%27%29%3B%0A%20%20%20return%20m%3B%0A%20%7D%0A%20var%20mP%3Ddocument.createElement%28%27menupopup%27%29%3B%0A%20%20for%20%28var%20i%3D0%3Bi%3CUAs.length%3Bi++%29%7B%0A%20%20%20mP.appendChild%28nMItem%28UAs%5Bi%5D%20%5B0%5D%2CUAs%5Bi%5D%20%5B1%5D%2Cthis%29%29%3B%0A%20%20%7D%0A%20%20mP.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%20%20mP.appendChild%28nMItem%28%27Default%27%2Cnull%2Cthis%29%29%3B%0A%20%20mP.f%3Dfunction%28%29%7B%0A%20%20%20var%20PS%3Dthis.parentNode.PS%3B%0A%20%20%20var%20pref%3D%27general.useragent.override%27%3B%0A%20%20%20var%20ua%3Dnull%3B%0A%20%20%20if%20%28PS.prefHasUserValue%28pref%29%29%7B%0A%20%20%20%20ua%3DPS.getCharPref%28pref%29%3B%0A%20%20%20%7D%0A%20%20%20if%20%28%21ua%29%20this.lastChild.setAttribute%28%27checked%27%2Ctrue%29%3B%0A%20%20%20for%20%28var%20i%3D0%3Bi%3Cthis.childNodes.length%3Bi++%29%7B%0A%20%20%20%20if%20%28this.childNodes%5Bi%5D.getAttribute%28%27ua%27%29%3D%3Dua%29%7B%0A%20%20%20%20%20this.childNodes%5Bi%5D.setAttribute%28%27checked%27%2Ctrue%29%3B%0A%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%20%20%20%7D%0A%20%20%7D%0A%20%20mP.setAttribute%28%27onpopupshowing%27%2C%27this.f%28%29%3B%27%29%3B%0A%20%20this.type%3D%22menu%22%3B%0A%20%20this.orient%3D%22vertical%22%3B%0A%20%20this.appendChild%28mP%29%3B%0A%20%20this.PS%3D%0A%20Components.classes%5B%27@mozilla.org/preferences-service%3B1%27%5D%0A%20.getService%28Components.interfaces.nsIPrefBranch%29%3B%0A"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gYMERYOK+FOHQAAA21JREFUeNplk1toWwUAhr9zTnpy7XJpmmZtmjbtZltoS9fOja7besNN+iiKq+CbiDAVn0QRxyZYNhHBBzeZMsZEC4JOUdGp1aFdraOMLl1va3S9JG3a5tqcpDnN5fjiYNDv7YeP/+0T2I3O3dzTFd7Y08HGQjVoAqW+FVtFfCIRGB8Dco/KwqPDWtXbZ2x98Zy9pvZgS3Oj/linTXCUgP9BQhv+8baaXZq9E7119Wxha/KXXQfOI6+94GjpHXriVNApWL4Q1MwiajLD/EQDrx7+ngu/36Xo8GimyFJs6sanZ7anv7wEaBKA5O3sazr58qX6xpZyRRsUfM0KVfVOPn4jzHuXGxj6bIqFrROsrqwJA+0eU0JX1ZlYmJjSdmILIqCzNT9/7tBAtzMcnqDcqyIKNgx6J9e+e4Vanubs2ylq7RfB6OGTr2Y5fKDO7ug8fQYw6yz7erqqmxsOrq8iIH+Oq0qPKIgYRBsOvJTRxDsXLejkXvSlCqrBxA83l4W21qa2yXsN/aKSMLWXeffr47EkuXQl+XwORJBJYSbKh9eXsDedorS6gmKhAIKAkshhdTvlLZ23UyQya9WVewRFTSPQRmwzTrGQ493TaS5cvc74PTPBCASWIuSyGSioqBmVlfUdIbc8YxXBIie2MiSULXLFDq69+RiK8gBZtjHybQ/5rI8D6RmOGCOU5VOwnQdZZn7bCeRFCWd7i7T/0MlUWhX0pSZs1qcY/yZLXdsoDcd/Y/yPHgLp14nFRwjN7EC8Girs1Drymj56d0wy2PRiwdnxXII9JdmMAiYdJdbj3PcP8M9fAfqfeZ/+QRXf40s0dv9KznITqWjCnqhUM4Erl8Xs6vTf6X+nb0uyrKU2UqyuxVmNb6I6jaSDL2HxQDicJRzOIYluuo75MMcqNCk1Px0KhUYlQBOSwUWxrPXJot5lYTOOpmTRUllIZhENf1LTWI279AQu/SDjw/sQI97Y3Mhb53M7ypgEoKnRxZJ8al10+bo0g8usbecFsjtgMbH+k4ujfc+iS/fy85U1LXrfEFOWhz+IBCeHgaT0sIV8LODXBW/595TtrdOMepd5r1sye+oFuSqPthHVvv5oTDXmSvzBsaHzkZB/GNjcVeP/mGrqmroTRffR5OKcDUySqbI+a5eW74RW5kaBNWD7ofwfd0t2nYU4JRwAAAAASUVORK5CYII="></a>

External Applications
<a href="custombutton://External%20Applications%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACkElEQVR4XqXNa2jVZQAG8N//nJ3jmbs4l6XZhSGI0sWhQ9CCpKhcWljOYCLZDZEgsA+RFEQWCcEsF8vsy9yHLiKCGxgsVnZZzLm2BV2kYdgWJ7cyN6Zn7nLO8bwh9KmBX/rB8/F5niiE4H/r2qX+xLPaTu4TPt1mvG2LyfYnjaAYcdcQXS1PxBzOZnh4L0bI/M7oKL+ccD6W1Vt7VB1yKMwauPpcvd6m6+7BcWQxByVkphjKcbbd4cfa7MDUf0dilzM2Dg0gzfRl6e//sG84q7Ww0ExZDVVLyOdsbqn1IlKIAEDfHiH0C6FTSO/ViuW4teEFa3/rrSyEv4WZHuHI1lRI7vwod8u2lqeQQASxzBky3chy8002vVHnelw8OPXJK5svNEcqSMb5NXOnxTXriiZnHCqrb0nfsKV5OxKxfNLuzi9cchGlole3+ybT6UC5P28zXkEBw6xeNGDZYJ/b77s/mn/XqoX5bHYDSiMkv3zG5XvvVqQYU5iLxYhjEEmG0rxz7vn+gQdfW1UqGX1+sp++gY4YcoWk/EiCn0bJ1mAMP+MvXKL7K3q+lW7a/97TUTT8VmpJifLVa2QrylfGEKbH7Ow56nTXcQ2nWl2BoTGGKrGCsYvzfLbmyHlMd9RWN5bk4yZGZ4TxTCoCJFCO4o5dTi99VHnPuy4cG1u3oG7FDxpT+5294wk3zg0SybiRqci5HLraRYAIRYg3r7c15NUeiuq/O7Xs8YbUvMpocnkVySpGUYoJ/NguMXAmbTYJzMeiBRvffq7ykaYPyjYc6PX+YPDmSHCwO/g6hKjuwwKqzSZCEZIoRmXZA417vHwsxHd8PD1n7esNsYeapotW7n4JSyPXFiGOJEr/DVxBwOQ/YMb/YyJTjUkAAAAASUVORK5CYII%3D%5D%5B%5D%5Bvar%20apps%3Dnew%20Array%3B%0A//------menu%20items--------%0Aapps.push%28%5B%27Notepad%27%2C%27c%3A/windows/notepad.exe%27%5D%29%3B%0Aapps.push%28%27separator%27%29%3B%0Aapps.push%28%5B%27IE%27%2C%27c%3A/Program%20files/Internet%20Explorer/IEXPLORE.EXE%27%5D%29%3B%0A//------/menu%20items-------%0A%0Avar%20nMItem%3Dfunction%28label%2Cpath%2Cargs%2Cobj%29%7B%0A%20%20var%20m%3Ddocument.createElement%28%27menuitem%27%29%3B%0A%20%20m.setAttribute%28%27label%27%2Clabel%29%3B%0A%20%20m.f%3Dobj.startProcess.bind%28obj%29%3B%0A%20%20m.setAttribute%28%27oncommand%27%2C%27this.f%28%22%27+path+%27%22%2C%22%27+args+%27%22%29%27%29%3B%0A%20%20return%20m%3B%0A%7D%0Athis.startProcess%3Dfunction%28path%2Cargs%29%7B%0Avar%20file%20%3D%20Components.classes%5B%27@mozilla.org/file/local%3B1%27%5D%0A%20%20%20%20.createInstance%28Components.interfaces.nsILocalFile%29%3B%0Avar%20process%20%3D%20Components.classes%5B%27@mozilla.org/process/util%3B1%27%5D%0A%20%20%20%20.getService%28Components.interfaces.nsIProcess%29%3B%0A%20file.initWithPath%28path.replace%28/%5C//g%2C%27%5C%5C%5C%5C%27%29%29%3B%20%0A//%20file.launch%28%29%3B%0A%20process.init%28file%29%3B%0A%20process.run%28false%2C%5Bargs%5D%2C1%29%3B%20%0A%7D%0A%0Athis.orient%3D%22vertical%22%3B%0Avar%20mP%3Ddocument.createElement%28%27menupopup%27%29%3B%0Afor%20%28var%20i%3D0%3Bi%3Capps.length%3Bi++%29%7B%0A%20if%20%28apps%5Bi%5D%20%3D%3D%27separator%27%29%7B%0A%20%20mP.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%20%7Delse%7B%0A%20%20if%20%28%21apps%5Bi%5D%20%5B2%5D%29%20apps%5Bi%5D%20%5B2%5D%3D%27%27%3B%0A%20%20mP.appendChild%28nMItem%28apps%5Bi%5D%20%5B0%5D%2Capps%5Bi%5D%20%5B1%5D%2Capps%5Bi%5D%20%5B2%5D%2Cthis%29%29%3B%0A%20%7D%0A%7D%0Athis.appendChild%28mP%29%3B%0A%0A"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACkElEQVR4XqXNa2jVZQAG8N//nJ3jmbs4l6XZhSGI0sWhQ9CCpKhcWljOYCLZDZEgsA+RFEQWCcEsF8vsy9yHLiKCGxgsVnZZzLm2BV2kYdgWJ7cyN6Zn7nLO8bwh9KmBX/rB8/F5niiE4H/r2qX+xLPaTu4TPt1mvG2LyfYnjaAYcdcQXS1PxBzOZnh4L0bI/M7oKL+ccD6W1Vt7VB1yKMwauPpcvd6m6+7BcWQxByVkphjKcbbd4cfa7MDUf0dilzM2Dg0gzfRl6e//sG84q7Ww0ExZDVVLyOdsbqn1IlKIAEDfHiH0C6FTSO/ViuW4teEFa3/rrSyEv4WZHuHI1lRI7vwod8u2lqeQQASxzBky3chy8002vVHnelw8OPXJK5svNEcqSMb5NXOnxTXriiZnHCqrb0nfsKV5OxKxfNLuzi9cchGlole3+ybT6UC5P28zXkEBw6xeNGDZYJ/b77s/mn/XqoX5bHYDSiMkv3zG5XvvVqQYU5iLxYhjEEmG0rxz7vn+gQdfW1UqGX1+sp++gY4YcoWk/EiCn0bJ1mAMP+MvXKL7K3q+lW7a/97TUTT8VmpJifLVa2QrylfGEKbH7Ow56nTXcQ2nWl2BoTGGKrGCsYvzfLbmyHlMd9RWN5bk4yZGZ4TxTCoCJFCO4o5dTi99VHnPuy4cG1u3oG7FDxpT+5294wk3zg0SybiRqci5HLraRYAIRYg3r7c15NUeiuq/O7Xs8YbUvMpocnkVySpGUYoJ/NguMXAmbTYJzMeiBRvffq7ykaYPyjYc6PX+YPDmSHCwO/g6hKjuwwKqzSZCEZIoRmXZA417vHwsxHd8PD1n7esNsYeapotW7n4JSyPXFiGOJEr/DVxBwOQ/YMb/YyJTjUkAAAAASUVORK5CYII="></a>

Clocks
Works from system clocks
<a href="custombutton://%20%20Clocks%5D%5Bdata%3Aimage/x-xbitmap%2C%2523define%2520xbmtext_width%252040%250A%2523define%2520xbmtext_height%252016%250Astatic%2520unsigned%2520char%2520xbmtext_bits%255B%255D%2520%253D%2520%257B0x00%252C%25200xff%252C%25200xff%252C%25200xff%252C%25200x7f%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x80%252C%25200x38%252C%25200x0e%252C%25200x38%252C%25200x8e%252C%25200x80%252C%25200x44%252C%25200x11%252C%25200x44%252C%25200x91%252C%25200x80%252C%25200x44%252C%25200x91%252C%25200x44%252C%25200x91%252C%25200x80%252C%25200x38%252C%25200x8e%252C%25200x38%252C%25200x8e%252C%25200x80%252C%25200x44%252C%25200x11%252C%25200x44%252C%25200x91%252C%25200x80%252C%25200x44%252C%25200x11%252C%25200x44%252C%25200x91%252C%25200x80%252C%25200x44%252C%25200x91%252C%25200x44%252C%25200x91%252C%25200x80%252C%25200x38%252C%25200x8e%252C%25200x38%252C%25200x8e%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x80%252C%25200x00%252C%25200x00%252C%25200x00%252C%25200x80%252C%25200x00%252C%25200xff%252C%25200xff%252C%25200xff%252C%25200x7f%257D%5D%5B%5D%5Bthis.xbmLib%3D%7B%0A%09//%u0434%u043E%u0431%u0430%u0432%u043B%u044F%u0435%u043C%20%u043D%u0443%u043B%u0438%0A%09fixmod%3Afunction%28s%2Cn%29%7B%0A%09%20while%20%28s.length%25n%21%3D0%29%20s%3D%270%27+s%3B%0A%09%20return%20s%3B%0A%09%7D%2C%0A%09//16-%u044B%u0439%20%u043A%u043E%u0434%20%u0432%202%u044B%u0439%0A%09h2b%3Afunction%28s%29%7B%0A%09%20var%20res%3D%27%27%3B%0A%09%20for%20%28var%20i%3D0%3Bi%3Cs.length%3Bi++%29%7B%0A%09%20%20res+%3Dthis.fixmod%28parseInt%28s.substring%28i%2Ci+1%29%2C16%29.toString%282%29%2C4%29%3B%0A%09%20%7D%0A%09%20return%20res%3B%0A%09%7D%2C%0A%09//2-%u044B%u0439%20%u043A%u043E%u0434%20%u0432%2016-%u044B%u0439%0A%09b2h%3Afunction%28s%29%7B%0A%09%20var%20res%3D%27%27%3B%0A%09%20for%20%28var%20i%3D0%3Bi%3Cs.length/4%3Bi++%29%7B%0A%09%20%20res+%3DparseInt%28s.substring%28i*4%2Ci*4+4%29%2C2%29.toString%2816%29%3B%0A%09%20%7D%0A%09%20return%20res%3B%0A%09%7D%2C%0A%09//2%u044B%u0439%20%u043A%u043E%u0434%20%u0432%20%u043C%u0430%u0442%u0440%u0438%u0446%u0443%20%u043F%u043E%20%u0441%u0442%u0440%u043E%u043A%u0430%u043C%0A%09b2matrix%3Afunction%28s%2Crows%29%7B%0A%09%20var%20cols%3Ds.length/rows%3B%0A%09%20var%20ar%3D%5B%5D%3B%0A%09%20for%20%28var%20i%3D0%3Bi%3Crows%3Bi++%29%7B%0A%09%20%20ar%5Bi%5D%3Ds.substring%28i*cols%2C%28i+1%29*cols%29%3B%0A%09%20%7D%0A%09%20return%20ar%3B%0A%09%7D%2C%0A%09%0A%09//2-%u044B%u0439%20%u043A%u043E%u0434%20%u0432%20xbm%0A%09b2xbm%3Afunction%28s%2Crows%29%7B%0A%09%20var%20cols%3Ds.length/rows%3B%0A%09%20var%20res%3D%27%23define%20xbmtext_width%20%27+cols+%27%5Cn%27%3B%0A%09%20res+%3D%27%23define%20xbmtext_height%20%27+rows+%27%5Cn%27%3B%0A%09%20res+%3D%27static%20unsigned%20char%20xbmtext_bits%5B%5D%20%3D%20%7B%27%3B%0A%09%20var%20z%3Ds.length/8%3B%0A%09%20for%20%28var%20i%3D0%3Bi%3Cz%3Bi++%29%7B%0A%09%20%20res+%3D%220x%22%3B%0A%09%20%20for%20%28j%3D1%3Bj%3E-1%3Bj--%29%0A%09%20%20%20res+%3Dthis.b2h%28s.substring%28i*8+j*4%2Ci*8+j*4+4%29.split%28%27%27%29.reverse%28%29.join%28%27%27%29%29%3B%0A%09%20%20if%20%28i%3Cz-1%29%20res+%3D%27%2C%20%27%3B%0A%09%20%7D%0A%09%20res+%3D%27%7D%27%3B%0A%09%20return%20res%3B%0A%09%7D%2C%0A%09//%u0438%u0441%u0445.%20%u0441%u0442%u0440%u043E%u043A%u0443%20%u0432%20xbm%0A%09str2xbm%3Afunction%28str%2Cletters%2Crows%29%7B%0A%09%20var%20m%3D%5B%5D%3B%0A%09%20for%20%28var%20i%3D0%3Bi%3Cstr.length%3Bi++%29%7B%0A%09%20%20var%20tm%3Dthis.b2matrix%28this.h2b%28letters%5Bstr.substring%28i%2Ci+1%29%5D%29%2Crows%29%3B%0A%09%20%20for%20%28var%20j%3D0%3Bj%3Ctm.length%3Bj++%29%7B%0A%09%20%20%20if%20%28i%3D%3D0%29%20m%5Bj%5D%3D%27%27%3B%0A%09%20%20%20m%5Bj%5D+%3Dtm%5Bj%5D%3B%0A%09%20%20%7D%0A%09%20%7D%0A%09%20for%20%28var%20i%3D0%3Bi%3Cm.length%3Bi++%29%0A%09%20%20m%5Bi%5D%3Dthis.fixmod%28m%5Bi%5D%2C8%29%3B%0A%09%20return%20this.b2xbm%28m.join%28%27%27%29%2Crows%29%3B%0A%09%7D%0A%7D%0Athis.letters%3D%7B%0A%20%27%5B%27%3A%27724924924923%27%2C%0A%20%271%27%3A%27fc000021820820821c00003f%27%2C%0A%20%272%27%3A%27fc000072208421083e00003f%27%2C%0A%20%273%27%3A%27fc000072208c08289c00003f%27%2C%0A%20%274%27%3A%27fc000010c524f8410400003f%27%2C%0A%20%275%27%3A%27fc0000fa083c08289c00003f%27%2C%0A%20%276%27%3A%27fc000031083c8a289c00003f%27%2C%0A%20%277%27%3A%27fc0000f8210420841000003f%27%2C%0A%20%278%27%3A%27fc000072289c8a289c00003f%27%2C%0A%20%279%27%3A%27fc00007228a278211800003f%27%2C%0A%20%270%27%3A%27fc00007228a28a289c00003f%27%2C%0A%20%27%3A%27%3A%27f00000440044000f%27%2C%0A%20%27%5D%27%3A%2795555556%27%2C%0A%20%27%20%27%3A%27f00000000000000f%27%0A%7D%0Athis.setTime%3Dfunction%28%29%7B%0A%20var%20time%3Dnew%20Date%3B%0A%20var%20h%3Dthis.xbmLib.fixmod%28time.getHours%28%29.toString%28%29%2C2%29%3B%0A%20var%20m%3Dthis.xbmLib.fixmod%28time.getMinutes%28%29.toString%28%29%2C2%29%3B%0A%20var%20xbm%3Dthis.xbmLib.str2xbm%28%27%5B%27+h+%27%3A%27+m+%27%5D%27%2Cthis.letters%2C16%29%3B%0A%20this.image%3D%27data%3Aimage/x-xbitmap%2C%27+escape%28xbm%29%3B%0A%20var%20dd%3D%2860-time.getSeconds%28%29%29*1000%3B%0A%20this.tooltipText%3Dtime.toLocaleDateString%28%29%3B%0A%20setTimeout%28this.setTime.bind%28this%29%2Cdd%29%3B%0A%7D%0A%0A%20this.disabled%3Dtrue%3B%0A%20this.setTime%28%29%3B"><img src="data:image/x-xbitmap,%23define%20xbmtext_width%2040%0A%23define%20xbmtext_height%2016%0Astatic%20unsigned%20char%20xbmtext_bits%5B%5D%20%3D%20%7B0x00%2C%200xff%2C%200xff%2C%200xff%2C%200x7f%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x80%2C%200x38%2C%200x0e%2C%200x38%2C%200x8e%2C%200x80%2C%200x44%2C%200x11%2C%200x44%2C%200x91%2C%200x80%2C%200x44%2C%200x91%2C%200x44%2C%200x91%2C%200x80%2C%200x38%2C%200x8e%2C%200x38%2C%200x8e%2C%200x80%2C%200x44%2C%200x11%2C%200x44%2C%200x91%2C%200x80%2C%200x44%2C%200x11%2C%200x44%2C%200x91%2C%200x80%2C%200x44%2C%200x91%2C%200x44%2C%200x91%2C%200x80%2C%200x38%2C%200x8e%2C%200x38%2C%200x8e%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x80%2C%200x00%2C%200x00%2C%200x00%2C%200x80%2C%200x00%2C%200xff%2C%200xff%2C%200xff%2C%200x7f%7D"></a>

dougeeebear

User avatar
 
Posts: 548
Joined: September 15th, 2005, 4:17 pm

Post Posted June 15th, 2006, 2:05 pm

This is really nice!!
I've been looking for an easy way to add toolbar buttons, especially for running external applications, and now even better, only one button is needed because it creates a drop down menu.
What an awesome idea.. I can see there's a lot of potential for this extension.
And the ability to share and add buttons right from the forum is great.

In a future version, could you include the "Add new button" option in the buttons context menu?

Zoolcar9

User avatar
 
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)

Post Posted June 15th, 2006, 2:52 pm


I've been using Customizable Toolbar Buttons since Firefox 1.0PR, now I'm gonna love this new one :)

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."

dougeeebear

User avatar
 
Posts: 548
Joined: September 15th, 2005, 4:17 pm

Post Posted June 15th, 2006, 3:57 pm

Would it be possible to store the button configurations in a file other than prefs.js?
That file tends to get cluttered up rather quickly.

For instance, AdBlock Plus 0.7 used to store it's filters there, now they are stored in a separate file.
It really helped a lot.

Zoolcar9

User avatar
 
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)

Post Posted June 15th, 2006, 4:07 pm


You can right click on the button, select "Edit Button", copy the codes and save it to a file.
You can also select "Copy to clipboard" and save it as Bookmark item.

Example button:
  • <a href="custombutton://Web%20Developer%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAB3RJTUUH1AsQFRwsrPDCMgAAAAlwSFlzAABOIAAATiABFn2Z3gAAAARnQU1BAACxjwv8YQUAAAL9SURBVHjarVN7SJNRFL/OTefSoSyYmoGBmaQYZisD8ZGaZYam5msuELMs0kqd4h9SGkFKoY0yIkxJU7F8BPkufJSpDcVHmfl+T3Gbzs3m3L7vdCdqJuRfHfh955x7zu/c7557LkL/WaipadkeWBtwudyjsYk54tspgnzs07y9A205HA/rXdk+ftd5Fe+/EqG8hFLsRi0r1kj/i7Hd2A7LyHkjTkrLG8I2858FbB0d3QpL6uXTc2Iy62mRemxGDM1tXUTm40LNzPIauJwKbcJpe7dzKNrPg+y3hU9eVErnF/TiVCoFwWazdKKvhFBX1WuIzjCkcJzsdL/19aOFRYmBPzfxS0raa+kxFxfOVpVzAddShsfFasAyv6QApQZAplCD4HkZVFa3ws+JOXhZUg2NwiGYWgKIisscxTRnDJ3NGthgZbV3fifHRGIYGJ4lD9mfrmYYMXgmrIP8pFSBSNgzCOV1QvAL5Utw/hkMxjrT/Swv+llelby6vo3s/jEC0wsyCAiPn9jYgaYtbuPgmVxa0QT5pbVQWtUO97LKNMGR9ztwTJ8iEs2rCLVGBxCJVlZW0Ro+N6FRAw4uYagxgEqlaahUXWTENER6dBoiCKSjUsoNccx08wgspG9Z8KFZSH5s7YLBURFpZedZTDeinzQ2tb90NyN3ckGmhN6hKQiJSFjE+ecxLLR/sM728o3h9wzOqpdJgPLaz1DXLASZfBVeFddC46duwMswvbgKc5JfoMR25I1HA5hmuXWNRziODuVl9UpTll3LyNikYkWpQjVNHYhCpyIloUG9Q9NILpYidzffzgtBN8f3GDLNzc2t7LT9oWoLPLwTzcOKbWZmcYLU0AqYxubQ1NBCOhy30ZXLVWRNTTPi8YIoJux9stoygQ/O1cVQavvz1yQ6e0VGZOc2Es6e4Q3YTe7oV4CH79U+bMfw04ukl+MFIzsncafQ3L0Dg7E+7Orq6RTIS5f4h916p23yAWtbDpNp4r3rW/gzVFsTZoKxf2Me0Lb1LfkN2BRevObpD7MAAAAASUVORK5CYII%3D%5D%5B%5D%5Bif%28typeof%20webdeveloper_about%20%21%3D%20%22function%22%29%20%7B%0A%20%20this.setAttribute%28%22oncommand%22%2C%0A%20%20%20%20%22alert%28%27Web%20Developer%20extensions%20is%20not%20installed%20or%20is%20disabled.%27%29%3B%22%29%3B%0A%20%20return%3B%0A%7D%0A%0Avar%20test%20%3D%20this.getElementsByTagName%28%27menupopup%27%29%3B%0Aif%28test.length%29%20return%3B%0A%0Avar%20webdev%20%3D%20document.getElementById%28%27webdeveloper-menu%27%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20.getElementsByTagName%28%27menupopup%27%29%5B0%5D%3B%0Avar%20popup%20%3D%20webdev.cloneNode%28true%29%3B%0Athis.appendChild%28popup%29%3B%0Athis.type%20%3D%20%27menu%27%3B%0A%0A">Web Developer toolbarbutton menu</a>
    Last updated: 2006-06-19
Last edited by Zoolcar9 on June 19th, 2006, 7:47 am, edited 2 times in total.
My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."

ne081
 
Posts: 81
Joined: December 18th, 2003, 10:09 pm

Post Posted June 15th, 2006, 4:20 pm

How would i go about getting one of these buttons on my forum so someone can just click and install.I tried just pasting the custombutton:// link but no luck.Any info is appreciated,thanks.

Zoolcar9

User avatar
 
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)

Post Posted June 15th, 2006, 4:30 pm


Your forum must be set to allow HTML to do that.

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."

ne081
 
Posts: 81
Joined: December 18th, 2003, 10:09 pm

Post Posted June 15th, 2006, 4:33 pm

haha Thanks,cant believe that didnt dawn on me.Think i woke up a bit early today...

ne081
 
Posts: 81
Joined: December 18th, 2003, 10:09 pm

Post Posted June 15th, 2006, 4:48 pm

Hmm,still doesnt work.Do i need a bbcode or something

JNewbry

User avatar
 
Posts: 321
Joined: April 9th, 2005, 3:56 am
Location: Dallas,TX

Post Posted June 15th, 2006, 4:59 pm

Just today, I downloaded the latest version of Flock to try some of my toys out on it.
Gotta tell ya, I now have toy envy! This immediately solved several problems I encountered on Flock.

This extension is GREAT! I foresee a lot of "Add Extra Toolbar Buttons" type extensions being history.
dougeeebear does make a valid point... storing the code elsewhere (if possible) would be best in future versions.
<a href="http://webdesigns.ms11.net/chromeditp.html" target="_blank">ChromEdit Plus</a> | <a href="http://webdesigns.ms11.net/winstripethemes.html" target="_blank">Firefox Themes</a>

dougeeebear

User avatar
 
Posts: 548
Joined: September 15th, 2005, 4:17 pm

Post Posted June 15th, 2006, 6:44 pm

Here's a couple more buttons...

<a href="custombutton://Open%20the%20Chrome%20Folder%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADT0lEQVR42n1TbWxTVRh+3ntve7vVssGKmggudEzHkg1i5pwzajaNWUjMXIgGQzRRlPADCQT8Y4CYYYRfLk7DNKQCiwaSIQmw6hiocQz3QehWVthH5taNliKja7vZ73vP8dyWqEDCSd57ck/Oed7ned73pTFXhTUyMx6LhdKQZIAY4L4B7PymzoJziSQ19ONhi6Z66hCacOdFA9EqSUGKdKjeecvVbS2vRlMn51V3eJr//4F3Kq19eKCJ9R12oXZLEPRLs/yU/emq/QVPNLzFtEXIJhuuu0+57GsW36+q0G9fcAo6JF4KGNWWh9nwI9i0txGDThee+0AADDq3jpa/8XaZddljGUCSAKbH5oLmE807+mubPMO3hv5Nzk0WG02HLIfe2dc4cvk7F6o3C4Cg51P+eFl5hqWvmoA8zlmCZLVM07XVSjgoQzJFBWRK+KPi5sghtH3Vub/Vtanl8Ceno0c6Y4yme15JPVnxkplkGyjfCshLOfhfBHomCSzXBHGRPCFiOfcP7Ka6umMHun+r+NxR40Gwdy1o9mITX1FZA+IK4pEgErEAiGRwJhSBZbkzTYNktXG/e5COOseO1D+Pjmtz9iv2UuttmrnUyFeurkb6zgJGPb2w2Guyngk/hHlSzj3kCkHMB1vRGt3vG5cv/tq1q3IJfUGTg+t5Scl6TP9xBtLSIhS/cFBcTeYAsmEsg00ex5wLsK6Lu/t/Mu/Z/dkPJ9rwHgW87/KigmJ4f27Hyhdfg720UuRLCxmCBxeZjV1I4HI+lya8lNH1VK9nxNzy9eXus316A8W9H/G5mWtIC6eLX34TcjopJFAOADn2jGsgJR/xP4f1UGiWOs77ol+2T20/fRzf01hHdSa+GFZW1Dei6FEH9KBPlEz5r/WyADokReWRmQk2MPA7Hb/w9xWfP7ZBKWA3qGsveGnD65qjdiPh5ihyA0H3NjwzqpnPQ2ND1PrtOam5feFjcdpiNYPT0W1qX3G5o6awcBn4QhhkVh8YGM6YkKBgIXIHbT/6Ax2X9B06w0lVhokObi50dPdENs7H8CwXjUc8Z909E4esn1w1g0b8NJnIcKc4um6U6e7FKiE6vAoIiX/VUH2fBqMPZPGJivOkUeOACN3I9A/FJHPJJndSWwAAAABJRU5ErkJggg%3D%3D%5D%5BComponents.classes%5B%22@mozilla.org/file/directory_service%3B1%22%5D.%0AgetService%28Components.interfaces.nsIProperties%29.get%28%22UChrm%22%2C%20Components.interfaces.nsILocalFile%29.launch%28%29%3B%5D%5B/*Initialization%20Code*/">Open the Chrome Folder</a>
<a href="custombutton://Open%20the%20Profile%20Folder%5D%5Bdata%3Aimage/png%3Bbase64%2C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PdENs7H8CwXjUc8Z909E4esn1w1g0b8NJnIcKc4um6U6e7FKiE6vAoIiX/VUH2fBqMPZPGJivOkUeOACN3I9A/FJHPJJndSWwAAAABJRU5ErkJggg%3D%3D%5D%5BComponents.classes%5B%22@mozilla.org/file/directory_service%3B1%22%5D.%0AgetService%28Components.interfaces.nsIProperties%29.get%28%22ProfD%22%2C%20Components.interfaces.nsILocalFile%29.launch%28%29%3B%5D%5B">Open the Profile Folder</a>
Last edited by dougeeebear on June 17th, 2006, 5:50 am, edited 1 time in total.

ne081
 
Posts: 81
Joined: December 18th, 2003, 10:09 pm

Post Posted June 16th, 2006, 1:38 am

for some strange reason i cant get the link to parse on my vbulletin forum.ive allowed html for myself and have verified that its allowed,still no luck.It doesnt parse the link as a link,instead it posts the whole link itself as plain text,no matter how ive worked it so far.hmmmm

michichi

User avatar
 
Posts: 44
Joined: November 13th, 2005, 12:48 pm
Location: Austria

Post Posted June 16th, 2006, 2:41 am

hallo, where can i find the code to duplicate the original ff buttons: forward with dropdown, backward with dropdown, stop, reload, home, open new tab, open new window, print? i am sure its easy, but as non programmer i have no clue how to do it :)

thank you :)

michi
"I don´t know where we are going, or how we will get there, but when we will get there, we will be there, and that´s something, even if it´s nothing...." (unknown)

dougeeebear

User avatar
 
Posts: 548
Joined: September 15th, 2005, 4:17 pm

Post Posted June 16th, 2006, 6:01 am

Here's a [ <a href="custombutton://Restart%20Firefox%5D%5Bdata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADL0lEQVR42l2SW2gTWRjH/2eSySSTTpMmvdq4vaSW9UbByFKWFfsourKLFlnqpV5a6CJeH9wHxUof1IcFK7ugVATBuw8uFpbdJdBFRbu7UtSSWopKm2raJG0SJpk26Uxmzp6pXch24Dtwvvn+v/PdCJZ/u0I17DzHrIVZ7ZJ3AobxCHruMn75YpzFtDNfLx6sKyXLxO2eYmvv11vL3b5aBzgLB5vNgpySx+hIGo+fJpCU1Zuind87rxpgAA8pEDd5JMurjkM+xNMq0lkCjufB23jY7TxWeDmUFxn4tT+KQMCFC70TJqCyEPDn/raqlhU+AYm4Ckni4SkVkMsTpBgsqxFIIsHqSoAQis6jowWApdcb/E78M5SioLoZNSg6hC+/anZjc4sHhtWK6QyFwAMNpRwOnywEtA6fA8d1F/Fz0wvpVEybS17GQFs/1h9zYdWe8zWflXx3+oc6TMzqyBkUjWVWdB0vBOx8fbtIVP1OGg7GYkYIwV0PmVfHjqEmWIWB1m1l7sYGEayni8Yx1dkfwwWALf0r/VXRknhUJxmFTOJpV2ops2/ZeYKVZAEo97+JUUPGw437yZsGMWVzlbmXr4OWzUCVkz1NEVxkV2eHBG9tsddTIgiiIzPFHZzBMPPnybtADa070gcsLLCk84DDAeVFEOFgX6gvrnzzs4wYC1SDVdhHi1dWVmSjnTC0v5s+Yp9Z5idAG3skGgFrP0hdPVIDdxB5/cfzREa5y9bld0KwW+CwVXK6V7nKqks+jI+c2jSFKwwwvwiob7sAzMZBs/Og1AD1epFXFWTePENuNgxDV2GTKiD5A4j99QD3x8MbTyfBxoDsIsB/+KrZFND370DlBKtEg87uuiCAOp0MoIOzi1DfD+Ht45vXmiM4w8Rmo7VFQHlzK2Ze9KN6y/ewiW7o05PQ0jLyDJRnC8RXVYMmI5h8cmvk0ofZHdcziDKxwswgo2s8VNPU0JisdDe6ino8NevXSvUBOHyfm9sINR6GPDaIxMTLwUtTyoEbCuJLYs2cFhn2ofdKGj8xM1NS71Vgg8+C7XaCdWz4xXMUg7KB0LYofmP/F8zGmXH/jftfxs1e2EaqEmMAAAAASUVORK5CYII%3D%5D%5Bvar%20confirmRestart%20%3D%20window.confirm%28%27Are%20you%20sure%20you%20want%20to%20restart%20firefox%3F%27%29%3B%0Aif%28%21confirmRestart%29%20return%3B%0A%20%20%20%20%0Avar%20appStartup%20%3D%20Components.interfaces.nsIAppStartup%3B%0A//%20if%20%28canQuitApplication%28%29%29%20//%20uncomment%20if%20using%20zeniko%27s%20Session%20Manager%0AComponents.classes%5B%22@mozilla.org/toolkit/app-startup%3B1%22%5D%0A.getService%28appStartup%29.quit%28appStartup.eRestart%20%7C%20appStartup.eAttemptQuit%29%3B%20%20%20%20%5D%5B">Restart Firefox</a> ] button

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 0 guests