Greg S wrote:When I use this code to add the find close button to the right within the ViewSource window, the code for sizing the customize toolbar window doesn't work. Any ideas?
All scripts that use WindowHook snippet must be in a same file.
OOps, I called myself doing just that but it appears the CTW code wasn't pasted in after all. No wonder it didn't work,lol.
Now, here's one I think may not be possible but won't know for sure until I ask. Is there a way to add a context menu to FF's vertical scrollbar only? What I'd like to do is add the page up/page down, go to top/go to bottom etc. to this context menu but only want it to popup with the added menuitems when right clicking the vertical scrollbar.
If not then I'd settle for a page up/page down added to the content area context menu like the go to bottom/back to top extension does.
And another one I'd like to have, a toolbarbutton to open the CustomizeToolbarWindow. I have the xul, css & the js for the toolbarbutton which work as part of my custom toolbarbuttons, the only problem is that the window is blank. Is this even possible?
The DragAndGo script no longer works with searching selected text (edit: still works with links) in 20060706 branch nightly. I get this error when dragging:
pile0nades wrote:The DragAndGo script no longer works with searching selected text (edit: still works with links) in 20060706 branch nightly.
I've updated the snippet: instead of using Firefox' default fallback search engine (which recently got removed), it now defaults to Google - if the pref browser.search.defaulturl isn't set.
Greg S wrote:I'd rather do it without the extension if possible
Just get one of the "add a toolbar button" snippets and modify the button to call <code>BrowserCustomizeToolbar();</code> when you click it.
Greg S wrote:I'd rather do it without the extension if possible
Just get one of the "add a toolbar button" snippets and modify the button to call <code>BrowserCustomizeToolbar();</code> when you click it.
And as always, you are correct. Thank you
Edit: Ok the above works fine from userChrome.js and I'm thankful for that but with my limited knowledge on this, my button was at a fixed postion on the toolbar next to whatever button I told it to be next to and without the option to drag it off the toolbar into the customize toolbar window. My original intent was to add this to the collection of custom toolbar buttons that I've made using the tutorial on how to do so. My original reply on this made mention of it working but the window would come up blank. I've since been able to overcome that by adding your code above to mybuttons.xul for this particular button and it works. This is what I've added in the xul
any chance someone could hook me up with a userchrome.js script that would allow for tabs to be selected by pausing on them with the mouse (and not clicking)? i know it is included in tabmix, but i just need this one thing. thatd be the awesomest!
How about one that would change the menuitem label of "Work Offline" to "Work Online" when the work offline is checked. I use an icon for each mode which means the check doesn't appear for me when work offline is checked. Each icon is different and it's easy to spot but the Work Online label to go with it would be nice.
Ha thanks; I was sure I did not dream and read this one day.
But I did not notice it was only compatible with release 2.0 and above.
As I don't really need Fx 2.0 for the moment, it will be for later, except if a trick is proposed for 1.5 in the meantime !
I am surprised that userChrome.js does not offer this feature.
Thanks again.
EDIT: tried Fx 2.0 with view editor configuration as proposed above.
Seems to be bugged for the moment.
ephemeralskin wrote:any chance someone could hook me up with a userchrome.js script that would allow for tabs to be selected by pausing on them with the mouse (and not clicking)? i know it is included in tabmix, but i just need this one thing. thatd be the awesomest!
#
...that is exactly what i need, also one to move the tab close button back to the right without breaking the built-in undo close tab
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.