NoChaturbateTippingSounds

Disables the annoying tipping sounds on the cam girls website of chaturbate.com. Note that those sounds would still be heard via the girl's microphone.

Terá de instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

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

Terá de instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Terá de instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Terá de instalar uma extensão como Tampermonkey para instalar este script.

Terá de instalar uma extensão de gestão de scripts de utilizador para instalar este script.

(Já tenho um gestor de scripts de utilizador, deixe-me instalá-lo!)

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

(Já tenho um gestor de estilos de utilizador, deixe-me instalá-lo!)

// ==UserScript==
// @name NoChaturbateTippingSounds
// @namespace http://www.vpycha.com/gmscripts
// @description Disables the annoying tipping sounds on the cam girls website of chaturbate.com. Note that those sounds would still be heard via the girl's microphone.
// @include http://chaturbate.com/*
// @include http://*.chaturbate.com/*
// @grant none
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @version 1.0
// ==/UserScript==

// Author: Vladimir Pycha <[email protected]>
// First revision created on: July 2013

// The to-be-replaced function PlayBeep() is defined in http://ccstatic.highwebmedia.com/static/CACHE5/js/029d9efc249e.js. It is called from code in the same file.
function PlayBeep(level) {
// This function does nothing, except some debug stuff.
if (!window.vpPlayBeepNum) {
  window.vpPlayBeepNum = 0;
}
var output = document.getElementById('NoChaturbateTippingSounds');
output.innerHTML = 'NoChaturbateTippingSounds: # of tips since page load: ' + ++window.vpPlayBeepNum + '';
}

function embedFunction(s) {
  document.body.appendChild(document.createElement('script')).innerHTML = s.toString();
}

var output = document.createElement('div');
output.setAttribute('id', 'NoChaturbateTippingSounds');
output.setAttribute('style', 'padding: 0px 8px 10px 8px');
document.body.appendChild(output);

embedFunction(PlayBeep);

output.innerHTML = 'NoChaturbateTippingSounds user script is on';