diff --git a/builds/4chan-X.js b/builds/4chan-X.js index f6795dd69..d1a34e056 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -1,12 +1,12 @@ // ==UserScript== -// @name 4chan x +// @name 4chan X // @version 1.1.0 -// @namespace 4chan-x -// @description The most comprehensive 4chan userscript -// @copyright 2013-2013 Zixaphir -// @copyright 2013-2013 Jordan Bates -// @copyright 2009-2011 James Campos -// @copyright 2012-2013 Nicolas Stepien +// @namespace 4chan-X +// @description Cross-browser userscript for maximum lurking on 4chan. +// @copyright 2013-2013 Zixaphir +// @copyright 2013-2013 Jordan Bates +// @copyright 2009-2011 James Campos +// @copyright 2012-2013 Nicolas Stepien // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @match *://api.4chan.org/* // @match *://boards.4chan.org/* @@ -17,12 +17,12 @@ // @grant GM_deleteValue // @grant GM_openInTab // @run-at document-start -// @updateURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_x.meta.js -// @downloadURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_x.user.js +// @updateURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_X.meta.js +// @downloadURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_X.user.js // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan x - Version 1.1.0 - 2013-04-24 +* 4chan X - Version 1.1.0 - 2013-04-24 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -124,7 +124,7 @@ 'Thread Expansion': [true, 'Add buttons to expand threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], - 'Check for Updates': [true, 'Check for updated versions of 4chan x.'] + 'Check for Updates': [true, 'Check for updated versions of 4chan X.'] }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], @@ -290,7 +290,7 @@ g = { VERSION: '1.1.0', - NAMESPACE: '4chan x.', + NAMESPACE: '4chan X.', boards: {}, threads: {}, posts: {} @@ -8754,7 +8754,7 @@ curr = g.VERSION.match(/\d+/g).map(Number); changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md'; el = $.el('span', { - innerHTML: "4chan x has been updated to version " + g.VERSION + "." + innerHTML: "4chan X has been updated to version " + g.VERSION + "." }); new Notification('info', el, 30); } else { @@ -8789,7 +8789,7 @@ return; } $.event('CloseMenu'); - html = "\n
\n
"; + html = "\n
\n
"; Settings.overlay = overlay = $.el('div', { id: 'overlay' }); @@ -8974,7 +8974,7 @@ a = $.el('a', { className: 'warning', textContent: 'Save me!', - download: "4chan x v" + g.VERSION + "-" + now + ".json", + download: "4chan X v" + g.VERSION + "-" + now + ".json", href: "data:application/json;base64," + (btoa(unescape(encodeURIComponent(JSON.stringify(data, null, 2))))), target: '_blank' }); @@ -9613,7 +9613,7 @@ } $.set('lastchecked', now); el = $.el('span', { - innerHTML: "Update: 4chan x v" + version + " is out, get it here." + innerHTML: "Update: 4chan X v" + version + " is out, get it here." }); return new Notification('info', el, 120); } @@ -9678,7 +9678,7 @@ return $.ajax('http://seaweedchan.github.io/4chan-x/errors', {}, { sync: true, form: $.formData({ - n: "4chan x v" + g.VERSION, + n: "4chan X v" + g.VERSION, t: 'userjs', ua: window.navigator.userAgent, url: window.location.href, diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index fd5cbc987..31c23a621 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,12 +1,12 @@ // ==UserScript== -// @name 4chan x +// @name 4chan X // @version 1.1.0 -// @namespace 4chan-x -// @description The most comprehensive 4chan userscript -// @copyright 2013-2013 Zixaphir -// @copyright 2013-2013 Jordan Bates -// @copyright 2009-2011 James Campos -// @copyright 2012-2013 Nicolas Stepien +// @namespace 4chan-X +// @description Cross-browser userscript for maximum lurking on 4chan. +// @copyright 2013-2013 Zixaphir +// @copyright 2013-2013 Jordan Bates +// @copyright 2009-2011 James Campos +// @copyright 2012-2013 Nicolas Stepien // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @match *://api.4chan.org/* // @match *://boards.4chan.org/* @@ -17,12 +17,12 @@ // @grant GM_deleteValue // @grant GM_openInTab // @run-at document-start -// @updateURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_x.meta.js -// @downloadURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_x.user.js +// @updateURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_X.meta.js +// @downloadURL https://github.com/seaweedchan/4chan-x/raw/stable/builds/4chan_X.user.js // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC // ==/UserScript== /* -* 4chan x - Version 1.1.0 - 2013-04-24 +* 4chan X - Version 1.1.0 - 2013-04-24 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -124,7 +124,7 @@ 'Thread Expansion': [true, 'Add buttons to expand threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], - 'Check for Updates': [true, 'Check for updated versions of 4chan x.'] + 'Check for Updates': [true, 'Check for updated versions of 4chan X.'] }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], @@ -287,7 +287,7 @@ g = { VERSION: '1.1.0', - NAMESPACE: '4chan x.', + NAMESPACE: '4chan X.', boards: {}, threads: {}, posts: {} @@ -8770,7 +8770,7 @@ curr = g.VERSION.match(/\d+/g).map(Number); changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md'; el = $.el('span', { - innerHTML: "4chan x has been updated to version " + g.VERSION + "." + innerHTML: "4chan X has been updated to version " + g.VERSION + "." }); new Notification('info', el, 30); } else { @@ -8805,7 +8805,7 @@ return; } $.event('CloseMenu'); - html = "\n
\n
"; + html = "\n
\n
"; Settings.overlay = overlay = $.el('div', { id: 'overlay' }); @@ -8990,7 +8990,7 @@ a = $.el('a', { className: 'warning', textContent: 'Save me!', - download: "4chan x v" + g.VERSION + "-" + now + ".json", + download: "4chan X v" + g.VERSION + "-" + now + ".json", href: "data:application/json;base64," + (btoa(unescape(encodeURIComponent(JSON.stringify(data, null, 2))))), target: '_blank' }); @@ -9631,7 +9631,7 @@ } $.set('lastchecked', now); el = $.el('span', { - innerHTML: "Update: 4chan x v" + version + " is out, get it here." + innerHTML: "Update: 4chan X v" + version + " is out, get it here." }); return new Notification('info', el, 120); } @@ -9696,7 +9696,7 @@ return $.ajax('http://seaweedchan.github.io/4chan-x/errors', {}, { sync: true, form: $.formData({ - n: "4chan x v" + g.VERSION, + n: "4chan X v" + g.VERSION, t: 'userscript', ua: window.navigator.userAgent, url: window.location.href, diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json index a36550f57..dcc6950e3 100644 --- a/builds/crx/manifest.json +++ b/builds/crx/manifest.json @@ -1,8 +1,8 @@ { - "name": "4chan x", + "name": "4chan X", "version": "1.1.0", "manifest_version": 2, - "description": "The most comprehensive 4chan userscript", + "description": "Cross-browser userscript for maximum lurking on 4chan.", "icons": { "16": "icon16.png", "48": "icon48.png", diff --git a/builds/crx/script.js b/builds/crx/script.js index be5ceb00b..8b7e9d225 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -21,7 +21,7 @@ 'Thread Expansion': [true, 'Add buttons to expand threads.'], 'Index Navigation': [false, 'Add buttons to navigate between threads.'], 'Reply Navigation': [false, 'Add buttons to navigate to top / bottom of thread.'], - 'Check for Updates': [true, 'Check for updated versions of 4chan x.'] + 'Check for Updates': [true, 'Check for updated versions of 4chan X.'] }, 'Linkification': { 'Linkify': [true, 'Convert text into links where applicable.'], @@ -184,7 +184,7 @@ g = { VERSION: '1.1.0', - NAMESPACE: '4chan x.', + NAMESPACE: '4chan X.', boards: {}, threads: {}, posts: {} @@ -8615,7 +8615,7 @@ curr = g.VERSION.match(/\d+/g).map(Number); changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md'; el = $.el('span', { - innerHTML: "4chan x has been updated to version " + g.VERSION + "." + innerHTML: "4chan X has been updated to version " + g.VERSION + "." }); new Notification('info', el, 30); } else { @@ -8650,7 +8650,7 @@ return; } $.event('CloseMenu'); - html = "\n
\n
"; + html = "\n
\n
"; Settings.overlay = overlay = $.el('div', { id: 'overlay' }); @@ -8835,7 +8835,7 @@ a = $.el('a', { className: 'warning', textContent: 'Save me!', - download: "4chan x v" + g.VERSION + "-" + now + ".json", + download: "4chan X v" + g.VERSION + "-" + now + ".json", href: "data:application/json;base64," + (btoa(unescape(encodeURIComponent(JSON.stringify(data, null, 2))))), target: '_blank' }); @@ -9474,7 +9474,7 @@ } $.set('lastchecked', now); el = $.el('span', { - innerHTML: "Update: 4chan x v" + version + " is out, get it here." + innerHTML: "Update: 4chan X v" + version + " is out, get it here." }); return new Notification('info', el, 120); } @@ -9539,7 +9539,7 @@ return $.ajax('http://seaweedchan.github.io/4chan-x/errors', {}, { sync: true, form: $.formData({ - n: "4chan x v" + g.VERSION, + n: "4chan X v" + g.VERSION, t: 'crx', ua: window.navigator.userAgent, url: window.location.href, diff --git a/package.json b/package.json index 4f406c3af..70bc72387 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "4chan-x", + "name": "4chan-X", "version": "1.1.0", - "description": "The most comprehensive 4chan userscript", + "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { - "name": "4chan x", + "name": "4chan X", "repo": "https://github.com/seaweedchan/4chan-x/", "page": "http://seaweedchan.github.io/4chan-x/", "mainBranch": "master", @@ -14,8 +14,8 @@ "*://sys.4chan.org/*" ], "files": { - "metajs": "4chan_x.meta.js", - "userjs": "4chan_x.user.js" + "metajs": "4chan_X.meta.js", + "userjs": "4chan_X.user.js" } }, "devDependencies": { diff --git a/src/meta/metadata.js b/src/meta/metadata.js index 0a2e91040..2b8122848 100644 --- a/src/meta/metadata.js +++ b/src/meta/metadata.js @@ -3,10 +3,10 @@ // @version <%= version %> // @namespace <%= name %> // @description <%= description %> -// @copyright 2013-<%= grunt.template.today('yyyy') %> Zixaphir -// @copyright 2013-<%= grunt.template.today('yyyy') %> Jordan Bates -// @copyright 2009-2011 James Campos -// @copyright 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien +// @copyright 2013-<%= grunt.template.today('yyyy') %> Zixaphir +// @copyright 2013-<%= grunt.template.today('yyyy') %> Jordan Bates +// @copyright 2009-2011 James Campos +// @copyright 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien // @license MIT; http://en.wikipedia.org/wiki/Mit_license <%= meta.matches.map(function(match) { @@ -18,7 +18,7 @@ // @grant GM_deleteValue // @grant GM_openInTab // @run-at document-start -// @updateURL <%= meta.repo %>raw/stable/builds/<%= meta.files.metajs %> -// @downloadURL <%= meta.repo %>raw/stable/builds/<%= meta.files.userjs %> +// @updateURL <%= meta.repo %>raw/stable/builds/<%= meta.files.metajs %> +// @downloadURL <%= meta.repo %>raw/stable/builds/<%= meta.files.userjs %> // @icon data:image/png;base64,<%= grunt.file.read('src/img/icon48.png', {encoding: 'base64'}) %> // ==/UserScript== \ No newline at end of file