Discussions » Greasy Fork镜像 Feedback
Description is invalid
Post your script here (in the forum) and I can take a look.
// ==UserScript==
// @name Yandex Music disable D for dislike
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://music.yandex.ru/artist/12662/albums
// @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.ru
// @grant none
// ==/UserScript==
(function() {
'use strict';
window.addEventListener("keydown", function(e)
{ if (e.code == 'KeyD') {
e.stopPropagation();
}
}, true);
window.addEventListener("keypress", function(e)
{ if (e.code == 'KeyD') {
e.stopPropagation();
}
}, true);
window.addEventListener("keyup", function(e)
{ if (e.code == 'KeyD') {
e.stopPropagation();
}
}, true);
})();
I mean, it's not difficult. Put an actual @description
in instead of leaving the it the same as wherever you copied that from.
If it wasn't difficult, I wouldn't be asking the question) Thanks, it worked!
And I copied it from Tampermonkey.
Hi! I'm trying to publish a script and keep getting "Description is invalid" message. The description is just one line of text. I checked markdown. But I also tried to put p tag with html.