Is there any way to have a notification when it’s your turn to move in one of the correspondence games?
Maybe a sound when the counter is above certain number.
Any ideas?
Is there any way to have a notification when it’s your turn to move in one of the correspondence games?
Maybe a sound when the counter is above certain number.
Any ideas?
Other than the e-mail that it’s your turn (which I have disabled anyway)?
Something like the sound settings we have for “game started/ byoyomi/ player disconnected” etc?
haha, I’m imagining a notification on the website now for each of my 115 correspondence games or whatever number it is at now.
Yeah, just some beep to indicate I have moves to make.
I often have OGS tab open and can respond quickly if only I got a memo that I can play.
I understand one could make a tapermonkey script to do exactly what I want but it’ll take me forever to figure out how to do it.
This the way I do it.
Yeah, that’s similar to the way I did it before. But it requires active monitoring.
Something like this. What an ugly bastard. But it sort of works.
If I’m not mistaken, somebody already made a chrome or firefox extension (maybe both?) Called OGS Notifier which unless I’m dreadfully mistaken does exactly what you’re after?
That’s great to know people already thought of this.
I like my frog notifier already tho, so I’m going to be building it up.
Thanks for making it a screenshot, so that we can manually type it over if we also want it
Which I’m totally doing, by the way, let me hack myself a way to get a noticeable sound when I’m 30 minutes away from timing out my correspondence games…
Ok. Here’s a script. I don’t know JavaScript so this is probably not that great coding. It croaks on each increment and once an hour if it’s above base level, and only if it’s on home page.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://online-go.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var base_level = 7;
var current_level = base_level;
var croak_audio = new Audio("https://notificationsounds.com/soundfiles/74071a673307ca7459bcf75fbd024e09/file-f0_bullfrog.mp3");
function croak() {
croak_audio.play();
}
function get_value() {
var location = window.location.href
var elements = $('.active.count span')
if (elements.length && (location == "https://online-go.com/overview" || location == "https://online-go.com/")) {
return parseInt(elements[0].textContent);
} else {
return -1;
}
}
function increment_checker() {
setTimeout(increment_checker, 5*1000);
var v = get_value();
if (v < 0) {
return;
}
if (v > current_level) {
croak();
}
current_level = v;
}
function base_checker() {
setTimeout(base_checker, 60*60*1000);
var v = get_value();
if (v < 0) {
return;
}
if (v > base_level) {
croak();
}
}
setTimeout(increment_checker, 60*1000);
setTimeout(base_checker, 60*60*1000);
})();
I run it on separate computer I have turned on most of the time. So I can hear croaks at 3 am.
Am I allowed to copyright strike them for using bond?
Explain yourself.
That was just a joke.