I’m saving a copy of UI Scripts in my source control, and it will be really amazing if I can save it directly with .js extension, but because the header, js: and css: tags the Javascript editors/linters/etc goes crazy.
I want to suggest you support (not mandatory) at least something like that:
/* header:
name: Remove feedback link
description: Removes the feedback link from the user menu
author: Gurock Software
version: 1.0
includes:
excludes:
*/
/* js: */
$(document).ready(
function() {
$('#userMenu ul li:eq(1)').remove();
}
);
/* css:
div.some-class {
color: red;
}
*/