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.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

// ==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';