Change all meta files
This commit is contained in:
parent
8b20594fe6
commit
51f09aa048
132
CHANGELOG.md
132
CHANGELOG.md
@ -1,132 +0,0 @@
|
||||
## 3.2.0 - *2013-04-23*
|
||||
|
||||
- The top and bottom original board lists are now optional, disabled by default.
|
||||
- The button to show a hidden announcement is now inside the header's menu.
|
||||
- Reorganized Header menu:<br>
|
||||
- Added the `board-replace` setting to Custom Board Navigation ricing.
|
||||
- Added the option `Cooldown Prediction`, enabled by default.
|
||||
- Added the option `Hide Unread Count at (0)`, disabled by default.
|
||||
|
||||
### 3.1.4 - *2013-04-17*
|
||||
|
||||
- Fix QR remembering the file spoiler state when it shouldn't, for real this time.
|
||||
- Fix inputs in the `Rice` tab being empty when `Custom Board Navigation` is disabled.
|
||||
|
||||
### 3.1.3 - *2013-04-16*
|
||||
|
||||
- Fix Chrome freezing when switching from the `Filter` tab to another tab in the settings.
|
||||
|
||||
### 3.1.2 - *2013-04-16*
|
||||
|
||||
- Fix error with successful posting.
|
||||
|
||||
### 3.1.1 - *2013-04-16*
|
||||
|
||||
- Styling adjustments for the announcement toggler.
|
||||
|
||||
## 3.1.0 - *2013-04-16*
|
||||
|
||||
- **New feature**: `Announcement Hiding`, enabled by default.
|
||||
- Fix support for www.4chan.org/frames on Chrome.
|
||||
- Fix quote features not working on dead quotelinks in inlined posts.
|
||||
- Fix resurrecting dead quotelinks on HTTP.
|
||||
|
||||
### 3.0.6 - *2013-04-14*
|
||||
|
||||
- Fix regression concerning thread selection when quoting on the index.
|
||||
|
||||
### 3.0.5 - *2013-04-14*
|
||||
|
||||
- `Scroll to Last Read Post` is now optional, enabled by default.
|
||||
- The QR won't auto-hide when auto-hide is enabled and one of its input is focused. Doesn't work on Firefox.
|
||||
- Added the `Remember QR Size` setting back in, disabled by default. Only on Firefox.
|
||||
- Fix QR remembering the file spoiler state when it shouldn't.
|
||||
- Fix QR cooldown in Opera.
|
||||
|
||||
### 3.0.4 - *2013-04-11*
|
||||
|
||||
- More minor fixes.
|
||||
|
||||
### 3.0.3 - *2013-04-10*
|
||||
|
||||
- Minor fixes.
|
||||
|
||||
### 3.0.2 - *2013-04-09*
|
||||
|
||||
- Added a setting in the Header's menu to move it at the bottom of the screen.
|
||||
- Added the `Cooldown` setting back in.
|
||||
- Fixed the Header going above posts when following quotelinks for example.
|
||||
- Fixed a bug where dead quotelinks would disappear.
|
||||
|
||||
### 3.0.1 - *2013-04-08*
|
||||
|
||||
- Added the possibility to combine board-list toggle and custom text.
|
||||
- Added Reply Navigation back in, disabled by default.
|
||||
- Fixed Thread Hiding initialization error.
|
||||
|
||||
# 3.0.0 - *2013-04-07*
|
||||
|
||||
**Major rewrite of 4chan X.**
|
||||
|
||||
Header:
|
||||
- Easily access features and the boards list directly from the Header.
|
||||
- The board list can be customized.
|
||||
- The Header can be automatically hidden.
|
||||
|
||||
Extension-related changes for Chrome and Opera:
|
||||
- Installing and updating is now pain-free on Chrome.
|
||||
- Settings will persist on different subdomains and protocols (HTTP/HTTPS).
|
||||
- Settings will persist in Incognito on Chrome.
|
||||
- Clearing your cookies won't erase your settings anymore.
|
||||
- Fixed Chrome's install warning saying that 4chan X would run on all web sites.
|
||||
|
||||
Egocentrism:
|
||||
- `(You)` will be added to quotes linking to your posts.
|
||||
- The Unread tab icon will indicate new unread posts quoting you with an exclamation mark.
|
||||
|
||||
Quick Reply changes:
|
||||
- Opening text files will insert their content in the comment field.
|
||||
- Pasting files/images (e.g. from another website) in Chrome will open them in the QR.
|
||||
- Cooldown start time is now more accurate, which means shorter cooldown period and faster auto-posting.
|
||||
- Cooldown remaining time will adjust to your upload speed and file size for faster auto-posting.
|
||||
- Clicking the submit button while uploading will abort the upload and won't start re-uploading automatically anymore.
|
||||
- Closing the QR while uploading will abort the upload and won't close the QR anymore.
|
||||
- Creating threads outside of the index is now possible.
|
||||
- Selection-to-quote also applies to selected text inside the post, not just inside the comment.
|
||||
- Added support for thread creation in the catalog.
|
||||
- Added thumbnailing support for Opera.
|
||||
|
||||
Image Expansion changes:
|
||||
- The toggle and settings are now located in the Header's shortcuts and menu.
|
||||
- Expanding spoilers along with all non-spoiler images is now optional, and disabled by default.
|
||||
- Expanding OP images won't squish replies anymore.
|
||||
|
||||
Thread Updater changes:
|
||||
- The Thread Updater will now notify of sticky/closed status change and update the icons.
|
||||
- The Thread Updater will pause when offline, and resume when online.
|
||||
- Added a setting to always auto-scroll to the bottom instead of the first new post.
|
||||
|
||||
Unread posts changes:
|
||||
- Added a line to distinguish read posts from unread ones.
|
||||
- Read posts won't be marked as unread after reloading a thread.
|
||||
- The page will scroll to the last read post after reloading a thread.
|
||||
- Visible posts will not be taken into account towards the unread count.
|
||||
|
||||
Thread Stats changes:
|
||||
- Post and file count will now adjust with deleted posts.
|
||||
- The post count will now become red past the bump limit.
|
||||
- The file count will not become red anymore inside sticky threads.
|
||||
|
||||
Thread/Post Hiding changes:
|
||||
- Added Thread & Post Hiding in the Menu, with individual settings.
|
||||
- Thread & Post Hiding Buttons can now be disabled in the settings.
|
||||
- Recursive Hiding will be automatically applied when manually showing/hiding a post.
|
||||
|
||||
Other:
|
||||
- Added touch and multi-touch support for dragging windows.
|
||||
- Added [eqn] and [math] tags keybind.
|
||||
- Fix Chrome's install warning saying that 4chan X would execute on all domains.
|
||||
- Fix Quote Backlinks and Quote Highlighting not affecting inlined quotes.
|
||||
- Fix unreadable inlined posts with the Tomorrow theme.
|
||||
- Fix user ID highlighting on fetched posts.
|
||||
- More fixes and improvements.
|
||||
@ -1,50 +0,0 @@
|
||||
## Reporting bugs and suggestions
|
||||
|
||||
Reporting bugs:
|
||||
|
||||
1. Make sure both your **browser** and **4chan X** are up to date.
|
||||
2. Disable your other extensions & scripts to identify conflicts.
|
||||
3. If your issue persists, open a [new issue](https://github.com/MayhemYDG/4chan-x/issues) with the following information:
|
||||
1. Precise steps to reproduce the problem, with the expected and actual results.
|
||||
2. Console errors, if any.
|
||||
3. Browser version.
|
||||
4. Your exported settings.
|
||||
|
||||
Open your console with:
|
||||
- `Ctrl + Shift + J` on Chrome.
|
||||
- `Ctrl + Shift + K` on Firefox.
|
||||
- `Ctrl + Shift + O` on Opera.
|
||||
|
||||
Respect these guidelines:
|
||||
- Describe the issue clearly, put some effort into it. A one-liner isn't a good enough description.
|
||||
- If you want to get your suggestion implemented sooner, make it convincing.
|
||||
- If you want to criticize, make it convincing and constructive.
|
||||
- Be mature. Act like an idiot and you will be blocked without warning.
|
||||
|
||||
## Development & Contribution
|
||||
|
||||
### Get started
|
||||
|
||||
- Install [node.js](http://nodejs.org/).
|
||||
- Install [Grunt's CLI](http://gruntjs.com/) with `npm install -g grunt-cli`.
|
||||
- Clone 4chan X.
|
||||
- `cd` into it.
|
||||
- Install/Update 4chan X dependencies with `npm install`.
|
||||
|
||||
### Build
|
||||
|
||||
- Build with `grunt`.
|
||||
- Continuously build with `grunt watch`.
|
||||
|
||||
### Release
|
||||
|
||||
- Update the version with `grunt patch`, `grunt minor` or `grunt major`.
|
||||
- Release with `grunt release`.
|
||||
|
||||
Note: this is only used to release new 4chan X versions, and is **not** needed or wanted in pull requests.
|
||||
|
||||
### Contribute
|
||||
|
||||
- Edit the CoffeeScript sources.
|
||||
- If the edits affect regular users, edit the changelog.
|
||||
- Open a pull request.
|
||||
106
LICENSE
106
LICENSE
@ -1,22 +1,88 @@
|
||||
Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
Copyright (c) 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
/*
|
||||
* 4chan x - Version 1.0.10 - 2013-04-23
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/4chanX/LICENSE
|
||||
*
|
||||
* Appchan X Copyright © 2013-2013 Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
* http://zixaphir.github.io/appchan-x/
|
||||
* 4chan x Copyright © 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* https://github.com/aeosynth/4chan-x
|
||||
* 4chan x Copyright © 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* https://4chan-x.just-believe.in/
|
||||
* 4chan x Copyright © 2013-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/4chan-x/
|
||||
* 4chan x Copyright © 2012-2013 ihavenoface
|
||||
* http://ihavenoface.github.io/4chan-x/
|
||||
* OneeChan Copyright © 2011-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/oneechan/
|
||||
* 4chan SS Copyright © 2011-2013 Ahodesuka
|
||||
* https://github.com/ahodesuka/4chan-Style-Script/
|
||||
* Raphael Icons Copyright © 2013 Dmitry Baranovskiy
|
||||
* http://raphaeljs.com/icons/
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Contributors:
|
||||
* aeosynth
|
||||
* mayhemydg
|
||||
* noface
|
||||
* !K.WeEabo0o
|
||||
* blaise
|
||||
* that4chanwolf
|
||||
* desuwa
|
||||
* seaweed
|
||||
* e000
|
||||
* ahodesuka
|
||||
* Shou
|
||||
* ferongr
|
||||
* xat
|
||||
* Ongpot
|
||||
* thisisanon
|
||||
* Anonymous
|
||||
* Seiba
|
||||
* herpaderpderp
|
||||
* WakiMiko
|
||||
* btmcsweeney
|
||||
* AppleBloom
|
||||
*
|
||||
* All the people who've taken the time to write bug reports.
|
||||
*
|
||||
* Thank you.
|
||||
*/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
/*
|
||||
* Linkify based on:
|
||||
* http://downloads.mozdev.org/greasemonkey/linkify.user.js
|
||||
* https://github.com/MayhemYDG/LinkifyPlusFork
|
||||
*
|
||||
* Originally written by Anthony Lieuallen of http://arantius.com/
|
||||
* Licensed for unlimited modification and redistribution as long as
|
||||
* this notice is kept intact.
|
||||
*/
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
/*
|
||||
* JSColor, JavaScript Color Picker
|
||||
*
|
||||
* @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
|
||||
* @author Jan Odvarko, http://odvarko.cz
|
||||
* @link http://JSColor.com
|
||||
*/
|
||||
@ -1,10 +1,12 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 3.2.0
|
||||
// @namespace 4chan-X
|
||||
// @description Cross-browser extension for productive lurking on 4chan.
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @name 4chan x
|
||||
// @version 1.1.0
|
||||
// @namespace 4chan-x
|
||||
// @description The most comprehensive 4chan userscript
|
||||
// @copyright 2013-2013 Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
// @copyright 2013-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||
// @match *://api.4chan.org/*
|
||||
// @match *://boards.4chan.org/*
|
||||
@ -15,33 +17,90 @@
|
||||
// @grant GM_deleteValue
|
||||
// @grant GM_openInTab
|
||||
// @run-at document-start
|
||||
// @updateURL https://4chan-x.just-believe.in/builds/4chan-X.meta.js
|
||||
// @downloadURL https://4chan-x.just-believe.in/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
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
*
|
||||
* Appchan X Copyright © 2013-2013 Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
* http://zixaphir.github.io/appchan-x/
|
||||
* 4chan x Copyright © 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* https://github.com/aeosynth/4chan-x
|
||||
* 4chan x Copyright © 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* https://4chan-x.just-believe.in/
|
||||
* 4chan x Copyright © 2013-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/4chan-x/
|
||||
* 4chan x Copyright © 2012-2013 ihavenoface
|
||||
* http://ihavenoface.github.io/4chan-x/
|
||||
* OneeChan Copyright © 2011-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/oneechan/
|
||||
* 4chan SS Copyright © 2011-2013 Ahodesuka
|
||||
* https://github.com/ahodesuka/4chan-Style-Script/
|
||||
* Raphael Icons Copyright © 2013 Dmitry Baranovskiy
|
||||
* http://raphaeljs.com/icons/
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Contributors:
|
||||
* aeosynth
|
||||
* mayhemydg
|
||||
* noface
|
||||
* !K.WeEabo0o
|
||||
* blaise
|
||||
* that4chanwolf
|
||||
* desuwa
|
||||
* seaweed
|
||||
* e000
|
||||
* ahodesuka
|
||||
* Shou
|
||||
* ferongr
|
||||
* xat
|
||||
* Ongpot
|
||||
* thisisanon
|
||||
* Anonymous
|
||||
* Seiba
|
||||
* herpaderpderp
|
||||
* WakiMiko
|
||||
* btmcsweeney
|
||||
* AppleBloom
|
||||
*
|
||||
* All the people who've taken the time to write bug reports.
|
||||
*
|
||||
* Thank you.
|
||||
*/
|
||||
|
||||
/* 4chan X - Version 3.2.0 - 2013-04-24
|
||||
* https://4chan-x.just-believe.in/
|
||||
*
|
||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* Copyright (c) 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/MayhemYDG/4chan-x/blob/master/LICENSE
|
||||
*
|
||||
* Contributors:
|
||||
* https://github.com/MayhemYDG/4chan-x/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.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Linkify based on:
|
||||
* http://downloads.mozdev.org/greasemonkey/linkify.user.js
|
||||
* https://github.com/MayhemYDG/LinkifyPlusFork
|
||||
*
|
||||
* Originally written by Anthony Lieuallen of http://arantius.com/
|
||||
* Licensed for unlimited modification and redistribution as long as
|
||||
* this notice is kept intact.
|
||||
*/
|
||||
(function() {
|
||||
var $, $$, Anonymize, ArchiveLink, Board, Build, CatalogLinks, Clone, Conf, Config, CustomCSS, DataBoard, DataBoards, DeleteLink, DownloadLink, ExpandComment, ExpandThread, FappeTyme, Favicon, FileInfo, Filter, Fourchan, Get, Header, ImageExpand, ImageHover, ImageReplace, Keybinds, Linkify, Main, Menu, Nav, Notification, PSAHiding, Polyfill, Post, PostHiding, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, Recursive, Redirect, RelativeDates, Report, ReportLink, RevealSpoilers, Sauce, Settings, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, c, d, doc, g,
|
||||
__slice = [].slice,
|
||||
@ -65,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.'],
|
||||
@ -230,8 +289,8 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '3.2.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
VERSION: '1.1.0',
|
||||
NAMESPACE: '4chan x.',
|
||||
boards: {},
|
||||
threads: {},
|
||||
posts: {}
|
||||
@ -8693,9 +8752,9 @@
|
||||
}
|
||||
prev = previous.match(/\d+/g).map(Number);
|
||||
curr = g.VERSION.match(/\d+/g).map(Number);
|
||||
changelog = 'https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md';
|
||||
changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md';
|
||||
el = $.el('span', {
|
||||
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
innerHTML: "4chan x has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
});
|
||||
new Notification('info', el, 30);
|
||||
} else {
|
||||
@ -8730,7 +8789,7 @@
|
||||
return;
|
||||
}
|
||||
$.event('CloseMenu');
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='https://4chan-x.just-believe.in/' target=_blank>4chan X</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='http://seaweedchan.github.io/4chan-x/' target=_blank>4chan x</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
Settings.overlay = overlay = $.el('div', {
|
||||
id: 'overlay'
|
||||
});
|
||||
@ -8915,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'
|
||||
});
|
||||
@ -9537,7 +9596,7 @@
|
||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
||||
return;
|
||||
}
|
||||
return $.ajax('https://4chan-x.just-believe.in/builds/version', {
|
||||
return $.ajax('http://seaweedchan.github.io/4chan-x/version', {
|
||||
onload: function() {
|
||||
var el, version;
|
||||
|
||||
@ -9554,7 +9613,7 @@
|
||||
}
|
||||
$.set('lastchecked', now);
|
||||
el = $.el('span', {
|
||||
innerHTML: "Update: 4chan X v" + version + " is out, get it <a href=https://4chan-x.just-believe.in/ target=_blank>here</a>."
|
||||
innerHTML: "Update: 4chan x v" + version + " is out, get it <a href=http://seaweedchan.github.io/4chan-x/ target=_blank>here</a>."
|
||||
});
|
||||
return new Notification('info', el, 120);
|
||||
}
|
||||
@ -9616,10 +9675,10 @@
|
||||
errors = Main.errors.map(function(d) {
|
||||
return d.message + ' ' + d.error.stack;
|
||||
});
|
||||
return $.ajax('https://4chan-x.just-believe.in/errors', {}, {
|
||||
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,
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 3.2.0
|
||||
// @namespace 4chan-X
|
||||
// @description Cross-browser extension for productive lurking on 4chan.
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @name 4chan x
|
||||
// @version 1.1.0
|
||||
// @namespace 4chan-x
|
||||
// @description The most comprehensive 4chan userscript
|
||||
// @copyright 2013-2013 Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
// @copyright 2013-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||
// @match *://api.4chan.org/*
|
||||
// @match *://boards.4chan.org/*
|
||||
@ -15,33 +17,90 @@
|
||||
// @grant GM_deleteValue
|
||||
// @grant GM_openInTab
|
||||
// @run-at document-start
|
||||
// @updateURL https://4chan-x.just-believe.in/builds/4chan-X.meta.js
|
||||
// @downloadURL https://4chan-x.just-believe.in/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
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
*
|
||||
* Appchan X Copyright © 2013-2013 Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
* http://zixaphir.github.io/appchan-x/
|
||||
* 4chan x Copyright © 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* https://github.com/aeosynth/4chan-x
|
||||
* 4chan x Copyright © 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* https://4chan-x.just-believe.in/
|
||||
* 4chan x Copyright © 2013-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/4chan-x/
|
||||
* 4chan x Copyright © 2012-2013 ihavenoface
|
||||
* http://ihavenoface.github.io/4chan-x/
|
||||
* OneeChan Copyright © 2011-2013 Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/oneechan/
|
||||
* 4chan SS Copyright © 2011-2013 Ahodesuka
|
||||
* https://github.com/ahodesuka/4chan-Style-Script/
|
||||
* Raphael Icons Copyright © 2013 Dmitry Baranovskiy
|
||||
* http://raphaeljs.com/icons/
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Contributors:
|
||||
* aeosynth
|
||||
* mayhemydg
|
||||
* noface
|
||||
* !K.WeEabo0o
|
||||
* blaise
|
||||
* that4chanwolf
|
||||
* desuwa
|
||||
* seaweed
|
||||
* e000
|
||||
* ahodesuka
|
||||
* Shou
|
||||
* ferongr
|
||||
* xat
|
||||
* Ongpot
|
||||
* thisisanon
|
||||
* Anonymous
|
||||
* Seiba
|
||||
* herpaderpderp
|
||||
* WakiMiko
|
||||
* btmcsweeney
|
||||
* AppleBloom
|
||||
*
|
||||
* All the people who've taken the time to write bug reports.
|
||||
*
|
||||
* Thank you.
|
||||
*/
|
||||
|
||||
/* 4chan X - Version 3.2.0 - 2013-04-24
|
||||
* https://4chan-x.just-believe.in/
|
||||
*
|
||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* Copyright (c) 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/MayhemYDG/4chan-x/blob/master/LICENSE
|
||||
*
|
||||
* Contributors:
|
||||
* https://github.com/MayhemYDG/4chan-x/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.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Linkify based on:
|
||||
* http://downloads.mozdev.org/greasemonkey/linkify.user.js
|
||||
* https://github.com/MayhemYDG/LinkifyPlusFork
|
||||
*
|
||||
* Originally written by Anthony Lieuallen of http://arantius.com/
|
||||
* Licensed for unlimited modification and redistribution as long as
|
||||
* this notice is kept intact.
|
||||
*/
|
||||
(function() {
|
||||
var $, $$, Anonymize, ArchiveLink, Board, Build, CatalogLinks, Clone, Conf, Config, CustomCSS, DataBoard, DataBoards, DeleteLink, DownloadLink, ExpandComment, ExpandThread, FappeTyme, Favicon, FileInfo, Filter, Fourchan, Get, Header, ImageExpand, ImageHover, ImageReplace, Keybinds, Linkify, Main, Menu, Nav, Notification, PSAHiding, Polyfill, Post, PostHiding, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, Recursive, Redirect, RelativeDates, Report, ReportLink, RevealSpoilers, Sauce, Settings, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, c, d, doc, g,
|
||||
__slice = [].slice,
|
||||
@ -65,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.'],
|
||||
@ -227,8 +286,8 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '3.2.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
VERSION: '1.1.0',
|
||||
NAMESPACE: '4chan x.',
|
||||
boards: {},
|
||||
threads: {},
|
||||
posts: {}
|
||||
@ -8709,9 +8768,9 @@
|
||||
}
|
||||
prev = previous.match(/\d+/g).map(Number);
|
||||
curr = g.VERSION.match(/\d+/g).map(Number);
|
||||
changelog = 'https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md';
|
||||
changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md';
|
||||
el = $.el('span', {
|
||||
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
innerHTML: "4chan x has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
});
|
||||
new Notification('info', el, 30);
|
||||
} else {
|
||||
@ -8746,7 +8805,7 @@
|
||||
return;
|
||||
}
|
||||
$.event('CloseMenu');
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='https://4chan-x.just-believe.in/' target=_blank>4chan X</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='http://seaweedchan.github.io/4chan-x/' target=_blank>4chan x</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
Settings.overlay = overlay = $.el('div', {
|
||||
id: 'overlay'
|
||||
});
|
||||
@ -8931,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'
|
||||
});
|
||||
@ -9555,7 +9614,7 @@
|
||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
||||
return;
|
||||
}
|
||||
return $.ajax('https://4chan-x.just-believe.in/builds/version', {
|
||||
return $.ajax('http://seaweedchan.github.io/4chan-x/version', {
|
||||
onload: function() {
|
||||
var el, version;
|
||||
|
||||
@ -9572,7 +9631,7 @@
|
||||
}
|
||||
$.set('lastchecked', now);
|
||||
el = $.el('span', {
|
||||
innerHTML: "Update: 4chan X v" + version + " is out, get it <a href=https://4chan-x.just-believe.in/ target=_blank>here</a>."
|
||||
innerHTML: "Update: 4chan x v" + version + " is out, get it <a href=http://seaweedchan.github.io/4chan-x/ target=_blank>here</a>."
|
||||
});
|
||||
return new Notification('info', el, 120);
|
||||
}
|
||||
@ -9634,10 +9693,10 @@
|
||||
errors = Main.errors.map(function(d) {
|
||||
return d.message + ' ' + d.error.stack;
|
||||
});
|
||||
return $.ajax('https://4chan-x.just-believe.in/errors', {}, {
|
||||
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,
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "4chan X",
|
||||
"version": "3.2.0",
|
||||
"name": "4chan x",
|
||||
"version": "1.1.0",
|
||||
"manifest_version": 2,
|
||||
"description": "Cross-browser extension for productive lurking on 4chan.",
|
||||
"description": "The most comprehensive 4chan userscript",
|
||||
"icons": {
|
||||
"16": "icon16.png",
|
||||
"48": "icon48.png",
|
||||
@ -14,7 +14,7 @@
|
||||
"all_frames": true,
|
||||
"run_at": "document_start"
|
||||
}],
|
||||
"homepage_url": "https://4chan-x.just-believe.in/",
|
||||
"homepage_url": "http://seaweedchan.github.io/4chan-x/",
|
||||
"minimum_chrome_version": "26",
|
||||
"permissions": [
|
||||
"storage"
|
||||
|
||||
@ -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.'],
|
||||
@ -183,8 +183,8 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '3.2.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
VERSION: '1.1.0',
|
||||
NAMESPACE: '4chan x.',
|
||||
boards: {},
|
||||
threads: {},
|
||||
posts: {}
|
||||
@ -8613,9 +8613,9 @@
|
||||
}
|
||||
prev = previous.match(/\d+/g).map(Number);
|
||||
curr = g.VERSION.match(/\d+/g).map(Number);
|
||||
changelog = 'https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md';
|
||||
changelog = 'https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md';
|
||||
el = $.el('span', {
|
||||
innerHTML: "4chan X has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
innerHTML: "4chan x has been updated to <a href='" + changelog + "' target=_blank>version " + g.VERSION + "</a>."
|
||||
});
|
||||
new Notification('info', el, 30);
|
||||
} else {
|
||||
@ -8650,7 +8650,7 @@
|
||||
return;
|
||||
}
|
||||
$.event('CloseMenu');
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='https://4chan-x.just-believe.in/' target=_blank>4chan X</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/MayhemYDG/4chan-x/blob/v3/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
html = "<nav>\n <div class=sections-list></div>\n <p class='imp-exp-result warning'></p>\n <div class=credits>\n <a class=export>Export</a> |\n <a class=import>Import</a> |\n <input type=file style='display: none;'>\n <a href='http://seaweedchan.github.io/4chan-x/' target=_blank>4chan x</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CHANGELOG.md' target=_blank>" + g.VERSION + "</a> |\n <a href='https://github.com/seaweedchan/4chan-x/blob/master/CONTRIBUTING.md#reporting-bugs-and-suggestions' target=_blank>Issues</a> |\n <a href=javascript:; class=close title=Close>×</a>\n </div>\n</nav>\n<hr>\n<div class=section-container><section></section></div>";
|
||||
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'
|
||||
});
|
||||
@ -9457,7 +9457,7 @@
|
||||
if (items.lastupdate > now - freq || items.lastchecked > now - $.DAY) {
|
||||
return;
|
||||
}
|
||||
return $.ajax('https://4chan-x.just-believe.in/builds/version', {
|
||||
return $.ajax('http://seaweedchan.github.io/4chan-x/version', {
|
||||
onload: function() {
|
||||
var el, version;
|
||||
|
||||
@ -9474,7 +9474,7 @@
|
||||
}
|
||||
$.set('lastchecked', now);
|
||||
el = $.el('span', {
|
||||
innerHTML: "Update: 4chan X v" + version + " is out, get it <a href=https://4chan-x.just-believe.in/ target=_blank>here</a>."
|
||||
innerHTML: "Update: 4chan x v" + version + " is out, get it <a href=http://seaweedchan.github.io/4chan-x/ target=_blank>here</a>."
|
||||
});
|
||||
return new Notification('info', el, 120);
|
||||
}
|
||||
@ -9536,10 +9536,10 @@
|
||||
errors = Main.errors.map(function(d) {
|
||||
return d.message + ' ' + d.error.stack;
|
||||
});
|
||||
return $.ajax('https://4chan-x.just-believe.in/errors', {}, {
|
||||
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,
|
||||
|
||||
71
changelog
Normal file
71
changelog
Normal file
@ -0,0 +1,71 @@
|
||||
master
|
||||
|
||||
1.0.10:
|
||||
-Add message pertaining to rewrite
|
||||
|
||||
1.0.9:
|
||||
ihavenoface:
|
||||
-Implement Announcement Hiding
|
||||
seaweedchan:
|
||||
-Change #options back to inheriting colors from replies
|
||||
-Fix script breaking when disabling image expansion
|
||||
|
||||
1.0.8:
|
||||
seaweedchan:
|
||||
-Redo settings menu styling
|
||||
-Move Export/Import buttons and dialog
|
||||
-Update license and use banner.js for license
|
||||
|
||||
1.0.7:
|
||||
qqueue:
|
||||
-Relative post dates
|
||||
MayhemYDG:
|
||||
-Exporting/importing settings
|
||||
|
||||
1.0.6
|
||||
seaweedchan:
|
||||
-Update supported boards for archive redirection and custom navigation
|
||||
-Point to github.io instead of github.com for pages
|
||||
-Fix post archive link for InstallGentoo and Foolz
|
||||
-Make InstallGentoo default for /g/
|
||||
-Fix embedding issues
|
||||
|
||||
1.0.5:
|
||||
seaweedchan:
|
||||
-Added keybind to toggle Fappe Tyme
|
||||
-Fix code tag keybind
|
||||
Zixaphir:
|
||||
-Add 'yourPost' class to own replies
|
||||
|
||||
1.0.4:
|
||||
seaweedchan:
|
||||
-Fix Fappe Tyme
|
||||
-Re-add label for image expanding
|
||||
-Move restore button to left side as per RiDeag
|
||||
|
||||
1.0.3
|
||||
seaweedchan:
|
||||
-Add ad-blocking CSS into Custom CSS examples
|
||||
Zixaphir:
|
||||
-Fix ctrl+s bringing up save dialog
|
||||
-Fix issues with soundcloud embedding
|
||||
|
||||
1.0.2:
|
||||
seaweedchan:
|
||||
-New Rice option: Emoji Position
|
||||
-New layout for Rice tab
|
||||
-No more Yotsuba / Yotsuba B in options
|
||||
|
||||
1.0.1:
|
||||
-New option: Emoji
|
||||
-New Rice option: Sage Emoji
|
||||
seaweedchan:
|
||||
-Prettier error messages
|
||||
|
||||
1.0.0
|
||||
-Initial release
|
||||
zixaphir:
|
||||
-Fix unread post count for filtered posts
|
||||
-Fix issues when switching from ihavenoface's fork
|
||||
-Fix backlinks not receiving filtered class
|
||||
-Fix QR position not saving on refresh
|
||||
1320
changelog-old
1320
changelog-old
File diff suppressed because it is too large
Load Diff
27
package.json
27
package.json
@ -1,19 +1,22 @@
|
||||
{
|
||||
"name": "4chan-X",
|
||||
"version": "3.2.0",
|
||||
"description": "Cross-browser extension for productive lurking on 4chan.",
|
||||
"name": "4chan-x",
|
||||
"version": "1.1.0",
|
||||
"description": "The most comprehensive 4chan userscript",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"repo": "https://github.com/MayhemYDG/4chan-x/",
|
||||
"page": "https://4chan-x.just-believe.in/",
|
||||
"buildsPath": "builds/",
|
||||
"mainBranch": "v3",
|
||||
"name": "4chan x",
|
||||
"repo": "https://github.com/seaweedchan/4chan-x/",
|
||||
"page": "http://seaweedchan.github.io/4chan-x/",
|
||||
"mainBranch": "master",
|
||||
"matches": [
|
||||
"*://api.4chan.org/*",
|
||||
"*://boards.4chan.org/*",
|
||||
"*://images.4chan.org/*",
|
||||
"*://sys.4chan.org/*"
|
||||
]
|
||||
],
|
||||
"files": {
|
||||
"metajs": "4chan_x.meta.js",
|
||||
"userjs": "4chan_x.user.js"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.1",
|
||||
@ -29,10 +32,12 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/MayhemYDG/4chan-x.git"
|
||||
"url": "https://github.com/seaweedchan/4chan-x.git"
|
||||
},
|
||||
"author": "Nicolas Stepien <stepien.nicolas@gmail.com>",
|
||||
"author": "seaweedchan <jtbates@asu.edu>",
|
||||
"contributors": [
|
||||
"Zixaphir<zixaphirmoxphar@gmail.com>",
|
||||
"Nicolas Stepien <stepien.nicolas@gmail.com>",
|
||||
"James Campos <james.r.campos@gmail.com>"
|
||||
],
|
||||
"license": "MIT",
|
||||
|
||||
BIN
src/img/changelog/3.2.0/0.png
Normal file
BIN
src/img/changelog/3.2.0/0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@ -1,21 +1,80 @@
|
||||
/* <%= meta.name %> - Version <%= version %> - <%= grunt.template.today('yyyy-mm-dd') %>
|
||||
* <%= meta.page %>
|
||||
*
|
||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* Copyright (c) 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* 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.
|
||||
*/
|
||||
/*
|
||||
* <%= meta.name %> - Version <%= version %> - <%= grunt.template.today('yyyy-mm-dd') %>
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* <%= meta.repo %>blob/master/LICENSE
|
||||
*
|
||||
* Appchan X Copyright © 2013-<%= grunt.template.today('yyyy') %> Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
* http://zixaphir.github.io/appchan-x/
|
||||
* 4chan x Copyright © 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
* https://github.com/aeosynth/4chan-x
|
||||
* 4chan x Copyright © 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
* https://4chan-x.just-believe.in/
|
||||
* 4chan x Copyright © 2013-<%= grunt.template.today('yyyy') %> Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/4chan-x/
|
||||
* 4chan x Copyright © 2012-<%= grunt.template.today('yyyy') %> ihavenoface
|
||||
* http://ihavenoface.github.io/4chan-x/
|
||||
* OneeChan Copyright © 2011-<%= grunt.template.today('yyyy') %> Jordan Bates <saudrapsmann@gmail.com>
|
||||
* http://seaweedchan.github.io/oneechan/
|
||||
* 4chan SS Copyright © 2011-<%= grunt.template.today('yyyy') %> Ahodesuka
|
||||
* https://github.com/ahodesuka/4chan-Style-Script/
|
||||
* Raphael Icons Copyright © <%= grunt.template.today('yyyy') %> Dmitry Baranovskiy
|
||||
* http://raphaeljs.com/icons/
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Contributors:
|
||||
* aeosynth
|
||||
* mayhemydg
|
||||
* noface
|
||||
* !K.WeEabo0o
|
||||
* blaise
|
||||
* that4chanwolf
|
||||
* desuwa
|
||||
* seaweed
|
||||
* e000
|
||||
* ahodesuka
|
||||
* Shou
|
||||
* ferongr
|
||||
* xat
|
||||
* Ongpot
|
||||
* thisisanon
|
||||
* Anonymous
|
||||
* Seiba
|
||||
* herpaderpderp
|
||||
* WakiMiko
|
||||
* btmcsweeney
|
||||
* AppleBloom
|
||||
*
|
||||
* All the people who've taken the time to write bug reports.
|
||||
*
|
||||
* Thank you.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Linkify based on:
|
||||
* http://downloads.mozdev.org/greasemonkey/linkify.user.js
|
||||
* https://github.com/MayhemYDG/LinkifyPlusFork
|
||||
*
|
||||
* Originally written by Anthony Lieuallen of http://arantius.com/
|
||||
* Licensed for unlimited modification and redistribution as long as
|
||||
* this notice is kept intact.
|
||||
*/
|
||||
@ -3,8 +3,10 @@
|
||||
// @version <%= version %>
|
||||
// @namespace <%= name %>
|
||||
// @description <%= description %>
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @copyright 2013-<%= grunt.template.today('yyyy') %> Zixaphir <zixaphirmoxphar@gmail.com>
|
||||
// @copyright 2013-<%= grunt.template.today('yyyy') %> Jordan Bates <saudrapsmann@gmail.com>
|
||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
// @copyright 2012-<%= grunt.template.today('yyyy') %> Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||
<%=
|
||||
meta.matches.map(function(match) {
|
||||
@ -16,7 +18,7 @@
|
||||
// @grant GM_deleteValue
|
||||
// @grant GM_openInTab
|
||||
// @run-at document-start
|
||||
// @updateURL <%= meta.page %><%= meta.buildsPath %><%= name %>.meta.js
|
||||
// @downloadURL <%= meta.page %><%= meta.buildsPath %><%= name %>.user.js
|
||||
// @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==
|
||||
// ==/UserScript==
|
||||
Loading…
x
Reference in New Issue
Block a user