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.

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
  1. // ==UserScript==
  2. // @name NoChaturbateTippingSounds
  3. // @namespace http://www.vpycha.com/gmscripts
  4. // @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.
  5. // @include http://chaturbate.com/*
  6. // @include http://*.chaturbate.com/*
  7. // @grant none
  8. // @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
  9. // @version 1.0
  10. // ==/UserScript==
  11.  
  12. // Author: Vladimir Pycha <vpycha@gmail.com>
  13. // First revision created on: July 2013
  14.  
  15. // 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.
  16. function PlayBeep(level) {
  17. // This function does nothing, except some debug stuff.
  18. if (!window.vpPlayBeepNum) {
  19. window.vpPlayBeepNum = 0;
  20. }
  21. var output = document.getElementById('NoChaturbateTippingSounds');
  22. output.innerHTML = 'NoChaturbateTippingSounds: # of tips since page load: ' + ++window.vpPlayBeepNum + '';
  23. }
  24.  
  25. function embedFunction(s) {
  26. document.body.appendChild(document.createElement('script')).innerHTML = s.toString();
  27. }
  28.  
  29. var output = document.createElement('div');
  30. output.setAttribute('id', 'NoChaturbateTippingSounds');
  31. output.setAttribute('style', 'padding: 0px 8px 10px 8px');
  32. document.body.appendChild(output);
  33.  
  34. embedFunction(PlayBeep);
  35.  
  36. output.innerHTML = 'NoChaturbateTippingSounds user script is on';