-
Notifications
You must be signed in to change notification settings - Fork 135
/
Config.coffee
1189 lines (1128 loc) · 29.3 KB
/
Config.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Config =
main:
'Miscellaneous':
'Redirect to HTTPS': [
true
'Redirect to the HTTPS version of 4chan.'
]
'JSON Index': [
true
'Replace the original board index with one supporting searching, sorting, infinite scrolling, and a catalog mode.'
]
'Use <%= meta.name %> Catalog': [
true
'Link to <%= meta.name %>\'s catalog instead of the native 4chan one.'
1
]
'Index Refresh Notifications': [
false
'Show a notice at the top of the page when the index is refreshed.'
1
]
'Follow Cursor': [
true
'Image Hover and Quote Preview move with the mouse cursor.'
]
'Open Threads in New Tab': [
false
'Make links to threads in the index / <%= meta.name %> catalog open in a new tab.'
]
'External Catalog': [
false
'Link to external catalog instead of the internal one.'
]
'Catalog Links': [
false
'Add toggle link in header menu to turn Navigation links into links to each board\'s catalog.'
]
'Announcement Hiding': [
true
'Add button to hide 4chan announcements.'
]
'Desktop Notifications': [
true
'Enables desktop notifications across various <%= meta.name %> features.'
]
'404 Redirect': [
true
'Redirect dead threads and images to the archives.'
]
'Archive Report': [
true
'Enable reporting posts to supported archives.'
]
'Exempt Archives from Encryption': [
true
'Permit loading content from, and warningless redirects to, HTTP-only archives from HTTPS pages.'
]
'Keybinds': [
true
'Bind actions to keyboard shortcuts.'
]
'Time Formatting': [
true
'Localize and format timestamps.'
]
'Relative Post Dates': [
true
'Display dates like "3 minutes ago". Tooltip shows the timestamp.'
]
'Relative Date Title': [
true
'Show Relative Post Date only when hovering over dates.'
1
]
'Comment Expansion': [
true
'Expand comments that are too long to display on the index. Not applicable with JSON Index.'
]
'File Info Formatting': [
true
'Reformat the file information.'
]
'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.'
]
'Unique ID and Capcode Navigation': [
false
'Add buttons to navigate to posts having the same unique ID or capcode.'
]
'Custom Board Titles': [
true
'Allow editing of the board title and subtitle by ctrl/\u2318+clicking them.'
]
'Persistent Custom Board Titles': [
false
'Force custom board titles to be persistent, even if the board titles are updated.'
1
]
'Show Updated Notifications': [
true
'Show notifications when <%= meta.name %> is successfully updated.'
]
'Color User IDs': [
true
'Assign unique colors to user IDs on boards that use them'
]
'Count Posts by ID': [
true
'Display number of posts in the thread when hovering over an ID.'
]
'Remove Spoilers': [
false
'Remove all spoilers in text.'
]
'Reveal Spoilers': [
false
'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'
]
'Normalize URL': [
true
'Rewrite the URL of the current page, removing slugs and excess slashes, and changing /res/ to /thread/.'
]
'Work around CORB Bug': [
true
'Leave this checked until your garbage browser is fixed.'
]
'Disable Autoplaying Sounds': [
false
'Prevent sounds on the page from autoplaying.'
]
'Disable Native Extension': [
true
'<%= meta.name %> is NOT designed to work with the native extension.'
]
'Enable Native Flash Embedding': [
true
'Activate the native extension\'s Flash embedding if the native extension is disabled.'
]
'Linkification':
'Linkify': [
true
'Convert text into links where applicable.'
]
'Link Title': [
true
'Replace the link of a supported site with its actual title.'
1
]
'Cover Preview': [
true
'Show preview of supported links on hover.'
1
]
'Embedding': [
true
'Embed supported services. Note: Some services don\'t work on HTTPS.'
1
]
'Auto-embed': [
false
'Auto-embed Linkify Embeds.'
2
]
'Floating Embeds': [
false
'Embed content in a frame that remains in place when the page is scrolled.'
2
]
'Filtering':
'Anonymize': [
false
'Make everyone Anonymous.'
]
'Filter': [
true
'Self-moderation placebo.'
]
'Filtered Backlinks': [
false
'When enabled, shows backlinks to filtered posts with a line-through decoration. Otherwise, hides the backlinks.'
1
]
'Filter in Native Catalog': [
true
'Apply 4chan X filters in native catalog.'
1
]
'MD5 Quick Filter Notifications': [
true
'Show notification when quick filtering MD5s using the button or keybind.'
1
]
'Recursive Hiding': [
true
'Hide replies of hidden posts, recursively.'
]
'Thread Hiding Buttons': [
true
'Add buttons to hide entire threads.'
]
'Reply Hiding Buttons': [
true
'Add buttons to hide single replies.'
]
'Stubs': [
true
'Show stubs of hidden threads / replies.'
]
'Images and Videos':
'Image Expansion': [
true
'Expand images / videos.'
]
'Image Hover': [
true
'Show full image / video on mouseover.'
]
'Image Hover in Catalog': [
true
'Show full image / video on mouseover in <%= meta.name %> catalog.'
]
'Gallery': [
true
'Adds a simple and cute image gallery. Has more options in the gallery menu.'
]
'Fullscreen Gallery': [
false
'Open gallery in fullscreen mode.'
1
]
'PDF in Gallery': [
false
'Show PDF files in gallery.'
1
]
'Sauce': [
true
'Add sauce links to images.'
]
'WEBM Metadata': [
true
'Add link to fetch title metadata from webm videos.'
]
'Reveal Spoiler Thumbnails': [
false
'Replace spoiler thumbnails with the original image.'
]
'Replace GIF': [
false
'Replace gif thumbnails with the actual image.'
]
'Replace JPG': [
false
'Replace jpg thumbnails with the actual image.'
]
'Replace PNG': [
false
'Replace png thumbnails with the actual image.'
]
'Replace WEBM': [
false
'Replace webm and mp4 thumbnails with the actual video. Probably will degrade browser performance ;)'
]
'Image Prefetching': [
true
'Add a shortcut icon to the header to turn on image preloading.'
]
'Fappe Tyme': [
true
'Hide posts without images when header menu item is checked. *hint* *hint*'
]
'Werk Tyme': [
true
'Hide all post images when header menu item is checked.'
]
'Autoplay': [
true
'Videos begin playing immediately when opened.'
]
'Restart when Opened': [
false
'Restart GIFs and WebMs when you hover over or expand them.'
]
'Show Controls': [
true
'Show controls on videos expanded inline.'
]
'Click Passthrough': [
false
'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.'
1
]
'Allow Sound': [
true
'Open videos with the sound unmuted.'
]
'Mouse Wheel Volume': [
true
'Adjust volume of videos with the mouse wheel over the thumbnail/filename/gallery.'
]
'Loop in New Tab': [
true
'Loop videos opened in their own tabs.'
]
'Volume in New Tab': [
true
'Apply <%= meta.name %> mute and volume settings to videos opened in their own tabs.'
]
'Menu':
'Menu': [
true
'Add a drop-down menu to posts.'
]
'Report Link': [
true
'Add a report link to the menu.'
1
]
'Copy Text Link': [
true
'Add a link to copy the post\'s text.'
1
]
'Thread Hiding Link': [
true
'Add a link to hide entire threads.'
1
]
'Reply Hiding Link': [
true
'Add a link to hide single replies.'
1
]
'Delete Link': [
true
'Add post and image deletion links to the menu.'
1
]
'Archive Link': [
true
'Add an archive link to the menu.'
1
]
'Edit Link': [
true
'Add a link to edit the image in Tegaki, /i/\'s painting program. Requires Quick Reply.'
1
]
'Download Link': [
false
'Add a download with original filename link to the menu.'
1
]
'Monitoring':
'Thread Updater': [
true
'Fetch and insert new replies. Has more options in the header menu and the "Advanced" tab.'
]
'Unread Count': [
true
'Show the unread posts count in the tab title.'
]
'Quoted Title': [
false
'Change the page title to reflect you\'ve been quoted.'
1
]
'Hide Unread Count at (0)': [
false
'Hide the unread posts count in the tab title when it reaches 0.'
1
]
'Unread Favicon': [
true
'Show a different favicon when there are unread posts.'
]
'Unread Line': [
true
'Show a line to distinguish read posts from unread ones.'
]
'Remember Last Read Post': [
true
'Remember how far you\'ve read after you close the thread.'
]
'Scroll to Last Read Post': [
true
'Scroll back to the last read post when reopening a thread.'
1
]
'Unread Line in Index': [
false
'Show a line between read and unread posts in threads in the index.'
1
]
'Remove Thread Excerpt': [
false
'Replace the excerpt of the thread in the tab title with the board title.'
]
'Thread Stats': [
true
'Display reply and image count.'
]
'IP Count in Stats': [
true
'Display the unique IP count in the thread stats.'
1
]
'Page Count in Stats': [
true
'Display the page count in the thread stats.'
1
]
'Updater and Stats in Header': [
true,
'Places the thread updater and thread stats in the header instead of floating them.'
]
'Thread Watcher': [
true
'Bookmark threads. Has more options in the thread watcher menu.'
]
'Fixed Thread Watcher': [
true
'Makes the thread watcher scroll with the page.'
1
]
'Persistent Thread Watcher': [
false
'The thread watcher will be visible when the page is loaded.'
1
]
'Mark New IPs': [
false
'Label each post from a new IP with the thread\'s current IP count.'
]
'Reply Pruning': [
true
'Add option in header menu to hide old replies in long threads. Activated by default in stickies.'
]
'Prune All Threads': [
false
'Activate Reply Pruning by default in all threads.'
1
]
'Posting and Captchas':
'Quick Reply': [
true
'All-in-one form to reply, create threads, automate dumping and more.'
]
'Persistent QR': [
false
'The Quick reply won\'t disappear after posting.'
1
]
'Auto Hide QR': [
true
'Automatically hide the quick reply when posting.'
2
]
'Open Post in New Tab': [
true
'Open new threads in a new tab, and open replies in a new tab if you\'re not already in the thread.'
1
]
'Remember QR Size': [
false
'Remember the size of the Quick reply.'
1
]
'Remember Spoiler': [
false
'Remember the spoiler state, instead of resetting after posting.'
1
]
'Randomize Filename': [
false
'Set the filename to a random timestamp within the past year. Disabled on /f/.'
1
]
'Show New Thread Option in Threads': [
true
'Show the option to post a new / different thread from inside a thread.'
1
]
'Show Upload Progress': [
true
'Track progress of file uploads as percentage in submit button.'
1
]
'Cooldown': [
true
'Indicate the remaining time before posting again.'
1
]
'Posting Success Notifications': [
true
'Show notifications on successful post creation or file uploading.'
1
]
'Auto-load captcha': [
false
'Automatically load the captcha in the QR even if your post is empty.'
1
]
'Post on Captcha Completion': [
false
'Submit the post immediately when the captcha is completed.'
1
]
'Captcha Fixes': [
true
'Make captcha easier to use, especially with the keyboard.'
]
'Force Noscript Captcha': [
false
'Use the non-Javascript fallback captcha even if Javascript is enabled.'
]
'Pass Link': [
false
'Add a 4chan Pass login link to the bottom of the page.'
]
'Quote Links':
'Quote Backlinks': [
true
'Add quote backlinks.'
]
'OP Backlinks': [
true
'Add backlinks to the OP.'
1
]
'Bottom Backlinks': [
false
'Place backlinks at the bottom of posts.'
1
]
'Quote Inlining': [
true
'Inline quoted post on click.'
]
'Inline Cross-thread Quotes Only': [
false
'Don\'t inline quote links when the posts are visible in the thread.'
1
]
'Quote Hash Navigation': [
false
'Include an extra link after quotes for autoscrolling to quoted posts.'
1
]
'Forward Hiding': [
true
'Hide original posts of inlined backlinks.'
1
]
'Quote Previewing': [
true
'Show quoted post on hover.'
]
'Quote Highlighting': [
true
'Highlight the previewed post.'
1
]
'Resurrect Quotes': [
true
'Link dead quotes to the archives, and support inlining/previewing of archive links like quote links.'
]
'Remember Your Posts': [
true
'Remember your posting history.'
]
'Mark Quotes of You': [
true
'Add \'(You)\' to quotes linking to your posts.'
1
]
'Highlight Posts Quoting You': [
true
'Highlights any posts that contain a quote to your post.'
1
]
'Highlight Own Posts': [
true
'Highlights own posts.'
1
]
'Mark OP Quotes': [
true
'Add \'(OP)\' to OP quotes.'
]
'Mark Cross-thread Quotes': [
true
'Add \'(Cross-thread)\' to cross-threads quotes.'
]
'Quote Threading': [
true
'Add option in header menu to thread conversations.'
]
imageExpansion:
'Fit width': [
true
''
]
'Fit height': [
false
''
]
'Scroll into view': [
true
'Scroll down when expanding images to bring the full image into view.'
]
'Expand spoilers': [
true
'Expand all images along with spoilers.'
]
'Expand videos': [
true
'Expand all images also expands videos.'
]
'Expand from here': [
false
'Expand all images only from current position to thread end.'
]
'Expand thread only': [
false
'In index, expand all images only within the current thread.'
]
'Advance on contract': [
false
'Advance to next post when contracting an expanded image.'
]
gallery:
'Hide Thumbnails': [
false
]
'Fit Width': [ # 'Fit width' (lowercase W) belongs to Image Expansion. Engine limitations, heh.
true
]
'Fit Height': [
true
]
'Stretch to Fit': [
false
]
'Scroll to Post': [
true
]
'Slide Delay': [
6.0
]
'Default Volume': 1.0
threadWatcher:
'Current Board': [
false
'Only show watched threads from the current board.'
]
'Auto Update Thread Watcher': [
true
'Periodically check status of watched threads.'
]
'Auto Watch': [
true
'Automatically watch threads you start.'
]
'Auto Watch Reply': [
true
'Automatically watch threads you reply to.'
]
'Auto Prune': [
false
'Automatically remove dead threads.'
]
'Show Page': [
true
'Show what page watched threads are on.'
]
'Show Unread Count': [
true
'Show number of unread posts in watched threads.'
]
'Show Site Prefix': [
true
'When multiple sites are shown in the thread watcher, add a prefix to board names to distinguish them.'
]
'Require OP Quote Link': [
false
'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'
]
filter:
general: ''
postID: """
# Highlight dubs on [s4s]:
#/(\\d)\\1$/;highlight;top:no;boards:s4s
"""
name: """
# Filter any namefags:
#/^(?!Anonymous$)/
"""
uniqueID: """
# Filter a specific ID:
#/Txhvk1Tl/
"""
tripcode: """
# Filter any tripfag
#/^!/
"""
capcode: """
# Set a custom class for mods:
#/Mod$/;highlight:mod;op:yes
# Set a custom class for admins:
#/Admin$/;highlight:admin;op:yes
"""
pass: """
# Filter anyone using since4pass:
#/./
"""
email: ''
subject: """
# Filter Generals on /v/:
#/general/i;boards:v;op:only
"""
comment: """
# Filter Stallman copypasta on /g/:
#/what you\'re refer+ing to as linux/i;boards:g
# Filter posts with 20 or more quote links:
#/(?:>>\\d(?:(?!>>\\d)[^])*){20}/
# Filter posts like T H I S / H / I / S:
#/^>?\\s?\\w\\s?(\\w)\\s?(\\w)\\s?(\\w).*$[\\s>]+\\1[\\s>]+\\2[\\s>]+\\3/im
"""
flag: ''
filename: ''
dimensions: """
# Highlight potential wallpapers:
#/1920x1080/;op:yes;highlight;top:no;boards:w,wg
"""
filesize: ''
MD5: ''
sauces: """
# Known filename formats:
https://www.pixiv.net/member_illust.php?mode=medium&illust_id=%$1;regexp:/^(\\d+)_p\\d+/
https://www.deviantart.com/gallery/#/d%$1%$2;regexp:/^\\w+_by_\\w+[_-]d([\\da-z]{6})\\b|^d([\\da-z]{6})-[\\da-z]{8}-/
https://imgur.com/%$1;regexp:/^(?![a-zA-Z][a-z]{6})(?![A-Z]{7})(?!\\d{7})([\\da-zA-Z]{7})(?: \\(\\d+\\))?\\.\\w+$/
https://flickr.com/photo.gne?id=%$1;regexp:/^(\\d+)_[\\da-f]{10}(?:_\\w)*\\b/
https://www.facebook.com/photo.php?fbid=%$1;regexp:/^\\d+_(\\d+)_\\d+_[no]\\b/
# Reverse image search:
https://www.google.com/searchbyimage?image_url=%IMG&safe=off
https://yandex.com/images/search?rpt=imageview&url=%IMG
#//tineye.com/search?url=%IMG
#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights
# Specialized reverse image search:
//iqdb.org/?url=%IMG
https://trace.moe/?auto&url=%IMG;text:wait
#//3d.iqdb.org/?url=%IMG
#//saucenao.com/search.php?url=%IMG
# "View Same" in archives:
http://eye.swfchan.com/search/?q=%name;types:swf
#https://desuarchive.org/_/search/image/%sMD5/
#https://archive.4plebs.org/_/search/image/%sMD5/
#https://boards.fireden.net/_/search/image/%sMD5/
#https://foolz.fireden.net/_/search/image/%sMD5/
# Other tools:
#http://exif.regex.info/exif.cgi?imgurl=%URL
#//imgops.com/%URL;types:gif,jpg,png
#//www.gif-explode.com/%URL;types:gif
"""
FappeT:
werk: false
'Custom CSS': true
Index:
'Index Mode': 'paged'
'Previous Index Mode': 'paged'
'Index Size': 'small'
'Show Replies': [true, 'Show replies in the index, and also in the catalog if "Catalog hover expand" is checked.']
'Catalog Hover Expand': [false, 'Expand the comment and show more details when you hover over a thread in the catalog.']
'Catalog Hover Toggle': [true, 'Turn "Catalog hover expand" on and off by clicking in the catalog.']
'Pin Watched Threads': [false, 'Move watched threads to the start of the index.']
'Anchor Hidden Threads': [true, 'Move hidden threads to the end of the index.']
'Refreshed Navigation': [false, 'Refresh index when navigating through pages.']
Header:
'Fixed Header': true
'Header auto-hide': false
'Header auto-hide on scroll': false
'Bottom Header': false
'Centered links': false
'Header catalog links': false
'Bottom Board List': true
'Shortcut Icons': true
'Custom Board Navigation': true
archives:
archiveLists: 'https://nstepien.github.io/archives.json/archives.json'
lastarchivecheck: 0
archiveAutoUpdate: true
externalCatalogURLs: """
//catalog.neet.tv/%board/;boards:4chan.org:3,a,adv,an,asp,biz,c,cgl,ck,cm,co,diy,f,fa,fit,g,gd,his,i,int,jp,k,lgbt,lit,m,mlp,mu,n,news,o,out,p,po,pol,s4s,sci,sp,tg,toy,trv,tv,v,vg,vip,vp,vr,w,wg,wsg,wsr,x
"""
boardnav: """
[ toggle-all ]
[current-index-text:"Index"
current-catalog-text:"Catalog"
current-expired-text:"Expired"
current-archive-text:"Archive"]
[external-text:"FAQ","<%= meta.faq %>"]
"""
QR:
'QR.personas': """
#options:"sage";boards:jp;always
"""
sjisPreview: false
jsWhitelist: '''
http://s.4cdn.org
https://s.4cdn.org
http://www.google.com
https://www.google.com
https://www.gstatic.com
http://cdn.mathjax.org
https://cdn.mathjax.org
https://cdnjs.cloudflare.com
'self'
'unsafe-inline'
'unsafe-eval'
# Banner ads
#http://s.zkcdn.net/ados.js
#https://s.zkcdn.net/ados.js
#http://engine.4chan-ads.org
#https://engine.4chan-ads.org
'''
captchaLanguage: ''
time: '%m/%d/%y(%a)%H:%M:%S'
timeLocale: ''
backlink: '>>%id'
pastedname: 'file'
fileInfo: '%l %d (%p%s, %r%g)'
favicon: 'ferongr'
usercss: `<%= JSON.stringify(read('user.css')) %>`
hotkeys:
# QR & Options
'Toggle board list': [
'Ctrl+b'
'Toggle the full board list.'
]
'Toggle header': [
'Shift+h'
'Toggle the auto-hide option of the header.'
]
'Open empty QR': [
'q'
'Open QR without post number inserted.'
]
'Open QR': [
'Shift+q'
'Open QR with post number inserted.'
]
'Open settings': [
'Alt+o'
'Open Settings.'
]
'Close': [
'Esc'
'Close dialogs or notifications.'
]
'Spoiler tags': [
'Ctrl+s'
'Insert spoiler tags.'
]
'Code tags': [
'Alt+c'
'Insert code tags.'
]
'Eqn tags': [
'Alt+e'
'Insert eqn tags.'
]
'Math tags': [
'Alt+m'
'Insert math tags.'
]
'SJIS tags': [
'Alt+a'
'Insert SJIS tags.'
]
'Toggle sage': [
'Alt+s'
'Toggle sage in options field.'
]
'Toggle Cooldown': [
'Alt+Comma'
'Toggle custom cooldown timer.'
]
'Post from URL': [
'Alt+l'
'Post from URL.'
]
'Add new post': [
'Alt+n'
'Add new post to the QR dump list.'
]
'Submit QR': [
'Ctrl+Enter'
'Submit post.'
]
# Thread related
'Watch': [
'w'
'Watch thread.'
]
'Update': [
'r'
'Update the thread / refresh the index.'
]
'Update thread watcher': [
'Shift+r'
'Manually refresh thread watcher.'
]
'Toggle thread watcher': [
't'
'Toggle visibility of thread watcher.'
]
'Toggle threading': [
'Shift+t'
'Toggle threading.'
]
'Mark thread read': [
'Ctrl+0'
'Mark thread read from index (requires "Unread Line in Index").'
]
# Images
'Expand image': [
'Shift+e'
'Expand selected image.'
]
'Expand images': [
'e'
'Expand all images.'
]
'Open Gallery': [
'g'
'Opens the gallery.'
]
'Next Gallery Image': [
'Right',
'Go to the next image in gallery mode.'
]
'Previous Gallery Image': [
'Left',