Web Server and Website Monitoring Service by WebSitePulse
 The Web Server and Website Monitoring Service, trusted by 40271 customers 
24/7 Toll-Free Support Line: 1-888-977-8573
Help
Knowledge Base
FAQ
Glossary
Contact
Feedback
Win Samsung Galaxy Tab 2
Win Samsung Galaxy Tab 2
The more entries you undertake- the bigger your chance to win!

Website Monitoring Free trial

Free Website Testing Tools

RSS 2.0 Feed Atom Feed

Follow JavaScript redirects


The JavaScript location property is widely used for redirecting users to a different page. Setting the location.href properly or using the location.replace() method within a script on your page will forward the user to the page you've requested.

A JavaScript redirect will look like one of the examples below:
<script> window.location.href="http://www.websitepulse.com/"; </script> <script> window.location.replace('http://www.websitepulse.com/'); </script>
If you need to monitor a web page or a web transaction that uses this type of redirect you should enable this option. Our monitoring agent will parse the page content looking for a valid URL used by a JavaScript function with location.href or location.replace(). If such URL is found the monitoring agent will try to open the page and check if it is working properly. This option is disabled by default and should only be enabled if the monitored URL or transaction contains a Javascript redirect which runs automatically when the page is loaded.

Please notice that only the first redirect will be followed, if the result page contains another JavaScript redirect it will not be followed.



Similar topics

Knowledge base
  • Alerts escalation scheme explanation
  • Target type categories
  • Protocol and Content related alerts
  • Router
  • Include additional URLs to a fullpage test

    Glossary
  • Redirect Time
  • AJAX (Asynchronous JavaScript and XML)




    Search:




    How would you rate the quality of this content?

    12345
    Poor  Outstanding

    Tell us why you rated the content this way.


    Current rating: 1.00


    12345


  • Web Monitoring | Server Monitoring | Website Monitoring | Application Monitoring | Email System Monitoring with Round-Trip

    Copyright 2000-2013 WebSitePulse. All Rights Reserved.
    Privacy Policy | Terms & Conditions | Sitemap | Blog | Mobile