星期一, 5月 30, 2005

hw 5/23

write a javascript to let a webpage refresh itself every 60 seconds.

// ==UserScript==
// @name reload
// @namespace
// @description reload webpage after 60sec
// ==/UserScript==

(function()

{

setTimeout("document.location.reload()",60000);
})
();

沒有留言: