Guide EN - Dashchanon/Dashchan-IT GitHub Wiki
Non-obvious features guide.
-
board_codeor/board_code— go to board threads (for example,mobior/8) -
board_code thread_number— go to thread (for example,mobi 307707) -
#thread_number— go to thread on current board (for example,#307707) -
URL— go to thread by address (for example,https://2ch.hk/mobi/res/307707.html)
-
page_number— go to page by its number (for example,4)
-
post_index— go to post by its ordinal index (for example,12) -
post_number— go to post by its real number (for example,307707)
Searching by index has a higher priority.
This option is used for automatic generation of subdirectory path in case of saving files using downloading dialog.
Ordinary characters are used to specify a path excepting forbidden system's ones (they will be replaced with _). The following special characters are used for substituting the corresponding values:
-
\c— Imageboard code (dvach,fourchan, ...) -
\d— Imageboard title (2ch.hk,4chan.org, ...) -
\b— Board code (b,g, ...) -
\t— Thread identifier (625219, ...) -
\e— Thread title (Dashchan thread, ...)
Italicized special characters may take null value. You can put them and text around in <> characters to avoid empty values (no more than one special character). When special character is empty, a part of path inside <> will be removed.
The default pattern is \c-<\b->\t.
On 2ch.hk on mobi in thread 625219 pattern will be replaced with dvach-mobi-625219.
On arhivach.org in thread 117403 pattern will be replaced with arhivach-117403. A board code always takes null value, so null- part is removed according to pattern.
These preferences are stored in file advanced.json in directory Android/data/com.mishiranu.dashchan/files of external memory and loaded on app start. Preferences are stored in JSON. Configuration file example:
{
"userAgent": {
"dvach": "Mozilla/5.0 (rv:23.0) Gecko/20131011 Firefox/23.0",
"client": "Mozilla/5.0 (rv:49.0) Gecko/20100101 Firefox/49.0"
},
"singleConnection": ["cirno"],
"googleCookie": {
"HSID": "j7m0aFJ82lPF7Hd9d",
"SSID": "nJKpa81jOskq7Jsps",
"SID": "gjaHjfFJPAN5HO3MVVZpjHFKa_249dsfjHa9klsiaflsd99.asHqjsM2lAS",
"NID": "87=gkOAkg09AKnvJosKq82kgnDnHj8Om2pLskKhdna02msog8HkdHDlasDf"
},
"tabSize": 4
}Supported attributes are described below.
userAgent attribute of string type. Allows to change User-Agent for all forums.
"userAgent": "Mozilla/5.0 (rv:49.0) Gecko/20100101 Firefox/49.0"This attribute also might be an object which allows to change User-Agent for specific forums. client means changing User-Agent for all the reset forums (works like previous type).
"userAgent": {
"dvach": "Mozilla/5.0 (rv:23.0) Gecko/20131011 Firefox/23.0",
"client": "Mozilla/5.0 (rv:49.0) Gecko/20100101 Firefox/49.0"
}singleConnection attribute of array type. Contains a forums list. Client won't create more than 1 TCP connection for each forum in this array.
"singleConnection": ["cirno"]googleCookie attribute of object type. if Google cookie specified, app will use them to load Google reCAPTCHA. This allows to simplify a captcha, up to cancellation (clicking on captcha loading button will be enough). Required cookie: HSID, SSID, SID, NID. You can obtain them from your desktop browser.
"googleCookie": {
"HSID": "j7m0aFJ82lPF7Hd9d",
"SSID": "nJKpa81jOskq7Jsps",
"SID": "gjaHjfFJPAN5HO3MVVZpjHFKa_249dsfjHa9klsiaflsd99.asHqjsM2lAS",
"NID": "87=gkOAkg09AKnvJosKq82kgnDnHj8Om2pLskKhdna02msog8HkdHDlasDf"
}tabSize of integer type. Can take values from 1 to 8. 8 is default. Allows to change tabulation size in text (tabulation replaces with specified count of spaces).
"tabSize": 4