<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/10921395?origin\x3dhttp://s9026234.blogspot.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

星期一, 5月 30, 2005

網際網路應用系統設計 作業八( 5/23 Homework)

GreaseMoney Script definition, if you don’t follow the rules, will unable to install.

This is the javascript to reload after 60s.


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

(function()

{

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

})
();

0 Comments:

張貼留言

<< Home