Javascript in IE no longer working

Hello-
I have a Windows server 2012 R2 with what I believe has a problem with Javascript and Internet Explorer.  If I go to certain web sites, they appear blank & I’ll see in the lower right and corner of the Internet Explorer window “javascript;”. 
Other symptoms include pressing F12 and getting a blank page for developer tools, going various websites and the buttons are either missing or don’t “click” when I press them.  Outside of Internet Explorer, if I go into gpedit or the services mmc, the
Extended tab on these utilities do not display anything other than a partially filled window with solid color or it’s blank.  If I click on the Standard tab of these apps, all is good.
 I’ve searched for possible solutions & did the following:
With the exception of the latest MS April patch, I’m up-to-date.
Re-registered the following .dlls:  mmcndmgr.dll, vscript.dll, jscript.dll & jscript9.dll
Turned off IE Enhanced Security  for both Administrators & Users
Made sure Javascript was enabled in IE security settings
Turned off Windows firewall- didn’t buy me anything so I turned it back on
I’m not sure when this started happening.  For what it’s worth, I installed Firefox and had no problem with the website that gave me grief in IE.  Anti-virus has been removed; in fact my suspicions lie with the trial version of McAfee SaaS that
was on this server.  I followed instructions to remove the produce properly, including using their un-install app in  “run as Administrator” mode.
Many articles that I read state to uninstall IE & re-install it to resolve this issue; unfortunately 2012 R2 comes with IE11 already installed, so I’m at a loss.
Looking forward to some excellent advice!
Dan

Robert -
I have problems using the Microsoft Forums on this server as well.  For example, the “Quick access” dropdown on the left is there, my mouse
pointer turns to a finger when I hover over it, but when I click on it nothing happens.
The F12 function doesn't work on this site either.  Furthermore I can go to Google's site (which seems to work) but pressing the F12 key
gives me the same broken results:  a blank frame on the bottom portion of the browser that only has the question mark, the greater than sign, the “frame to Window” button or x to close the frame in the upper right corner of the frame.
For what it’s worth, I don’t have these problems on another Windows 2012 R2 Server at the same location.
Any ideas or other items to clarify?  Thank you for your interest, Robert.
- Dan

Similar Messages

  • Safari Javascript on iPad2 no longer works 8.2 and 8.3

    Since updating myiPad2 to 8.2 and later 8.3, javascript elements in websites viewed with Safari and Chrome no longer work. I can successfully view/use these same websites on another iPad with an older IOS.
    Here's what  have tried so far:
    -soft reset (home+power)
    -clear safari cache/website data
    -forget network
    -toggle javascript on and off
    -every combination of the above
    -upgrade to 8.3 and repeat all of the above
    Does anyone have anything to add that I could try?
    Thank you.

    @sean0826 -- this is why you don't use Java menus. Even javascript menus are a bad idea; you need to have a secondary menu system ANYTIME you have a menu system that requires a plugin or scripting to be active. NOT EVERYONE browses with that stuff on.
    The only thing you can do for now is FTP to your site and add in static menus (like we did in the "old days" at the bottom of the page; or rip out the Java Menus and install static or CSS versions.
    BTW where are you rmenus supposed to be. I have opera, safari, ff, and a few others. they all look the same. So if that's true, it's the plugin that's the problem, not safari.
    In Opera Pogo.com works. java loads, the game is there. It does have some drawing issues but not surprised.
    In Safair Pogo works fine. Just played a game of chess.

  • Javascript via showDocument no longer working

    A number of applets I have made execute javascript using the showDocument method as in the code snippet below. Now these applets were all working fine last week and now this week they have stopped working. I created a test applet just with a button on which executes the code below when clicked and this too does nothing, it doesn't even throw an exception.
    Any ideas why I can no longer get this to work? I realise I can achieve Java to JavaScript communication via JSObject, but I'm trying to avoid that - and this solution seemed to work fine before. I'm running these applets in Internet Explorer 6.
    Any help greatly appreciated.
        try {
          this.getAppletContext().showDocument(
              new URL("javascript:void(document.all['myField'].value='hello world')"), "_self");
        } catch (Exception exp) {
          System.out.println(exp.toString());
          exp.printStackTrace();
        }

    Did you recently install any Windows updates? Cuz if so, it seems a recent IE security hotfix has broken this behaviour. It's not clear if this was intentionally done or if it's a side affect from something else. If it's intentional, my contention is this is a mistake. A javascript URL shouldn't be considered a violation of the standard security sandbox. The scripting engine already has it's own security to deal with bad Javascript.
    Suffice it to say, you need to use JSObject.

  • Developer question. Upgraded to 6.0 - javascript:window.close() no longer works. Works OK in other browsers. Banners on popup windows also seem confusing.

    Popup windows no longer close using javascript:window.close(). Have to click the "X" to close the popup.

    I was able to fix the issue here. Steps Taken:  From the comand line I ran
    dscl /Search read /Users/jdoe HomeDirectory
    It returned # No such key: HomeDirectory
    This was the big clue.... it should have returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I unbound the Mac from AD and ran the following command in terminal.
    dscacheutil -flushcache
    I then went into OS X sharing preferences and renamed the computer slightly, so it would create a new computer record in AD. I rebound the machine to AD making sure in Directory Utility Advanced, under User Experience that Force local home directory on start up disk was unchecked and Network protocol to be used was AFP.
    I then ran
    dscl /Search read /Users/jdoe HomeDirectory
    and it returned
    HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
    I had the user reboot... which was necessary. When he logged in HomeSync fired up. He had quite a few conflicts, so I told him to select use files on this computer for all conflicts.
    I checked the FileSyncAgent.logs and it was good.
    Let me know if this fixes your issue.
    Thanks,
    Ray

  • Pop-Ups No Longer Work?

    I have a portfolio page that I put together with Flash MX.
    The interface is bsically a chart that has a bunch of buttons on
    it. These buttons each have a code similar to this;
    on (release) {
    getURL("javascript:openNewWindow
    ('file.html','thewin','height=600,width=800,toolbar=no,scrollbar=no,resizable=no,menubar= no')");
    This used to work - but not now.
    Even when I check my browser for pop-up/javascript enabling,
    it no longer works.
    Does anyone know why? Or what the given workaround (with all
    those linked pages) would be?

    welc
    me

  • Javascript:resizeTo(1024,768); no longer works

    After upgrading from version 3.6 to 14.0.1 I find that this javascript bookmark no longer works to resize the window.
    javascript:resizeTo(1024,768);
    Is this by design?
    Is there a work around?

    You can also do this with code in Error Console or via an extension or toolbar button that allows to run code with chrome privileges.
    *https://developer.mozilla.org/en/Error_Console
    <pre><nowiki>var Cc=Components.classes, Ci=Components.interfaces;
    var ps = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
    var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
    var nb = wm.getMostRecentWindow("navigator:browser");
    var txt = 'width x height';
    var obj = new Object; obj.value = nb.window.outerWidth + 'x' + nb.window.outerHeight;
    if(ps.prompt(null, 'Resize Window', txt, obj, null, {}) && obj.value){
    var vA = obj.value.split("x");
    if(vA[0]) nb.window.outerWidth = vA[0];
    if(vA[1]) nb.window.outerHeight = vA[1];
    }</nowiki></pre>

  • I used to use a bookmark for maximizing the firefox window, but in FF9 it no longer works.

    Before upgrading, I used the following snippet of code in the "Location" field of a Bookmark:
    javascript:self.resizeTo(screen.availwidth,screen.availheight);self.moveto(0,0);
    However, with FF9 that no longer works. I attempted to change the front portion (before the open parenthesis) to:
    browser.window.resize_to
    but after I remove focus from the text box, it adds the "http://" to the front of the code and a "/" to the end of it. I have two questions:
    #1. Is there a way to stop Firefox from adding the "http://" and "/" to the location box?
    #2. Is there a better way to set up the bookmark (or another quick-access method) to automatically resize the window?

    You can only do that in the Scratchpad if an XUL window like about:addons or about:config is open.
    *Firefox/Tools > Web Developer > Scratchpad (Shift+F4)
    You can no longer run JavaScript code via the location bar in Firefox 6 and later.<br />
    You can see an error message in the Tools > Error Console.<br />
    That code now gets a null principal for security reasons and doesn't have any effect (Bug 656433).<br />
    You need to create a (keyword) bookmarklet and run the code by invoking that bookmark.<br />
    Use the Scratch pad (Firefox > Web Developer > Scratchpad; Shift+F4) to run JavaScript code.<br />
    Open a tab with an XUL page like about:addons (Tools > Addons) to be able to resize or move a window via JavaScript code in the Scratchpad in Firefox 9+.<br />

  • Upgraded to CS3 and Flash no longer works in browsers

    Since upgrading to CS3 my Flash no longer works in my top
    table. Exact same files worked fine in CS and CS2 and whatever it
    was before CS. Any Flash that is in the top table on any of my
    pages doesn't appear.
    Now it doesn't appear in IE or Firefox. Can see it fine if I
    "preview in browser" but when uploaded to site can't view at all.
    Any solutions? Please reply to [email protected]
    Thanks.

    Ok got this working. Went into my code and deleted everything
    from the javascript tag to the closing script tag (see below).
    Reinserted my SWF file and it works like a charm.
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','wid th','396','height','80','src','images/gold-logo','loop','false','quality','high','pluginsp age','http://www.macromedia.com/go/getflashplayer','movie','images/gold-logo'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
    width="396" height="80">
    <param name="movie" value="images/gold-logo.swf">
    <param name="quality" value="high"><param
    name="LOOP" value="false">
    <embed src="images/gold-logo.swf" width="396" height="80"
    loop="false" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></embed></object></noscript>

  • Readability "Send to Kindle" no longer works with FireFox 14.0.1

    Readability "Send to Kindle" no longer works, once I upgraded Firefox to 14.0.1 on a MacBook Pro running 10.6.8. The Setup Your Kindle page comes up, but after typing my Kindle's e-mail and selecting "kindle.com" from the drop down, your program no longer prompts "this may not be free" and just hangs there. I deleted my Readability plugins, redownloaded, and reinstalled. The browser icons have this affect, and just running the JavaScript function does the same thing. It works fine in Safari, and it worked fine before Firefox 14.

    n Firefox make sure you have at least two (2) tabs open - (Ctrl+T opens a new tab)
    In the address bar of one tab, type "about:config" - minus the quotes, of course
    You'll see a warning. Click "I'll be careful, I promise" and continue to the configuration page.
    There's a search bar at the top. Type "js" - again, minus the quotes.
    In the results you'll see pdfjsviewer.disabled with a vaule of false. Click it once, then right click it and choose Toggle to make the value "True".
    Close that tab.
    Click Tools>Options and go to the Applications tab
    Locate Adobe Acrobat Document (or Portable Document File (PDF)) in the list and click the drop-down to select "Use Adobe Reader (in Firefox)". (Mine doesn't have that because I also have Acrobat Pro installed)
    Click OK.
    Click Tools>Addons to see that the Acrobat plugin is installed
    Close and restart Firefox. PDFs should now open in a browser window with the Reader plugin.
    Note: This doesn't work for me since the update to 23 and I should have the choice of Reader or Acrobat plugins. Firefox is trying desperatelt to FORCE users to use their crappy PDFJSViewer, which doesn't handle multimedis or forms PDFs.
    As to the NPAPI and security risks, that's blown WAY out of proprotion. There are antivirus companies trying to sell their products to Mac users (who will NEVER need them) and they use this "urban legend" to bolster their case.

  • Mail Accounts Shortcut no longer working in Lion

    In Snow Leopard I heavily relied on some custom shortcuts for switching between my different email accounts when sending mail as outlined in this site: http://hints.macworld.com/article.php?story=20081120093222315 . Then I upgraded to Lion and much to my chagrin, these shortcuts are no longer working. I have tried everything to get them to work: resetting passwords to defaults, repairing permissions, deleting my universal access and keyboard .plist files. What I have noticed is that it may be a problem with the "<>" characters used by mail in this field. When I create a shortcut in System Preferences I will type "SV <[email protected]>" and exit System Preferences. When I go back in it says ">SV <[email protected]>". No matter how many times I go in and try to fix this it doesn't work. If anyone else is having this problem or if anyone has any suggestions, Please Help!

    This is difficult to sort out without hands on access to the webapp. I think Firefox should still allows your webapp to detect the Shift+F9, or at least it does in this simple example:
    &lt;!DOCTYPE html>
    &lt;html>
    &lt;head>
    &lt;meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    &lt;title>Test Shift+F9&lt;/title>
    &lt;/head>
    &lt;body>
    &lt;p>Try Shift+F9&lt;br>&lt;input type="text" name="textinput" size="25" value="sample value">&lt;/p>
    &lt;script type="text/javascript">
    function keys(key){
    if (!key) {
    key = window.event;
    key.which = key.keyCode;
    if (key.which == 120){ // F9 key
    if (key.shiftKey){
    alert("Shift+F9 pressed!");
    } else {
    alert("F9 pressed without Shift!");
    return false;
    document.onkeyup = keys;
    document.body.focus();
    &lt;/script>
    &lt;/body>
    &lt;/html>
    It's possible that a change in Firefox 19 is interfering with the function triggered by the Shift+F9 keyboard shortcut. Is there another way to run it to see whether that might be the case?

  • My naviagtion toolbar is visible, but is not bold, and does not work. Also, my History option is no longer working, but it is visible.

    Firefox automatically updated yesterday, but when I logged on today to use the computer, my navigation toolbar was no longer operating. It is visible but it is in grey colour, and when I click on it, nothing happens. Also, since this update, my History option is no longer working. None of my history appears when I click on it. I never used to have any problems with either of these functions.

    -> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
    -> go to Help Menu -> select '''Restart with Add-ons Disabled'''
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update Firefox to the latest version by going to Help Menu -> About Firefox -> click '''Check for Updates''' -> if an updated version is found then download the latest version and install it. After that follow these steps:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted/Incompatible Toolbars
    -> go to Tools Menu -> Clear Recent History -> '''Time range to clear: select "EVERYTHING"''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click '''Clear Now'''
    -> go to Tools Menu -> Options -> General -> in '''Startup''' section click '''Reset to Default''' button -> place Checkmark on '''Show the Downloads window when downloading a file''' -> select Radio Button option2 '''Always ask me where to save files'''
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Remember History"'''
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    -> Click OK on Options window
    -> click the Favicon on SearchBar -> click '''Manage Search Engines''' -> select all Unwanted Search Engines and click '''Remove''' -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious/Incompatible Extensions (Add-ons)
    -> go to Tools Menu -> Add-ons -> Appearance section -> REMOVE All Unwanted/Suspicious/Incompatible Themes (Persona)
    -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons and Themes later. Check and tell if its working.

  • Links no longer working

    Last year I created a small website with Dreamweaver CS3.  I had to update it - Using CS5 and now my links do not work.
    Mainly, I was changing the dropdown menu under the Levies and Bonds Explained tab.  Can anyone take a look at my template code
    and let me know what I am doing wrong.  Many thanks
    <body class="twoColFixRtHdr">
    <div id="container">
    <div id="header"> <img src="../lincolns/navbar2/finallogo.jpg"/>
    <ul id="nav" class="MenuBarHorizontal">
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/index.html">Home</a></span></li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/about.html">About Us</a></span></li>
      <li><span class="MenuBarActive"><a class="MenuBarItemSubmenu" href="#">Levies &amp; Bonds Explained</a>
        </span>
        <ul>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/general.html">General Fund Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/bonds.html">Building Reserve Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/tech.html">Elementary Technology Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/taximpact.html">Tax Impact</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/general.html">General Info About Levies</a></span></li>
        </ul>
    </li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/vote.html">Voter Information</a></span></li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/joinus.html">Join Us</a></span></li>
      <li><span class="MenuBarActive"><a href="../lincolns/Templates/contact.html">Contact</a></span></li>
      <li><span class="MenuBarActive"><a href="DONATE" _mce_href="https://lincolnsforlevies.webconnex.com/donate-now">DONATE">https://lincolnsfo rlevies.webconnex.com/donate-now">DONATE NOW</a></span></li>
    </ul>
    </div>
    <div id="sidebar1">
      <h2>Links</h2>
      <p><a href="Bozeman" _mce_href="http://www.bsd7.org/2012election">Bozeman">http://www.bsd7.org/2012election">B ozeman School District</a><br />
        <a href="Film" _mce_href="http://www.youtube.com/watch?v=h0jDCvywQkY&amp;feature=youtu.be">Film">http:// www.youtube.com/watch?v=h0jDCvywQkY&amp;feature=youtu.be">Film By Students for Students</a><br />
      </p>
      <!-- end #sidebar1 -->
    </div>
    <!-- TemplateBeginEditable name="main" -->
      <div id="mainContent">
          <!-- end #mainContent -->
      </div>
      <!-- TemplateEndEditable -->
        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />   
      <div id="footer">
        <div align="center"><p>Lincolns for Levies   &#8226;   294 Triple Tree Road   &#8226;   Bozeman, MT  59715&amp;nbsp      406.586-9263<br />
            <span class="footer">Website Design by Blue Sky MT</span></p>   <!-- end #footer -->
        </div>
      </div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("nav", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    thanks Ben.
    Date: Thu, 11 Apr 2013 17:06:41 -0700
    From: [email protected]
    To: [email protected]
    Subject: Links no longer working 
    Re: Links no longer working created by Ben Pleysier in Dreamweaver - View the full discussion  
    Index.html shows 
    [Home | index.html]
    [About Us | Templates/about.html]
    [Levies & Bonds Explained | #]
    [General Fund Levy | Templates/general.html]
    [Building Reserve Levy | bldgreserve.html]
    [Elementary Technology Levy | Templates/tech.html]
    [Tax Impact | Templates/taximpact.html]
    [General Info About Levies | explained.html]
    [Voter Information | Templates/vote.html]
    [Join Us | Templates/joinus.html]
    [Contact | Templates/contact.html]
    [DONATE NOW | .../lincolns/Templates/donate.html]
    You need to get rid of the highlighted parts.
    Similarly on the other pages where you also have an '#' blocking the link. 
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5227770#5227770
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5227770#5227770
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5227770#5227770. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Dreamweaver by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Printing jewel case insert no longer works... HELP

    Itunes problem.  Printing jewel case insert no longer works since installing Itunes 11.0.2... Song listings are jumbled.  HELP

    Abandon all hope yee who enter this thread. Abandon hope for mozilla fixing the issue that is. I went with a jQuery based bmp generator. It's pretty easy to implement and has worked well for me.
    download: http://code.google.com/p/jquery-barcode/downloads/detail?name=jquery.barcode.0.3.js&can=2&q=
    demo : http://jquery-barcode.googlecode.com/svn/trunk/jquery-barcode/demo/demo.html
    Implementation:
    Put these includes in your header:
    &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.barcode.0.3.js&quot;&gt;&lt;/script&gt;
    Everything that needs to be a barcode should have the same class. I chose &quot;barcode39&quot;.
    &lt;span class=&quot;barcode39&quot;&gt;405479&lt;/span&gt;
    &lt;span class=&quot;barcode39&quot;&gt;405339&lt;/span&gt;
    &lt;span class=&quot;barcode39&quot;&gt;405341&lt;/span&gt;
    Then run this script at the bottom:
    &lt;script&gt;
    $(&#39;.barcode39&#39;) .barcode({code:&#39;code39&#39;});
    &lt;/script&gt;

  • Nofocus script no longer works in firefox 5

    Does anyone know why the "nofocus" script is no longer working in Firefox 5?
    I got sick of Yahoo hijacking my cursor, so I did some looking and found a script (below), which is added to your user.js file. It worked just fine in FF4 and 4.1. When I updated to 5, however, it stopped. Any ideas?
    Here's the script:
    user_pref("capability.policy.policynames", "nofocus");
    user_pref("capability.policy.nofocus.sites", "http://www.yahoo.com/");
    user_pref("capability.policy.nofocus.HTMLInputElement.focus", "noAccess");

    Looks that CAPS are no longer supported for DOM Events like that.
    Maybe related to:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=567755 Bug 567755] - Disabling javascript Date() function with CAPS doesn't work

  • Why does user_pref("capability.policy.default.Location.href", "allAccess"); no longer work in FireFox 4? How can I re-enable this feature?

    On upgrading to FireFox 4 from 3.6.15, I noticed that my capability.policy.default items in the prefs.js file were no longer working (the custom site that I run locally needs access to this attribute, amongst others) - how can I go about returning this feature back on?
    Example CAPS entry:
    user_pref("capability.policy.default.Location.href", "allAccess");
    I've had to downgrade again to 3.6.15 until I can get this to work.
    Tested on Windows XP (SP3), and using existing/new profiles in FF 4.0 and using prefs.js and user.js - nothing can get the Javascript code to read the location.href and getting an error generated in the error console.
    Also tested on Mac OS X 10.6.7 with FF 4.0 - still no luck getting capability.policies to work.
    Please help...

    I've been beating my head against this problem for a few hours, and I finally solved it. I'd been trying to set a capability policy using the "magic" default policy, and nothing would work - I could disable properties and functions of the Window object, but not the Location object.
    It turns out that if I set a custom policy name, and named the specific sites I wanted the policy to apply to, it works! The only hitch is that you'll have to build a whitelist of sites that are allowed to have this kind of access, instead of allowing any site to access it by default. I think this is prudent security policy, in order to prevent XSS attacks.
    So, for your case, instead of this:
    user_pref("capability.policy.default.Location.href", "allAccess");
    use this instead:
    user_pref("capability.policy.policynames", "hrefaccess");
    user_pref("capability.policy.hrefaccess.sites", "http://example.com http://www.example.com");
    user_pref("capability.policy.hrefaccess.Location.href", "allAccess");
    I haven't tested this code, but a similar implementation for my problem did the trick. I hope this helps!

Maybe you are looking for

  • How do I re-install Acrobat XI Standard?

    How do I re-install Acrobat XI Standard?

  • Homemade applets wont run in explorer :(

    Hi :) I've just started out with Java, and I follow the great tutorial on Sun's Java-page. I've followed two applet examples. First the "Hello world" and then "ClickMe" where you click in a box and move a red dot around when you click. I copy the ori

  • Reapply NullTest

    Depending on the choice of  a radio group I want to make certain fields required and others not required.  I was using the exit event of the group if  (Class1.selectedMember() == xfa.resolveNode("Class1.Exibitor")) then Company_Name.validate.nullTest

  • Gamma 1.8?

    When would you want to view your graphics under View > Gamma 1.8? Do new computers still use this Gamma setting or is this a setting that was only used by older Macs? Thanks.

  • SAP Enterprise modelling by IDS Scheer vs. Visual/ Process composer

    Hi, This might sound very basic question. But Can anybody tell me what is the difference between SAP Enterprise modelling tool by IDS Scheer and Process Composer in NetWeaver. As far as my understanding, both are used for process modelling. Thanks, T