esquifit wrote:There is however a minor bug, namely that html entities need to be espaped in href values. For example the following link (in this very same page, see the post of pirlouy on 24 Mar 2007 08:25 pm) fails because it is using '&' instead of '&':
// inject the code into the dialog's JS context Components.classes["@mozilla.org/moz/jssubscript-loader;1"] .getService(Components.interfaces.mozIJSSubScriptLoader) .loadSubScript("data:text/javascript," + encodeURIComponent(codeToInject), aWindow); });
but it wont work anymore, any ideas?
It works for me using Fx1.5. I can't remember for sure, but I don't think it's needed in 2.0. IRC the last time I used 2.0, I opened CTW, resized/positioned and it remembered all. I just put in a new HD on my notebook and haven't added my Fx2.0 yet.
@alta88
Your welcome. You mentioned "a lot of DOM parsing on every load for an infrequent match". Once I put together the idea of testing URL of the load event.originalTarget for an "for an infrequent match" and realized it was theDocument...
oh, i discovered in testing 3 cases, load xul in
-split browser pane
-sidebar
-tab
that there can be a load event with no event.originalTarget.location, while .mIsBusy is true (for a load in process, for i guess progressbar or tooltip), so i just return if that's true. avoids console errors.
Ha! Made it! From old posts I found references to tweaking browser's jars, but apparently I didn't do it correctly... The correct place is in en-US.jar -> locale/en-US/global/customizeToolbar.dtd
how i can make bookmarks open in a new tab instead kill the actual one?
I dont want to install TAB MIX + neither ctrl+clic neither middle mouse click(i dont have middle button)
I think that is impossible do it with css
Or maybe changing some line code in browser.jar
DMCrimson wrote:Ha! Made it! From old posts I found references to tweaking browser's jars, but apparently I didn't do it correctly... The correct place is in en-US.jar -> locale/en-US/global/customizeToolbar.dtd
It may have changed then. It used to be in customizeToolbar.js for Win.
There is a site (my bank) that will not display a certain page with the user agent set as Firefox, but it will when I set the user agent as IE6.
Is there a way to have the user agent change to IE on specified sites only, then switch back to Firefox when leaving the site?
Thanks, Doug
Last edited by dougeeebear on April 10th, 2007, 7:11 am, edited 1 time in total.
hmm, I think you could use simple scriptl to change this, read UA value, if it's FF, set to IE and vice versa... just an idea that came to my mind, no real clue how to realize this:P
Well i have many toolbars like wizz rss and diggo toolbar installed
when i go to full screen the textual labels for the buttons disappears
i always use the full screen view only
and right click is disabled in many places
so is there any way to be full screen and also have the textual labels
Places where textual labels are missing
1) find bar
2) wizz rss toolbar
3) diggo toolbar
any solutions by using the userchrome.js extension please looking forward for the solutions
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.