Refresher
Home  |   仮想通貨 上場予定 一覧  |   Download  |   Contact  |   Search  |   Donate
 
 
Need More information? 
 
  1. Bob Wunsch (US)
  2. Gary Sampson (US)
  3. Cynthia Smoot (US)
  4. Maurice Pinner (UK)
  5. James Tomczyk (US)
 
Latest Version:
 
Product Type:
Refresher 1.2 Freeware
Refresher 1.3 PRO Shareware
 
 
 
Bookmark this page
 
Other Products:

BusinessMan CRM
Resource Scheduler
JamieLThompson
 
Links:
   

Refresher V1.2

A dual browsing automatic refreshing tabbed browser and more...


Refresher PRO automatically refreshes website pages upto every 1 second, and will notify you if the web page changes!

Use Refresher Enterprise to automatically accept orders/jobs!

Refresher is an excellent browser and tool for completing the mundane tasks of refreshing web pages when you are viewing your web mail, while monitoring on-line auctions, monitoring sports results or staying logged in on a page. With PRO, You can also get notified if a web page changes!

Additional features within Refresher include Auction Template, HTML Editor, I.P. Tool, PC Timer and PC Reminder!

Refresher is free from Spyware and Malware. Refresher incorporates a complete help reference for troubleshooting.

Please email [email protected] if customisation is required.

If you want the code to refresh your own browser, click refreshing a webpage for the code.

Automatically Refresh & Auto Accept Web Pages & Orders on LenderVend and Appraisal Port, click buy auto accept script for more info.

Buy Now



Description Images FAQ's Download FAQ's Feedback Bugs Donate

Refresh Code

We receive a lot of questions related to the actual code to make a web page refresh (rather than using the Refresher Application itself).

We have listed below several methods to make your page refresh after a preset amount of time which will allow you to set up a web page to automatically refresh on the viewers browser.

Copy and paste the code below, or download any of the sample pages next to each code section.


Examples

PHP Example:

In this example the current page is automatically reloaded after 5 minutes. Note that time is expressed in seconds, therefore to have 5 minutes between refreshes you would need to type 300. You cannot output any html to the page BEFORE issuing the header code.

You can use the php line below to redirect (with a selected delay) to another page of your site, or external to your site:

<?php
// The current page will refresh automatically every 300 seconds (5 minutes).
header("Refresh: 300;");
?>

The code below will forward you to the log-in page after 10 seconds:

<?php
// The page will forward you to the /log-in/ page in 10 seconds time.
header("Refresh: 10; url=/log-in/");
?>

Download this page code:

  • Right mouse click link below
  • Select "Save Target As" (Explorer) or "Save Link As" (FireFox)

Download:
- php_refresh_code.php.html (1282 bytes)
- php_refresh_code.php.html.zip (718 bytes)

PHP/HTML Example:

PHP and HTML integrated together:

<?php
/*
    Program             :   php_html_refresh_code.php
    Purpose             :   Refresh page automatically using PHP & HTML
    Package             :   Refresher Sample Kit
    Author              :   [email protected]
    Last Modified By    :   [email protected]
    Dependencies        :   PHP v4.0+
    Distributed         :   http://www.myrefresher.com
    Version             :   1.00 (c) 2006 Jamie Thompson. All rights reserved
    ------------------------------------------------------------------------------------
    Date        Vers.   Author                      Details
    ----        -----   ------                      -------
    09/08/2006  1.00    [email protected]     Created as php_html_refresh_example.php
*/

/*
 *  PHP & HTML integrated:
 *
 *  M E T H O D   #1:
 */
?>
<html>
    <head>
        <meta http-equiv=refresh content="5; url=<?php echo $_SERVER['PHP_SELF']; ?>">
    </head>
    </body>
        <h1>Test Refresh Page!</h1>
        <p>This is my test refreshing page...</p>
    </body>
</html>
<?php
/*
 * OR pure PHP
 *
 *   M E T H O D   #2:
 *
 */
echo '
    <html>
        <head>
            <meta http-equiv=Refresh content="5; url='
.$_SERVER['PHP_SELF'].'">
        </head>
        </body>
            <h1>Test Refresh Page!</h1>
            <p>This is my test refreshing page...</p>
        </body>
    </html>
    '
;
?>

Download this page code:

  • Right mouse click link below
  • Select "Save Target As" (Explorer) or "Save Link As" (FireFox)

Download:
- php_html_refresh_code.php.html (1394 bytes)
- php_html_refresh_code.php.html.zip (709 bytes)

HTML Example:

Place in the head part of your page:

<!-- 
    Program             :   html_refresh_code.html
    Purpose             :   Refresh page automatically using HTML
    Package             :   Refresher Sample Kit
    Author              :   [email protected]
    Last Modified By    :   [email protected]
    Dependencies        :   None
    Distributed         :   http://www.myrefresher.com
    Version             :   1.00 (c) 2006 Jamie Thompson. All rights reserved
    ------------------------------------------------------------------------------------
    Date        Vers.   Author                      Details
    ----        -----   ------                      -------
    09/08/2006  1.00    [email protected]     Created as html_refresh_code.html
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <title>My Refresh Page</title>
    <head>
        <!-- 
        Refresh and forward to the page: 'file_name or url' 
        
        content = time (second)
        file_name = name of file you want to refresh or redirect 
        -->
        <meta http-equiv='refresh' content='2;url='file_name or url'>
    </head>
    <body>
        <h1>Refreshing page</h1>
    </body>
</html>
<!-- END OF DOCUMENT -->

Download this page code:

  • Right mouse click link below
  • Select "Save Target As" (Explorer) or "Save Link As" (FireFox)

Download:
- html_refresh_code.html (1249 bytes)
- html_refresh_code.html.zip (691 bytes)

JavaScript & HTML Example

This page combines JavaScript and HTML to ensure that the page refreshes:

<!-- 
    Program             :   javascript_html_refresh_code.html
    Purpose             :   Refresh page automatically using HTML & JavaScript
    Package             :   Refresher Sample Kit
    Author              :   [email protected]
    Last Modified By    :   [email protected]
    Dependencies        :   None
    Distributed         :   http://www.myrefresher.com
    Version             :   1.00 (c) 2006 Jamie Thompson. All rights reserved
                        :   Script src and credit goes to: http://grizzlyweb.com/webmaster/javascripts/refresh.asp
    ------------------------------------------------------------------------------------
    Date        Vers.   Author                      Details
    ----        -----   ------                      -------
    09/08/2006  1.00    [email protected]     Created as javascript_html_refresh_code.html
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Refresh JavaScript Example</title>
        <noscript>
            <!--
                We have the "refresh" meta-tag in case the user's browser does
                not correctly support JavaScript or has JavaScript disabled.
            
                Notice that this is nested within a "noscript" block.
            -->
            <meta http-equiv="refresh" content="6">
        </noscript>
        
        <script language="JavaScript">
            <!--
            
            var surl = unescape(window.location.pathname);
            
            function doLoad()
            {
                // the timeout value should be the same as in the "refresh" meta-tag (6 seconds)
                setTimeout( "refresh()", 6000 );
            }
            
            function refresh()
            {
                //  This version of the refresh function will cause a new
                //  entry in the visitor's history.  It is provided for
                //  those browsers that only support JavaScript 1.0.
                //
                window.location.href = surl;
            }
            //-->
            </script>
            
            <script language="JavaScript1.1">
            <!--
            function refresh()
            {
                //  This version does NOT cause an entry in the browser's
                //  page view history.  Most browsers will always retrieve
                //  the document from the web-server whether it is already
                //  in the browsers page-cache or not.
                //  
                window.location.replace( surl );
            }
            //-->
            </script>
            
            <script language="JavaScript1.2">
            <!--
            function refresh()
            {
                //  This version of the refresh function will be invoked
                //  for browsers that support JavaScript version 1.2
                //
                
                //  The argument to the location.reload function determines
                //  if the browser should retrieve the document from the
                //  web-server.  In our example all we need to do is cause
                //  the JavaScript block in the document body to be
                //  re-evaluated.  If we needed to pull the document from
                //  the web-server again (such as where the document contents
                //  change dynamically) we would pass the argument as 'true'.
                //  
                window.location.reload( false );
            }
            //-->
        </script>
    </head>
    <!--
        Use the "onload" event to start the refresh process.
    -->
    <body onload="doLoad()">
        <script language="JavaScript">
        <!--
            // we put this here so we can see something change
            document.write('<b>' + (new Date).toLocaleString() + '</b>');
        //-->
        </script>
    </body>
</html>
<!-- END OF DOCUMENT -->

Download this page code:

  • Right mouse click link below
  • Select "Save Target As" (Explorer) or "Save Link As" (FireFox)

Download:
- javascript_html_refresh_code.html (4007 bytes)
- javascript_html_refresh_code.html.zip (1500 bytes)

Hide Ads

Chat on Meetic : Chat with singles in your area - Thousands of singles join every day

Click Here for Faster Computer!

Hide Ads