Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit fd30941d authored by Harald Sitter's avatar Harald Sitter 🌼

add my html watcher; it's like bin/monitor except in a browser

...before I forget to commit it again for 3 months
parent 4b22c5de
function refresh(node)
var sleep = 100;
(function startRefresh()
if (node.complete !== true) {
// If the previous image hasn't completed loading, skip this update and schedule a new one.
// This prevents us from overloading weak connections with cancelled transfers.
setTimeout(startRefresh, sleep);
var address;
if (node.src.indexOf('?') > -1) {
address = node.src.split('?')[0];
} else {
address = node.src;
node.src = address+"?time=" + new Date().getTime();
setTimeout(startRefresh, sleep);
window.onload = function()
var node = document.getElementById('fullScreenshot');
<p algin="center"><img id="fullScreenshot" src="wok/qemuscreenshot/last.png" /></p></div></div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment