How to make toolbar buttons for Javascript bookmarklets? (Firefox V4.x=>V12)
My browser usage requires that screen real estate be maximal so everything surrounding the 'meat' of my browser is as small as I can make it. I do not use the 'Bookmarks Toolbar' at all, and I've changed the menu bar to a button so as to re-use it's space - as well as making each button as small as possible (but visible).
Prior to Firefox 4 it was easy to make what I needed using the CustomButtons2 extension. (I had a problem getting Javascript to work then too - but their forum helped me fix it.) Now that it is up to V12 (4.12 ?) that extension has been dead & gone a while and despite a great deal of searching I've found no working substitute for that extension.
For URL buttons, here is a page that generates small, custom extensions which work well: A great Tool !
However I also need some buttons to be made from bookmarklets such as this one for 'PrintWhatYouLike':
javascript:(function(){if(window['ppw']&&ppw['bookmarklet']){ppw.bookmarklet.toggle();}else{window._pwyl_home='http://www.printwhatyoulike.com/';window._pwyl_pro_id=null;window._pwyl_bmkl=document.createElement('script');window._pwyl_bmkl.setAttribute('type','text/javascript');window._pwyl_bmkl.setAttribute('src',window._pwyl_home+'static/compressed/pwyl_bookmarklet_10.js');window._pwyl_bmkl.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_bmkl);}})();
Also, one of the CustomButtons2 buttons downloadable from their site was one which opened selectable external apps from a browser button (explorer, calc, CMD, notepad...) and I'd love to have a way to get that into V12 as well.
Other than these few missing things I must say I am impressed overall with V12; and until I can make it suit my workflow I'll keep older version around a while...it seems sad to me that the newer version - in functional areas - actually does less in some important ways than the old version did, and that many treasured extensions have ceased to be developed and/or updated.
Thanks for any help !!!
mark
Modificadas por cor-el el
Todas las respuestas (1)
Maybe the original Custom buttons extension still work (maxVersion is 13.*).
- Custom Buttons: https://addons.mozilla.org/firefox/addon/custom-buttons/