默认在SoundCloud上隐藏评论


Answers:


5

更新了1-26-15

这是一个tampermonkey / greasemonkey脚本,该脚本禁用Soundcloud新旧视图中的注释:

// ==UserScript==
// @name           SoundCloud - Hide comments
// @description    Hides comments on tracks
// @include        http*://soundcloud.com/*
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==

$("<style type='text/css'>"+ 
  ".waveformComments{ display:none !important;}" + 
  ".commentBubble__wrapper{ display:none !important;}" + 
  ".commentPopover{ display:none !important;}" + 
  ".waveform__layer.waveform__scene canvas:nth-child(2){ opacity:0 !important;}" +
  "</style>").appendTo("head");


1

phwd的答案/脚本也可以很好地工作,但是您可以通过以下方式简化它:

$('.player').addClass('no-comments');

我在Chrome和Firefox(使用控制台)中进行了测试。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.