This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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

There is a link on a particular job web page that I frequently visit. In IE, the link opens in a smaller window. In Firefox, it does nothing. The link is http://www.XXXXXX.com/Careers/default.shtm#. I am hopeful that there is a simple solution. Thanks.

  • 7 پاسخ
  • 7 have this problem
  • 5 views
  • آخرین پاسخ توسّط cor-el

more options

No more details. The window that opens in IE, does not open in Firefox. There are no pop-ups or errors. The address is shown correctly in the address bar and it says "Done" in the lower left of the screen. I am navigating from a page http://www.XXXXXX.com/Careers/default.shtm to http://www.XXXXXX.com/Careers/default.shtm#. Only difference is the # at the end.

No more details. The window that opens in IE, does not open in Firefox. There are no pop-ups or errors. The address is shown correctly in the address bar and it says "Done" in the lower left of the screen. I am navigating from a page ''http://www.XXXXXX.com/Careers/default.shtm'' to ''http://www.XXXXXX.com/Careers/default.shtm''#. Only difference is the # at the end.

All Replies (7)

more options

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

  • Don't make any changes on the Safe mode start window.

See:

more options

Thanks, but this did not fix the problem. When IE processes http://www.XXXXXX.com/Careers/default.shtm#, it's calling up another link. I opened that link and copy and pasted the actual url into Firefox and it gets me there. I am sure there's a simple solution, but this works in the meantime.

more options

Make sure you have javascript enabled. The actual site, that you mentioned elsewhere does work ok for me using firefox if javascript is enabled.

  • use Firefox button -> Options -> |Content|-> [] enable javascript
  • see javascript

There is also the possibility that security software could for some reason block the site.

more options

Such a # added to a link usually means that JavaScript (jQuery) should have processed the link via an onclick event and has failed to work. In that case the href="#" part of the link gets executed and that of course only reloads the page (<a href="#" onclick="..."> ,the onclick action may have been added by a script and not visibly present). So you need to make sure that you do not block JS on that page. It is possible that the JS on that page isn't compatible with your currently used Firefox version.

more options

Pasting this code in the location bar in Firefox 3.6.x and press Enter to run the code should make the link work.
Use the scratchpad (Shift+F4) in Firefox 4+ to run the code via Ctrl+R


javascript:
(function(){
L=document.getElementsByTagName("A");
for(i=0;A=L[i];i++){
if(/MM_openBrWindow/.test(A.getAttribute("onclick"))){
A.setAttribute("onclick",A.getAttribute("onclick").replace(/MM_openBrWindow/,'window.open'));
}
}
})();

Modified by cor-el

more options

Thanks for the responses. I am running Firefox 7.0.1 with JavaScript enabled. When I pasted the code above into the scratchpad the link in fact worked. Is my permanent solution to run this code every time I encounter a link like this? Or is there a way to save this script to run, for lack of a better term, automatically?

more options

This script only work on that specific page because there is an error it the <script> tags that makes Firefox skip them, so that link isn't working. You can see an error in the "Firefox/Tools > Web Developer > Error Console" about this. Luckily in this case the parameters are in the right order for window.open, so changing the name is sufficient. In other cases you would have to redefine the function via a bookmarklet JavaScript code.


javascript:(function(){
var SC = "data:text/javascript,window.name = 'careers'; function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);}";
var newSC=document.createElement("SCRIPT");
newSC.setAttribute("type","text/javascript");
newSC.setAttribute("src",unescape(SC));
document.getElementsByTagName('head')[0].appendChild(newSC);
})();

(there are more functions that aren't working from that part of the script, but this is the one in the link; see also the Page Source)

Modified by cor-el