Javascript's window.location.href stopped working on FF 17.0.1

I used window.location.href to navigate pages in my application. Suddenly it's not working anymore with upgrade to v 17.0.1
Still works in v16... but most of the company users upgraded to v17, and now it's a big proglem
WHAT TO DO?

The piece of code that I have is something like
"<a id="action_url" href="/abc/xyz" name="action_url">Data</a>"
abc/xyz is a struts action

Similar Messages

  • Javascript with window.location.href no longer working in Content Editor in Sharepoint 2010 where users have IE8

    I have recently found that when using a Sharepoint 2010 Content Editor web part to house some Javascript that the window.location.href (or window.location) is not working when the end users have IE8 installed on their PC's.  We have confirmed
    that the window.location.href is working if the users are on IE7 or Google Chrome with the same Javascript.  In addition, we added alert() to the javascript to ensure that it was infact running, which the alerts appeared on the screen with no issues. 
    The result that I am receiving in IE8 is that when the window.location.href is set to the url that the user should be directed to, it simply refreshes the current page and leaves the user where they originally were.
    I have seen the posts to have my site setup as a Trusted Site, but this is not an option for our company as they defined all internal Sharepoint sites as trusted already.  Besides this, having all users go into their Internet Options is not really a
    solution but a means to annoy your users.
    What I am looking for is a permanent solution that I can make within my javascript that will work for both IE7 and IE8 users within a Sharepoint 2010 environment.  If anyone has any suggestions, please let me know.  Thanks in advance.
    Below is a snipet from my javascript code for review:
    <script type="text/javascript">
    function RedirectUrl() {
    alert('button pressed');
    var tb = document.getElementById("tbSearch").value;
    var cs = document.getElementById("sfield").value;
    var url = "";
    if (tb != "") {
    url = "FilterName=" + cs + "&FilterMultiValue=*" + tb + "*";
    if (cs == "Request%5Fx0020%5FID1"){
    alert("Request%20ID%20Search.aspx?" + url)
    window.location.href = "Request%20ID%20Search.aspx?" + url;
    else {
    window.location.href = "All%20Requests.aspx?" + url;
    else {
    return false;
    function ClearUrl() {
    window.location.href = "All%20Requests.aspx";
    </script>
    <br/>
    <span style="font-family: calibri; color: #000066; font-size: 14pt; font-weight: bold">Search</span>
    <br/>
    <span style="font-family: calibri; color: black">Search Field: </span>
    <select id="sfield" style="font-family: calibri; font-size: 10pt">
    <option value="Request%5Fx0020%5FID1">Request ID</option>
    </select> &#160;
    <span style="font-family: calibri; color: black">Search Text: </span>
    <input id="tbSearch" onkeypress="if (event.keyCode == 13) document.getElementById(&#39;btnSearch&#39;).click()" style="font-family: calibri"/>
    <button id="btnSearch" onclick="return RedirectUrl();" type="submit" style="font-family: calibri">Search</button>
    <button id="btnClear" onclick="return ClearUrl();" type="submit" style="font-family: calibri">Clear Search</button>
    <br/>
    <br/>
    <span style="font-family: calibri; color: #000066; font-size: 14pt; font-weight: bold">Search Results - All Requests</span>
    <br/>

    Hi,
    According to your post, my understanding is that the window.location.href not worked in IE 8.
    I think the issue
    is likely due to the value of your variables. If they contain special or invalid characters, those needs to be passed through
    encodeURIComponent before being assigned to window.location.href.
    http://stackoverflow.com/questions/18278777/window-location-href-not-working-on-ie
    http://stackoverflow.com/questions/6297291/window-location-problem-in-ie
    You can also use the following methods to check whether it works.
    Window.navigate();
    Winodw.history.back();
    Self.location.href;
    Top.location;
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Location.href not working in firefox. Is there any alternative script for that?

    window. location.href not working when i try to submit an ajax form.
    I am a programmer. This code works on all browser except firefox.
    Any solution for this? or any alternative code for location.href?

    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

  • Trying to open a page in IE-tab using javascript, script type="text/javascript" window.location.href="chrome://coralietab/content/container.html?url=0,myurl" /script Error:Component returned failure code:0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]

    I am trying to open a page in IE-tab using javascript like this, <script type="text/javascript"> window.location.href = "chrome://coralietab/content/container.html?url=0,myurl" ;</script>.Error occured : [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::myurl :: load :: line 234" data: no] I have IE-Tab plug-in installed..when I open the same link manually in mozilla,it works fine and page gets opened in Ie-tab.

    The only way this might be possible is by using the HostContainer object
    to access the HTML page and do it from there.

  • Help setting up Window.location.href to open a file, and 1 other issue

    Hey there,
    I am a student currently working on a school project where I must make a website. I am trying to set up: window.location.href="C:\Users\*PCNAME*\Desktop\*SITE*"; in that fashion to open up a local file on my HDD, so when I click a specific area, it opens that page from my local files. This setting works with opening web pages like "http://www.google.com" just fine, but when I attempt to instead open up a file location I am given an error.
    Also, my other question is how to have more than 1: <script type="text/javascript"> function LinkTo(){, so that I can have 2 seperate buttons on my web page linking to 2 seperate sites.
    Here is a link to the PasteBin with my code: http://pastebin.com/Eawy2hcL
    Basically, I am wondering how to set up window.location.href to open  up a page located in my files rather than from the internet like Google or Facebook; and, I am wondering  how to have multiple LinkTo scripts set up so different buttons link to different pages and how to link those buttons to each script. I am new to Dreamweaver, so forgive me if anything is blindingly obvious! 

    Okay, I'll try to explain better. Btw, thanks for the bottom part. Figured out I am not supposed to put the full location of the file, only the page (index.html), not C:\Users\*NAME*\etc...
    Anyways, I am wanting multiple scripts.
    Basically, I want the left cell to, when clicked, go to NewCars.html, and the right cell to link to UsedCars.html. It is a table that I have configured to be clicked anywhere in the cell rather than just having to click the words to go to a link. The code is:
    <table width="100%" border="1">
      <tr>
        <td style="cursor:pointer;cursor:hand;" onClick="LinkTo()" width="50%" bgcolor="#C5B8B8"><h2 style="text-align: center">Shop New</h2></td>
        <td style="cursor:pointer;cursor:hand;" onClick="LinkTo()" width="50%" bgcolor="#C5B8B8"><h2 style="text-align: center">Shop Used</h2></td>
      </tr>=-
    </table>
    I have the LinkTo script set up, but I don't know how to add another LinkTo script that goes to a different page so that way the first LinkTo script for the"Shop New" cell takes you to the NewCars page, while the "Shop Used" cell takes you to the ShopUsed page.

  • Windows 7 - browser stops working still connected

    As the title says Windows 7, browser stops working after some time passes.  
    This effects IE and Chrome.  I can still ping www.google.com or it's IP address.  (all other computers on the network are fine)
    I've used both the wired and wireless connection without the same results. 
    I reboot and it works, I walk away from the work station and then boom no browsing. 
    I've turned off the firewall, released and renewed the IP,  netsh winsock reset none off this worked.
    I've gone into internet options and ensure that no "proxy' boxes are checked.  
    I've uninstalled the network card drives and restarted the machine. 
    I've ran Malwarebytes (no infections), ccleaner to check for registry problems.  Nothing there. 
    I've disabled the power saving options and uncheck "let windows turn this device off"
    I've also ran Norton and Mcgafee uninstallers just be sure there aren't any residue from those installed.
    No bittorrent clients
    So I'm online but can't browse on this one computer?  what's the deal please Help!

    ctrl+alt+del to display the tasksmanager...Processes tab,
    any google processes running? googletoolbarupdater.exe (x86 or x64)?
    any other suspicious/unknown processes running? see why not to use ccleaner on win7 machines http://forums.steampowered.com/forums/archive/index.php/t-971768.html spybot S&D installed? turn off 'Teatimer' Tools>Internet Options>Security tab, click "Reset all
    zones to default".... there are security zone settings for meta refresh. running IE in noAddons mode is the first test (close all open IE windows first, if using IE8 reboot your computer to clear any hidden IE crash recovery processes or use the taskmanager
    to kill any orphaned IE processes) Start>Control Panel>Sharing and Networking>run the diagnose connection problems tool to diagnose network connection issues. IE9....f12 to display the developer tool>Networking tab, click "Start Capturing"..... to trace network
    requests and responses. IE8 and earlier.... download fiddler from http://fiddlertool.com HTH
    Rob^_^
    also Tools>ActiveX filtering (enable/disable) google.com injects an ActiveX 'object' (googletoolbar.dll) that tracks your search and surfing history, in their search and results pages.

  • "Windows Explorer Has Stopped Working" Error Message Loop upon Startup of WIndows 7 Ultimate 64-bit

    Ok I have a HP Touchsmart 6000 running Windows 7 Ultimate 64 bit OS.  It is my 74 year old mothers computer and about 3 months ago it started acting up.  First thing that happened was the internal DVD Burner started working intermitently, recognizing
    her QuickBooks backup DVD files occasionally.  I got her a new  internal DVD burner and it worked for a while.   during that time on Startup Help and Support would all of a sudden popup right away.    Then recently Adobe Acrobat would
    launch a PDF file about Flash and keep opening multiple instances of it.   Now her new DVD doesnt work again and on startup at the windows desktop she gets an error "Windows Explorer has Stopped Working".   No matter what I click the error
    keeps looping.  No program has been opened that causes it to crash because the error happens immediately and keeps repeating.   I have tried to boot to Safe Mode, Safe Mode with Networking and have tried System Restore to no avail.
    I have ran Malwarebytes Antivirus, Malwarebytes AntiExploit, AntiRootkit as well as Combofix.   I have run the AntiMalware software from Microsoft and have updated all the drivers for the HP system.   To no succcess.
    At one point the system did load and an error came up JAN2OSD failed to start due to missing ACPI or something like that.  For that brief moment Explorer stopped crashing.   When I finished updating  driverss though the error  came back.
    Please Help  as she is about to cry and no one wants to make a 74 year old woman cry.:)
    Thanks,
    Jeff

    Hi,
    According to the steps you have performed, we have followed the steps mentioned in this KB article?
    Error: Windows Explorer has stopped working
    Hvae you tried the repair install of Windows 7? Follow the steps here:
    How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    Besides, if issue insists, please follow the steps below to generate a dump file:
    1. Create a new folder (named New folder)under C: drive.
    2. Please save the below as a .reg file, and then import it to registry, reference here:
    ===
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\explorer.exe]
    "DumpFolder"=hex(2):43,00,3a,00,5c,00,4e,00,65,00,77,00,20,00,66,00,6f,00,6c,\
      00,64,00,65,00,72,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    ===
     3.  After that , if Windows Explorer stops working again, please check the
    C:\New folder for dump files and then upload them.
    Meanwhile, please also make a contact with the manufacturer to see if we could get any further help from there.
    Best regards
    Michael Shao
    TechNet Community Support

  • Windows 7 Error Message: Microsoft Visual C++ Runtime Library Runtime Error.... Followed by Windows Explorer Has Stopped Working

    I am running a system that is not quite 6 months old, which is loaded with Windows 7 Professional, 64 bit. 
    The error message that I get is as follows: Microsoft Visual C++ Runtime Library.  Runtime error!  Program C:\windows\Explorer.exe.  This application has requested the runtime to terminate it in an unusual way.  Please contact the
    application's support team for more information.
    Once I respond to that message, I get a message that says "Windows Explorer has stopped working.  Then I get "Windows Explorer is re-starting"
    I don't know if the next event is related - today, immediately after getting the message above, I got a pop-up that said "An update to Adobe Flash Player is available" - and I am given the option of installing it or not.  Today, I did not install
    the update - although I recall having accepted this update in the past (again, I don't know if the two situations always occur together).
    Is there some help I can be provided to correct this problem?  I have looked at several related topics in this database, but have not found anything that seems to directly relate to my question. 
       Thanks!    Mark

    Hi,
    Did you try to reinstall the Microsoft Visual C++ 2008 Redistributable
    Package (x86) to check this issue?
    What about to boot the computer in safe mode and Clean Boot to test this issue?
    Regards,
    Vincent Wang
    TechNet Community Support

  • Windows Powershell has stopped working

    Hi,
    I am getting an error during Windows logon, which says "Windows Powershell has stopped working". When I looked at the event logs, I found the below event in App logs. Can you pls help what is going wrong here?
    Log Name:      Application
    Source:        Application Error
    Date:          2/18/2014 7:55:16 PM
    Event ID:      1000
    Task Category: Application Crashing Events
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MININT-BNG69NS
    Description:
    Faulting application name: powershell.exe, version: 6.3.9600.16406, time stamp: 0x5244e9dc
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
    Exception code: 0xe0434352
    Fault offset: 0x000000000000940d
    Faulting process id: 0xb3c
    Faulting application start time: 0x01cf2cb52a860b9f
    Faulting application path: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
    Report Id: 7c4832cf-98a8-11e3-b82f-a088b40d3a94
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-18T14:25:16.000000000Z" />
        <EventRecordID>2449</EventRecordID>
        <Channel>Application</Channel>
        <Computer>MININT-BNG69NS</Computer>
        <Security />
      </System>
      <EventData>
        <Data>powershell.exe</Data>
        <Data>6.3.9600.16406</Data>
        <Data>5244e9dc</Data>
        <Data>KERNELBASE.dll</Data>
        <Data>6.1.7601.18229</Data>
        <Data>51fb1677</Data>
        <Data>e0434352</Data>
        <Data>000000000000940d</Data>
        <Data>b3c</Data>
        <Data>01cf2cb52a860b9f</Data>
        <Data>C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe</Data>
        <Data>C:\WINDOWS\system32\KERNELBASE.dll</Data>
        <Data>7c4832cf-98a8-11e3-b82f-a088b40d3a94</Data>
      </EventData>
    </Event>
    Arun

    Hello Mike,
    I have a script that is a part of HKCU Runonce, which is used to map D drive to indexing. Below is the script.
    Write-Host Load the dll
    Add-Type -path "C:\Program Files\Microsoft.Search.Interop.dll"
    Write-Host Create an instance of CSearchManagerClass
    $sm = New-Object Microsoft.Search.Interop.CSearchManagerClass
    Write-Host Next we connect to the SystemIndex catalog
    $catalog = $sm.GetCatalog("SystemIndex")
    Write-Host Get the interface to the scope rule manager
    $crawlman = $catalog.GetCrawlScopeManager()
    $crawlman.AddUserScopeRule("file:///D:\*",$true,$false,$null)
    $crawlman.SaveAll()
    Write-Host Script completed
    Arun

  • Windows media player stop working after upgraded from firefox 6.02 to Firefox 7.01 yesterday.

    windows media player stop working after upgraded from Firefox 6.02 to Firefox 7.01 yesterday.
    the plugin for win media player is already installed and working fine in FF 6.02 before upgrade. i have Google this issue without any result so far. so i reinstalled the old version 6.02, until fix is found.
    anyone has the similar issue with Firefox 7.01 in Win 7 32 bit ?

    The issue was not with FF 7.01. VLC player version 1.11.1 is conflicting with windows media player when FF 7.01 tries to play media files! Which was not happening before in FF 6.02.
    VLC and plugin media player need to be uninstalled first, then uninstalled FF 6.02. Install FF 7.01 and then win plugin media player again.
    Test media player at www.vdat.com/techsupport/windowstest.asp

  • Windows Explorer has STOPPED Working

    OK, I have iTunes 8 installed, the allegedly CORRECTED version. When I start iTunes 8, I receive a message that says, "Windows Explorer has Stopped Working" and gives me two options:
    First Option - Check online for a solution and restart the program (Program being Windows Explorer).
    Second Option - Restart the Program (Program being Windows Explorer).
    Option One does not provide a solution, just restarts Windows Explorer!
    Option Two restarts Windows Explorer.
    When I choose to "View the Details" of the error, I receive the following:
    Problem signature:
    Problem Event Name: BEX64
    Application Name: Explorer.EXE
    Application Version: 6.0.6001.18000
    Application Timestamp: 4791970c
    Fault Module Name: UndWinExpShExt.dll_unloaded
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 48801d73
    Exception Offset: 0000000004f3273a
    Exception Code: c0000005
    Exception Data: 0000000000000008
    OS Version: 6.0.6001.2.1.0.256.1
    Locale ID: 1033
    Additional Information 1: 09ef
    Additional Information 2: c6a2b1bd6acb10012eb7d5dd1b45e415
    Additional Information 3: 3a70
    Additional Information 4: 0185804ddbcb00af322d2112cbd2b831
    No other error codes are provided and everything works OK, just this hiccup in the giddy-up along the way of iTunes 8's start up routine.
    Is anyone else having this issue with iTunes 8?
    Thanks ~~ Gunny

    I THINK that this is the repeated one, because I was doing it one after the other. And yes, as far as I know, everything is up to date. I'm fairly advanced when it comes to computers, but this has me boggled.
    Problem signature
    Problem Event Name: APPCRASH
    Application Name: explorer.exe
    Application Version: 6.0.6002.18005
    Application Timestamp: 49e01da5
    Fault Module Name: objc.dll
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4a5f5419
    Exception Code: c0000005
    Exception Offset: 00008373
    OS Version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160
    Extra information about the problem
    Bucket ID: 1454080905

  • Windows sharing (smb) stopped working

    Hello,
    At work we have a huge network of windows computers. I access most of them on a daily basis, and there's one I'm connected to all the time, both to the filesystem and the windows printer.
    All other computers work fine but this one in particular is giving me a headache. YEsterday, all of a sudden and with no configuration change on either my mac or the windows machine, samba stopped working.
    When I'm asked my username and password, no matter what I type, I get a "unauthorised access". It didn't use to matter what I typed in there .. as long as the username field wasn't empty, the windows machine would accept it. Now it doesn't.
    As I said, I can access other computers just fine.
    Any ideas how to fix this?

    This is so strange.
    I created a user account on the Windows machine and I could access it through my mac.
    10 minutes later I tried again and again the same error. Even though the user account and password are correct.

  • Windows accelorator driver stopped working

    Every now and again I have a message which comes up saying Windows accelorator driver stopped working for Windows XP and has recovered. I have Windows 7 home premium so why would this message keep appearing every so often.

    Is there any text before "windows acc...." in the error message? From the information supplied I would guess you are running W7 32bit and you've either upgraded from XP or you have loaded an XP grahics driver - I've only seen that sort of message from video drivers. I would check that either an updated Toshiba driver or a "WHQL" certified laptop driver is available from the graphics chipset's web site.

  • Internet explorer 9 for windows 7 has stopped working

    I am getting internet explorer 9 for windows 7 has stopped working error and explore is getting closed

    Have you disabled "Download Controls" in Manage add-ons?
    Meanwhile, click Internet Options\Security\Custom level, then scroll down to ActiveX control and plug-ins, disable all precvious used ActiveX Control. then test again
    Yolanda Zhu
    TechNet Community Support

  • ITunes not working on my computer each time open iTunes appear a window " iTunes has stopped working close the program "

    Hi, I have a problem with iTunes on my computer each time when try open iTunes appear a window " iTunes has stopped working... close a program " someone can help me how fix it.

    See HT203206: iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

Maybe you are looking for

  • Blue screen error....

     Hi Often am getting this error, stops my work, pls check this.... "A problem has been dtected and windows has been shut down to prevent damage to your computer If this is the first time you've seen this stop error screen, restart your computer. If t

  • Data in the cube/ ODS?

    Hi all, I would like to ask one simple question. Can someone tell me how to check if infocube/ ODS contains data (instead of checking it by runing reports in BW Analyzer). Thank you. Best wishes, John

  • Pavilion dv6 - the search for WLAN doesnt exist after installing windows 7 ultimate

    pavilion dv6 - the search for WLAN doesnt exist after installing windows 7 ultimate after installing windows 7 my computer only displays the LAN on my quicklaunch bar and I can even search for open WLAN networks =(

  • Acrobat 7.0 Professional - default window size

    How do I set a default opening window size (to fit A4 @ 125%) for all PDFs? I'm running OS X 10.6.8 with Acrobat 7.0 Professional. Can't find anything that works on this. Would appreciate any suggestions.

  • What should the default tablespace be for SAP users

    I'm using Oracle 10.2.0.4 For the users OPS$<SID>ADM OPS$ORA<SID> SAP<SID> what should the default tablespace be PSAP<SID>USR or PSAP<SID>