Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to make toolbar buttons for Javascript bookmarklets? (Firefox V4.x=>V12)

  • 1 respuesta
  • 1 tiene este problema
  • 30 visitas
  • Última respuesta de cor-el

more options

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

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: [http://codefisher.org/toolbar_button/link-button-maker A great Tool !] However I also need some buttons to be made from bookmarklets such as this one for 'PrintWhatYouLike':<br /> <br /> <pre><nowiki>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);}})();</nowiki></pre> 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)

more options

Maybe the original Custom buttons extension still work (maxVersion is 13.*).