Skip to content

Commit 1d33c1b

Browse files
committed
v2022.2.4
All platforms: * Player (volume ease up): The user can now interrupt the volume from increasing by manually adjusting it at the same time (issue #54) * Greasy Forks: Added readme.md and updatable script version that redirect users to the readme. di-only: * Upvoted tracks playback (Loop button): Fixed broken CSS on the loop button (issue #55)
1 parent e5f86ba commit 1d33c1b

5 files changed

+125
-3
lines changed

DIUserscript.meta.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// @grant GM_download
3232
// @inject-into page
3333
// @run-at document-start
34-
// @version 2021.4.43
34+
// @version 2022.2.4
3535
// ==/UserScript==

DIUserscript.user.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/greasyforks/DIUserscript.meta.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// ==UserScript==
2+
// @name (Greasy Forks) DIUserscript for AudioAddict platforms
3+
// @namespace LTKDIFMU
4+
// @author LethaK Maas
5+
// @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
7+
// @include https://*.di.fm*
8+
// @include https://di.fm
9+
// @include https://*.classicalradio.com*
10+
// @include https://classicalradio.com
11+
// @include https://*.radiotunes.com*
12+
// @include https://radiotunes.com
13+
// @include https://*.jazzradio.com*
14+
// @include https://jazzradio.com
15+
// @include https://*.rockradio.com*
16+
// @include https://rockradio.com
17+
// @include https://*.zenradio.com*
18+
// @include https://zenradio.com
19+
// @homepage https://github.com/lethak/LTKDIFMU-userscript
20+
// @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
21+
// @updateURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.meta.js
22+
// @icon https://i.imgur.com/vhn9FD6.png
23+
// @noframes
24+
// @grant GM_info
25+
// @grant GM_listValues
26+
// @grant GM_deleteValue
27+
// @grant GM_getValue
28+
// @grant GM_setValue
29+
// @grant GM_addValueChangeListener
30+
// @grant GM_removeValueChangeListener
31+
// @grant GM_download
32+
// @inject-into page
33+
// @run-at document-start
34+
// @version 2021.0.0
35+
// ==/UserScript==

doc/greasyforks/DIUserscript.user.js

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// ==UserScript==
2+
// @name (Greasy Forks) DIUserscript for AudioAddict platforms
3+
// @namespace LTKDIFMU
4+
// @author LethaK Maas
5+
// @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
7+
// @include https://*.di.fm*
8+
// @include https://di.fm
9+
// @include https://*.classicalradio.com*
10+
// @include https://classicalradio.com
11+
// @include https://*.radiotunes.com*
12+
// @include https://radiotunes.com
13+
// @include https://*.jazzradio.com*
14+
// @include https://jazzradio.com
15+
// @include https://*.rockradio.com*
16+
// @include https://rockradio.com
17+
// @include https://*.zenradio.com*
18+
// @include https://zenradio.com
19+
// @homepage https://github.com/lethak/LTKDIFMU-userscript
20+
// @downloadURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.user.js
21+
// @updateURL https://raw.githubusercontent.com/lethak/LTKDIFMU-userscript/live/DIUserscript.meta.js
22+
// @icon https://i.imgur.com/vhn9FD6.png
23+
// @noframes
24+
// @grant GM_info
25+
// @grant GM_listValues
26+
// @grant GM_deleteValue
27+
// @grant GM_getValue
28+
// @grant GM_setValue
29+
// @grant GM_addValueChangeListener
30+
// @grant GM_removeValueChangeListener
31+
// @grant GM_download
32+
// @inject-into page
33+
// @run-at document-start
34+
// @version 2021.0.0
35+
// ==/UserScript==
36+
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>';
38+
setInterval( function() {
39+
if (di && di.app && di.app.commands) {
40+
di.app.commands.execute('message:warn:persistent', gfMessage);
41+
}
42+
}, 1000)
43+
console.error(gfMessage, { readmeUrl: readmeUrl });

doc/greasyforks/README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Greasy Forks
2+
3+
:warning: Read this page if you clicked a red message notification from your webradio. This means your version is now deprecated and cannot be updated unless you follow these instructions
4+
5+
## TLDR; Re-install manually from github
6+
7+
8+
We will not update this script on the Greasy Forks platform anymore.
9+
10+
It is advised to go to your script manager settings/dashboard and remove our Userscript, then head hover ----> [there](https://github.com/lethak/LTKDIFMU-userscript/blob/live/README.md) <---- and follow the instructions to manually install it.
11+
You will only have to do this once as it is setup to auto-update via github urls directly. Something that Greasy Forks was also preventing us to do.
12+
13+
## Long version
14+
15+
16+
[Greasy Forks](https://greasyfork.org/) is an old website acting as a central repository for userscripts.
17+
18+
Publishing and updating [our script on this platform](https://greasyfork.org/en/scripts/397697-diuserscript-for-audioaddict-platforms) proved problematic as its rules prevent us to do so.
19+
* Max character limit reached
20+
* Minified code
21+
22+
You might notice those 2 rules are working against each others, but this site is using this archaic policy because the owners might not be aware of modern frameworks such as reactjs, vuejs, npm... and they think we will include all the dependencies as static "lib" userscript using the @require meta-function.
23+
24+
They think this is acceptable but really this is not when you have the complexity we have.
25+
26+
27+
> The latest working version of LTKDIFMU published on GF was [v2020.6.14](https://github.com/lethak/LTKDIFMU-userscript/tree/v2020.6.14) from 2 Jun 2020, an old and semi broken version by now.
28+
29+
Since our script, packaged, minified and trimmed to the limits of what is technically possible, has reached GF's max character limit, updates are not working anymore.
30+
Furthermore, a moderator over there removed it from public access because it was minified.
31+
32+
33+
34+
|Date|Moderator|Action|Reason|
35+
|---|---|---|---|
36+
|3/9/2021|wOxxOm|Delete|Minified code|
37+
38+
39+
In effect, they are preventing their userbase to reach more complex and qualitative scripts that require a lot of code and dependencies.
40+
41+
At the time of writing, the latest experimental packaged build of this script was *2.39 MB* in size, so, no compromize can be reached about minification either.
42+
43+
Therefore, we deployed a minimalist version on Greasyforks to notify users coming from this venue to read this page.
44+
The full, long loved and experimental features can still be enabled by re-installing the script manually from github and forgetting about Greasy Forks.

0 commit comments

Comments
 (0)