(Greasy Forks) DIUserscript for AudioAddict platforms

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

当前为 2022-02-09 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name (Greasy Forks) DIUserscript for AudioAddict platforms
// @namespace LTKDIFMU
// @author LethaK Maas
// @license WTFPL
// @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
// @include https://*.di.fm*
// @include https://di.fm
// @include https://*.classicalradio.com*
// @include https://classicalradio.com
// @include https://*.radiotunes.com*
// @include https://radiotunes.com
// @include https://*.jazzradio.com*
// @include https://jazzradio.com
// @include https://*.rockradio.com*
// @include https://rockradio.com
// @include https://*.zenradio.com*
// @include https://zenradio.com
// @homepage https://github.com/lethak/LTKDIFMU-userscript
// @icon https://i.imgur.com/vhn9FD6.png
// @noframes
// @grant GM_info
// @grant GM_listValues
// @grant GM_deleteValue
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_addValueChangeListener
// @grant GM_removeValueChangeListener
// @grant GM_download
// @inject-into page
// @run-at document-start
// @version 2021.0.0
// ==/UserScript==
var readmeUrl = 'https://github.com/lethak/LTKDIFMU-userscript/tree/live/doc/greasyforks/README.md';
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>';
setInterval( function() {
  if (di && di.app && di.app.commands) {
    di.app.commands.execute('message:warn:persistent', gfMessage);
  }
}, 1000)
console.error(gfMessage, { readmeUrl: readmeUrl });