Skip to content

Commit 6490870

Browse files
committed
v2025.3.146
* Unlocked lock state for Free Listeners, using a new way of doing things under the hood, almost eliminating the need to reload the page sometimes when it was not working. (issue #75 & #66) * Added custom "Your Likes" playlist page in the userscript UI. Useful for non-DI websites not featuring this page natively (issue #28) * Improved compatibility with old userscript repositories. (issue #56)
1 parent dc48520 commit 6490870

File tree

5 files changed

+34
-24
lines changed

5 files changed

+34
-24
lines changed

DIUserscript.meta.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
// @namespace LTKDIFMU
44
// @author LethaK Maas
55
// @license WTFPL
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
6+
// @description Removing Ads, allowing ad-blockers, unlocking channels and hidden features, allowing to be away from keyboard (AFK) without audio interruption on websites & webradios using the platform from AudioAddict.com . Fanmade.
77
// @include https://*.di.fm*
88
// @include https://di.fm
9+
// @include https://www.di.fm
910
// @include https://*.classicalradio.com*
1011
// @include https://classicalradio.com
1112
// @include https://*.radiotunes.com*
@@ -19,9 +20,8 @@
1920
// @homepage https://github.com/lethak/LTKDIFMU-userscript
2021
// @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
2122
// @updateURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.meta.js
22-
// @icon https://i.imgur.com/vhn9FD6.png
23+
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAAeCAYAAACWsbYLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAABXklEQVRYR2NkWPTiP8MwB0xQeliDUU8OFzDqyeECRoQn8VYh/2PFoSzC4PtvBoaPP/4z3Hz9n2H7zb8MnW/eQWUQAN08xsUvoSwEIEYNCBCrDgSoFpOcrAwMEryMDPZKTAwdnqwMB6xFoTIDD2iWXMGelRWG8gYWkORJUJLAhs2n/GTwX/gLmEz/QVVCgLva4MjyVHHFKf4PDJuY3jO07gNmTCSgKMQIZQ0soGpQH+X5AGVBADfbMPQkOmAZHKmVtp4cLGDUk8MF0NSTf1BrlAEDVPWky09BKAsCvv6CMgYYUMWTZh8FGIIYBBnqnFmgIhDw5CN1RlZA7VRkTCogyZPolsHwyRx2hrWxbAy2iqjGgRrqgwHQLE8euv+PofThWyhvYAFVPPkXWMCAuln334G6Wf8YCjb/ZrA/8hoqO/BgdEhyuIBRTw4XMLI8id5aGU4A7sk97O+hrOEGGBgA609uaaTaaKEAAAAASUVORK5CYII=
2324
// @noframes
24-
// @grant GM_info
2525
// @grant GM_listValues
2626
// @grant GM_deleteValue
2727
// @grant GM_getValue
@@ -31,5 +31,5 @@
3131
// @grant GM_download
3232
// @inject-into page
3333
// @run-at document-start
34-
// @version 2024.12.159
34+
// @version 2025.3.146
3535
// ==/UserScript==

DIUserscript.user.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DIUserscript
22

3-
This userscript is trying to minimize and block audio and visual advertisement on all the websites and radios powered by the AudioAddict platform,
3+
This userscript is trying to minimize and block audio and visual advertisement on all the websites and radios powered by the AudioAddict platform,
44
while improving user experience and comfort of use of many features.
55

66
## Features
@@ -15,6 +15,7 @@ while improving user experience and comfort of use of many features.
1515
* Disabling as many unsolicited, under the hood tracking as possible. (ex: Facebook, Triton, Bing, Adwords)
1616

1717
### Audio Player
18+
* Unlock cosmetic lock state for Free Listeners
1819
* Confusing the anti-AFK system, so you can let the music run for hours without any human interaction.
1920
* Slowly ease up the volume when playing for the first time in the session.
2021
* Numeric volume input control for precise tuning.
@@ -54,7 +55,7 @@ DIUserscript is totally or partially functional on 5 known websites so far, cons
5455
* https://radiotunes.com
5556
* https://jazzradio.com
5657
* https://rockradio.com
57-
* https://www.zenradio.com (new)
58+
* https://www.zenradio.com
5859

5960
As a fan of Digital, Classical, Zen, Jazz and Rock music, I can listen to those web radio without interruption
6061

@@ -71,7 +72,7 @@ Load the [userscript](https://github.com/lethak/LTKDIFMU-userscript/raw/live/DIU
7172
* [Tampermonkey for Chrome](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo)
7273
* [Tampermonkey for Firefox](https://addons.mozilla.org/fr/firefox/addon/tampermonkey/).
7374

74-
For using greasemonkey over tampermonkey, please read the [troubleshooting](./doc/troubleshooting.md) section.
75+
For using greasemonkey over tampermonkey, please read the [troubleshooting](./doc/troubleshooting.md) section.
7576

7677
Direct link to the userscript: https://github.com/lethak/LTKDIFMU-userscript/raw/live/DIUserscript.user.js
7778

doc/greasyforks/DIUserscript.meta.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@
22
// @name (Greasy Forks) DIUserscript for AudioAddict platforms
33
// @namespace LTKDIFMU
44
// @author LethaK Maas
5-
// @license WTFPL
5+
// @license MIT
66
// @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
77
// @include https://*.di.fm*
88
// @include https://di.fm
9+
// @include https://www.di.fm
910
// @include https://*.classicalradio.com*
11+
// @include https://www.classicalradio.com
1012
// @include https://classicalradio.com
1113
// @include https://*.radiotunes.com*
1214
// @include https://radiotunes.com
15+
// @include https://www.radiotunes.com
1316
// @include https://*.jazzradio.com*
1417
// @include https://jazzradio.com
1518
// @include https://*.rockradio.com*
1619
// @include https://rockradio.com
20+
// @include https://www.rockradio.com
1721
// @include https://*.zenradio.com*
1822
// @include https://zenradio.com
23+
// @include https://www.zenradio.com
1924
// @homepage https://github.com/lethak/LTKDIFMU-userscript
2025
// @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
2126
// @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=
2328
// @noframes
24-
// @grant GM_info
2529
// @grant GM_listValues
2630
// @grant GM_deleteValue
2731
// @grant GM_getValue
@@ -31,5 +35,5 @@
3135
// @grant GM_download
3236
// @inject-into page
3337
// @run-at document-start
34-
// @version 2021.0.0
38+
// @version 2025.0.0
3539
// ==/UserScript==

doc/greasyforks/DIUserscript.user.js

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@
22
// @name (Greasy Forks) DIUserscript for AudioAddict platforms
33
// @namespace LTKDIFMU
44
// @author LethaK Maas
5-
// @license WTFPL
5+
// @license MIT
66
// @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
77
// @include https://*.di.fm*
88
// @include https://di.fm
9+
// @include https://www.di.fm
910
// @include https://*.classicalradio.com*
11+
// @include https://www.classicalradio.com
1012
// @include https://classicalradio.com
1113
// @include https://*.radiotunes.com*
1214
// @include https://radiotunes.com
15+
// @include https://www.radiotunes.com
1316
// @include https://*.jazzradio.com*
1417
// @include https://jazzradio.com
1518
// @include https://*.rockradio.com*
1619
// @include https://rockradio.com
20+
// @include https://www.rockradio.com
1721
// @include https://*.zenradio.com*
1822
// @include https://zenradio.com
23+
// @include https://www.zenradio.com
1924
// @homepage https://github.com/lethak/LTKDIFMU-userscript
2025
// @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
2126
// @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=
2328
// @noframes
24-
// @grant GM_info
2529
// @grant GM_listValues
2630
// @grant GM_deleteValue
2731
// @grant GM_getValue
@@ -31,13 +35,14 @@
3135
// @grant GM_download
3236
// @inject-into page
3337
// @run-at document-start
34-
// @version 2021.0.0
38+
// @version 2025.0.0
3539
// ==/UserScript==
3640
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>';
3842
setInterval( function() {
3943
if (di && di.app && di.app.commands) {
40-
di.app.commands.execute('message:warn:persistent', gfMessage);
44+
di.app.commands.execute('message:warn', gfMessage);
4145
}
42-
}, 1000)
46+
jQuery('#modal-region, .modal-backdrop').remove();
47+
}, 2000)
4348
console.error(gfMessage, { readmeUrl: readmeUrl });

0 commit comments

Comments
 (0)