ShowUp.TV AutoWarner

Ostrzeżenie przed opuszczeniem własnej transmisji.

Versione datata 23/09/2017. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name        ShowUp.TV AutoWarner
// @namespace   [email protected]
// @description Ostrzeżenie przed opuszczeniem własnej transmisji.
// @include     https://showup.tv/site/start_transmission
// @exclude     
// @version     0.1
// @grant       none
// @run-at      document-end
// ==/UserScript==

//Ostrzeżenie przed opuszczeniem własnej transmisji (dowolny link lub zamknięcie strony - również wyświetla się przy akceptowaniu priva).
window.onbeforeunload = function(evt) {
   var message = 'Opuszczenie strony wyłączy transmisję! Kontynuować?';
   if (typeof evt == 'undefined') {
    evt = window.event;}
   if (evt) {
    evt.returnValue = message;     }
    return message;};}