4chan-x/src/General/meta/metadata.js
2014-04-03 15:59:40 -07:00

25 lines
887 B
JavaScript
Executable File

// ==UserScript==
// @name <%= meta.name %>
// @version <%= version %>
// @minGMVer <%= meta.min.greasemonkey %>
// @minFFVer <%= meta.min.firefox %>
// @namespace <%= name %>
// @description <%= description %>
// @license MIT; <%= meta.repo %>blob/<%= meta.mainBranch %>/LICENSE
<%=
meta.matches.map(function(match) {
return '// @match ' + match;
}).join('\n')
%>
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
// @grant GM_listValues
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
// @updateURL <%= meta.downloads %><%= meta.files.metajs %>
// @downloadURL <%= meta.downloads %><%= meta.files.userjs %>
// @icon data:image/png;base64,<%= grunt.file.read('src/General/img/icon48.png', {encoding: 'base64'}) %>
// ==/UserScript==