If I can't reproduce a bug, I probably won't be able to fix it. You can help by doing the following when you report a bug:
- Include precise steps to reproduce the problem, with the expected and actual results.
- Make sure your browser, 4chan X, and (if applicable) Greasemonkey are up to date. Include the versions you're using in bug reports.
- Test if the bug occurs with 4chan X disabled and using the native extension. If it does, it's likely a problem with 4chan or your browser rather than with 4chan X.
- Open your console with Shift+Control+J (⇧⌘J on OS X Firefox, ⌘⌥J on OS X Chromium), and look for any error messages, especially ones that occur at the same time as the bug. Include these in your bug report. If you're using Firefox, be sure to check the browser console (Shift+Control+J), not the web console (Shift+Control+K) as errors may not show up in the latter.
- To test if the bug occurs under the default settings or only with specific settings, back up your settings and reset them using the Export and Reset Settings links in the settings panel. If the bug only occurs under specific settings, upload your exported settings to a site like https://paste.installgentoo.com/, and link to it in your bug report. If your settings contains sensitive information (e.g. personas), edit the text file manually.
- To check if a bug is due to a conflict with another extension, temporarily disable any other extensions and userscripts. If the bug goes away, turn them back on one by one until you find the one causing the problem.
- Install node.js.
- Install Grunt's CLI with
npm install -g grunt-cli
. - Clone 4chan X.
cd
into it.- Install/Update 4chan X dependencies with
npm install
.
- Build with
grunt
. - You can continuously build with
grunt watch
.
- Edit the sources (not the compiled scripts in the builds/ directory).
- Compile the script with
grunt
. - Install the compiled script (found in the testbuilds/ directory), and test your changes.
- Open a pull request.
Archive list updates should go to https://github.com/MayhemYDG/archives.json.