-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserscript-soundcloud.user.js
More file actions
34 lines (32 loc) · 1.14 KB
/
userscript-soundcloud.user.js
File metadata and controls
34 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ==UserScript==
// @name Hide SoundCloud Visual Ads
// @namespace https://github.com/ZeyFoxOFF/userscript-soundcloud
// @version 1.0.6
// @description Hide visual ads for soundcloud
// @author ZeyFox
// @match *://soundcloud.com/*
// @icon https://i.ibb.co/QFQyyK3q/Icon.jpg
// @grant GM_addStyle
// @homepageURL https://github.com/ZeyFoxOFF/userscript-soundcloud
// @license MIT
// @downloadURL https://github.com/ZeyFoxOFF/userscript-soundcloud/raw/refs/heads/main/userscript-soundcloud.user.js
// @updateURL https://github.com/ZeyFoxOFF/userscript-soundcloud/raw/refs/heads/main/userscript-soundcloud.user.js
// ==/UserScript==
(function() {
'use strict';
const CSS = `
.creatorSubscriptionsButton,
.header__upsellWrapper,
.mobileApps,
.l-product-banners,
.m-promotion,
.webiEmbeddedModule:has([src*="embeds/credit-tracker"]),
.m-highlight,
.sidebarModule:has(.velvetCakeIframe),
a.sc-button[href*="checkout.soundcloud.com"],
.streamHTUpsell {
display: none !important;
}
`;
GM_addStyle(CSS);
})();