|
2 | 2 | // @name (Greasy Forks) DIUserscript for AudioAddict platforms
|
3 | 3 | // @namespace LTKDIFMU
|
4 | 4 | // @author LethaK Maas
|
5 |
| -// @license WTFPL |
| 5 | +// @license MIT |
6 | 6 | // @description Fanmade script, Removing audio & visual Ads, allowing ad-blockers, allowing to be away from keyboard (AFK) without audio interruption on websites & webradios using the platform from AudioAddict.com
|
7 | 7 | // @include https://*.di.fm*
|
8 | 8 | // @include https://di.fm
|
| 9 | +// @include https://www.di.fm |
9 | 10 | // @include https://*.classicalradio.com*
|
| 11 | +// @include https://www.classicalradio.com |
10 | 12 | // @include https://classicalradio.com
|
11 | 13 | // @include https://*.radiotunes.com*
|
12 | 14 | // @include https://radiotunes.com
|
| 15 | +// @include https://www.radiotunes.com |
13 | 16 | // @include https://*.jazzradio.com*
|
14 | 17 | // @include https://jazzradio.com
|
15 | 18 | // @include https://*.rockradio.com*
|
16 | 19 | // @include https://rockradio.com
|
| 20 | +// @include https://www.rockradio.com |
17 | 21 | // @include https://*.zenradio.com*
|
18 | 22 | // @include https://zenradio.com
|
| 23 | +// @include https://www.zenradio.com |
19 | 24 | // @homepage https://github.com/lethak/LTKDIFMU-userscript
|
20 | 25 | // @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
|
21 | 26 | // @updateURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.meta.js
|
22 |
| -// @icon https://i.imgur.com/vhn9FD6.png |
| 27 | +// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAAeCAYAAACWsbYLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAABXklEQVRYR2NkWPTiP8MwB0xQeliDUU8OFzDqyeECRoQn8VYh/2PFoSzC4PtvBoaPP/4z3Hz9n2H7zb8MnW/eQWUQAN08xsUvoSwEIEYNCBCrDgSoFpOcrAwMEryMDPZKTAwdnqwMB6xFoTIDD2iWXMGelRWG8gYWkORJUJLAhs2n/GTwX/gLmEz/QVVCgLva4MjyVHHFKf4PDJuY3jO07gNmTCSgKMQIZQ0soGpQH+X5AGVBADfbMPQkOmAZHKmVtp4cLGDUk8MF0NSTf1BrlAEDVPWky09BKAsCvv6CMgYYUMWTZh8FGIIYBBnqnFmgIhDw5CN1RlZA7VRkTCogyZPolsHwyRx2hrWxbAy2iqjGgRrqgwHQLE8euv+PofThWyhvYAFVPPkXWMCAuln334G6Wf8YCjb/ZrA/8hoqO/BgdEhyuIBRTw4XMLI8id5aGU4A7sk97O+hrOEGGBgA609uaaTaaKEAAAAASUVORK5CYII= |
23 | 28 | // @noframes
|
24 |
| -// @grant GM_info |
25 | 29 | // @grant GM_listValues
|
26 | 30 | // @grant GM_deleteValue
|
27 | 31 | // @grant GM_getValue
|
|
31 | 35 | // @grant GM_download
|
32 | 36 | // @inject-into page
|
33 | 37 | // @run-at document-start
|
34 |
| -// @version 2021.0.0 |
| 38 | +// @version 2025.0.0 |
35 | 39 | // ==/UserScript==
|
36 | 40 | var readmeUrl = 'https://github.com/lethak/LTKDIFMU-userscript/tree/live/doc/greasyforks/README.md';
|
37 |
| -var gfMessage = '<strong>DIUserscript</strong>: You installed LTKDIFMU-userscript using Greasy Forks which is an old site with limits preventing us to deploy our fully packaged modern script. <strong>Therefore, you need to re-install it from our github to enjoy the features. <a href="'+readmeUrl+'">CLICK HERE</a></strong>'; |
| 41 | +var gfMessage = '<strong>DIUserscript</strong>: You installed LTKDIFMU-userscript using Greasy Forks or an old site with limits preventing us to deploy our fully packaged modern script. <strong>Therefore, you need to re-install it from our github to enjoy the features. <a href="'+readmeUrl+'">CLICK HERE</a></strong>'; |
38 | 42 | setInterval( function() {
|
39 | 43 | if (di && di.app && di.app.commands) {
|
40 |
| - di.app.commands.execute('message:warn:persistent', gfMessage); |
| 44 | + di.app.commands.execute('message:warn', gfMessage); |
41 | 45 | }
|
42 |
| -}, 1000) |
| 46 | + jQuery('#modal-region, .modal-backdrop').remove(); |
| 47 | +}, 2000) |
43 | 48 | console.error(gfMessage, { readmeUrl: readmeUrl });
|
0 commit comments