From b4f874ef86d8b4b77c2ec4e2feafd3af8780ee21 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 9 Apr 2016 22:42:54 -0700 Subject: [PATCH] Remove web page from source branch. --- Gruntfile.coffee | 26 ++++------ index.html | 124 ----------------------------------------------- 2 files changed, 9 insertions(+), 141 deletions(-) delete mode 100644 index.html diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 53c8a0e30..a1be89770 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -96,7 +96,7 @@ module.exports = (grunt) -> install: files: if grunt.file.exists('install.json') then grunt.file.readJSON('install.json') else [] web: - src: 'test.html' + src: '../<%= pkg.meta.path %>/test.html' dest: 'index.html' concurrent: @@ -165,12 +165,10 @@ module.exports = (grunt) -> git checkout stable "builds/<%= pkg.name %>.*" builds/updates.xml git commit -am "Move <%= pkg.meta.name %> v<%= pkg.meta.version %> to stable channel." """.split('\n').join('&&') - 'commit-web': - command: 'git commit -am "Build web page."' web: command: """ git merge --no-commit -s ours master - git checkout master README.md index.html web.css img + git checkout master README.md web.css img git commit -am "Update web page." """.split('\n').join('&&') push: @@ -363,19 +361,13 @@ module.exports = (grunt) -> 'shell:markdown' ] - grunt.registerTask 'web', 'Move website changes to gh-pages.', -> - grunt.task.run 'shell:markdown' - # XXX Grunt seems to see test.html as nonexistent when it was just created. - if not grunt.file.exists('test.html') or grunt.file.read('test.html') isnt grunt.file.read('index.html') - grunt.task.run [ - 'copy:web' - 'shell:commit-web' - ] - grunt.task.run [ - 'pushd' - 'shell:web' - 'popd' - ] + grunt.registerTask 'web', [ + 'shell:markdown' + 'pushd' + 'copy:web' + 'shell:web' + 'popd' + ] grunt.registerTask 'push', [ 'shell:push' diff --git a/index.html b/index.html deleted file mode 100644 index ad54996df..000000000 --- a/index.html +++ /dev/null @@ -1,124 +0,0 @@ - - - -4chan X - - - - - -Screenshot - -

Adds various features to 4chan. -Previously developed by aeosynth, Mayhem, ihavenoface, Zixaphir, Seaweed, and Spittie, with contributions from many others.

-

If you're looking for a maintained fork of OneeChan (a style script used in addition to 4chan X), try -https://github.com/Nebukazar/OneeChan.

-

Please note

-

Uninstalling: 4chan X disables the native extension, so if you uninstall 4chan X, you'll need to re-enable it. To do this, click the [Settings] link in the top right corner and uncheck "Disable the native extension" in the panel that appears.

-

Private browsing: 4chan X does not yet support private browsing / incognito mode. Although it may work in this mode, browsing data recorded by 4chan X, such as your last read post in a thread and which posts are yours, will still need to be cleared manually by resetting your settings. To control what browsing data 4chan X records, use the Remember Last Read Post and Mark Quotes of You options in the settings panel.

-

HTTPS: 4chan X currently shares your settings and post history between the HTTP and HTTPS versions of 4chan. If you are concerned about protecting your privacy against a man-in-the-middle attack, you should disable 4chan X on the HTTP version of 4chan and/or install HTTPS Everywhere.

-

Install

-

-

Install Greasemonkey, then click here to install 4chan X.

- -

-

Userscript: Install Violentmonkey (Opera store / Chrome store) or Tampermonkey, then click here to install 4chan X.

-

Chrome extension: 4chan X is also available as a standalone Chrome extension. The Chrome extension has the additional feature of being able to sync your settings and data with other devices via Chrome Sync. But there is an issue when the script updates: Whenever the Chrome extension is updated, until you hard refresh (F5) the tab, 4chan X is unable to save any data (such as posts marked as yours and settings changes). The userscript version above does not have this problem when 4chan X updates, only when Violentmonkey / Tampermonkey is updated. To install as a Chrome extension:

- -

Note: This version of 4chan X does not work with Opera 12. If you need Opera 12 support, try loadletter's fork instead.

-

-

Install JS Blocker, then click here to install 4chan X. Tampermonkey for Safari may also work, but I have yet to test it.

-

-

Several WebKitGTK+ based browsers have support for userscripts and can run 4chan X. Due to the lack of the cross-site GM_* API, and lack of support for userscripts in iframes, not all features will work. You may experience crashes when repeatedly solving the default image-based captchas. You can avoid this problem by enabling Use Recaptcha v1 in your settings.

- -

-

4chan X can be used in some browsers that do not support userscripts, such as Microsoft Edge, using a local proxy. Not all features will work.

-

Beta version

-

New features and non-urgent bugfixes are released on the beta channel for further testing before they are moved the stable version. Please report any issues you find, and be sure to mention which version you're using. You should back up your settings regularly to prevent them from being lost due to bugs.

-

To install the current beta version but get updates from the stable channel (for example, if just you want a particular recent feature):

- -

To install the beta version and get updates whenever there's a new beta version:

- -

Troubleshooting

-

If you encounter a bug, try the steps here, then report it to the issue tracker. You can report bugs without a Github account via this form. If the bug seems to be caused by a script update, you can install a old version from the changelog.

- - -