diff --git a/src/banner.js b/src/banner.js new file mode 100644 index 000000000..394535c23 --- /dev/null +++ b/src/banner.js @@ -0,0 +1,21 @@ +/* <%= meta.name %> - Version <%= pkg.version %> - <%= grunt.template.today('yyyy-mm-dd') %> + * http://mayhemydg.github.com/4chan-x/ + * + * Copyright (c) 2009-2011 James Campos + * Copyright (c) <%= grunt.template.today('yyyy') %> Nicolas Stepien + * Licensed under the MIT license. + * <%= meta.repo %>blob/master/LICENSE + * + * Contributors: + * <%= meta.repo %>graphs/contributors + * Non-GitHub contributors: + * ferongr, xat-, Ongpot, thisisanon and Anonymous - favicon contributions + * e000 - cooldown sanity check + * Seiba - chrome quick reply focusing + * herpaderpderp - recaptcha fixes + * WakiMiko - recaptcha tab order http://userscripts.org/scripts/show/82657 + * + * All the people who've taken the time to write bug reports. + * + * Thank you. + */ diff --git a/src/latest.js b/src/latest.js new file mode 100644 index 000000000..7f4c0af91 --- /dev/null +++ b/src/latest.js @@ -0,0 +1 @@ +document.dispatchEvent(new CustomEvent("<%= pkg.name.replace(/-/g, '') %>Version",{detail:{v:"<%= pkg.version %>"}})) diff --git a/src/metadata.js b/src/metadata.js new file mode 100644 index 000000000..796b1dddc --- /dev/null +++ b/src/metadata.js @@ -0,0 +1,21 @@ +// ==UserScript== +// @name <%= meta.name %> +// @version <%= pkg.version %> +// @description Cross-browser userscript for maximum lurking on 4chan. +// @copyright 2009-2011 James Campos +// @copyright <%= grunt.template.today('yyyy') %> Nicolas Stepien +// @license MIT; http://en.wikipedia.org/wiki/Mit_license +// @match *://boards.4chan.org/* +// @match *://images.4chan.org/* +// @match *://sys.4chan.org/* +// @match *://api.4chan.org/* +// @match *://*.foolz.us/api/* +// @grant GM_getValue +// @grant GM_setValue +// @grant GM_deleteValue +// @grant GM_openInTab +// @run-at document-start +// @updateURL <%= meta.repo %>raw/stable/<%= meta.files.metajs %> +// @downloadURL <%= meta.repo %>raw/stable/<%= meta.files.userjs %> +// @icon <%= meta.repo %>raw/stable/img/icon.gif +// ==/UserScript==