ygmailMF

play (in)famous mail message sound clip when new MetaFilter mail is available

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

// ygmailMF.user.js
//
// Written by: Michael Devore
// Released to the public domain
//
// This is a Greasemonkey script.
// See http://www.greasespot.net/ for more information on Greasemonkey.
//
// ==UserScript==
// @name			ygmailMF
// @namespace		http://www.devoresoftware.com/gm/ygmailMF
// @description		play (in)famous mail message sound clip when new MetaFilter mail is available
// @match			https://*.metafilter.com/
// @match			http://*.metafilter.com/
// @run-at document-end
// @version 1.0
// ==/UserScript==
//

"use strict";

var soundData = 
"data:audio/x-wav;base64,UklGRtImAABXQVZFZm10IBAAAAABAAEA+CoAAPgqAAABAAgAZGF0Ya0mAACIi4uJio2Pj4yKjpCNiYeEgIGIgnN3f3hwbWlrc3BlZGxtbG1qaXJ4dHF2eX2CgXt9homHg4KFjI2FgYaLioaDhImLiIWGio2Oi4qPk5OQjo6Rko+KhH6Bi4Fuc4B6b2hgZXZ1XltobW1rZmVxe3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BgYGBgoODgoKBgH9+fn5+fn+AgYKDhISEg4GAf35+fn5/gIGCg4ODgoGAf35+fn5+f4CBgICAgH9/f3+AgIGCgoB9e3h2dHV2eHyAhIeIiYmHhIF9e3l3d3h6e32AgYKDgoKBgICAAA==";

function onLoaded()
{
	var found = false;
	var xpath = "//LI[contains(@class, 'messages')]//SPAN[contains(@class, 'unread-messages')]";
	var pNodes = document.evaluate(
		xpath,
		document,
		null,
		XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
		null
	);
	var found = false;
	found = !!pNodes.snapshotLength;
	if (!found)
	{
		// try classic if modern failed
		xpath = "//DIV[contains(@class, 'mefimessages')]//I[contains(@class, 'mmon')]";
		pNodes = document.evaluate(
			xpath,
			document,
			null,
			XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
			null
		);
		found = !!pNodes.snapshotLength;
	}
	if (!found)
	{
		return;
	}
	var audio = document.createElement("audio");
	audio.src = soundData;
//	document.body.appendChild(audio);
	audio.play();
}

document.addEventListener('DOMContentLoaded',onLoaded,true);