Replace join('\n') with triple quotes.
This commit is contained in:
parent
2211f0160b
commit
17b4a6a2f9
@ -78,67 +78,59 @@ Config =
|
|||||||
'Expand spoilers': [false, 'Expand all images along with spoilers.']
|
'Expand spoilers': [false, 'Expand all images along with spoilers.']
|
||||||
'Expand from here': [true, 'Expand all images only from current position to thread end.']
|
'Expand from here': [true, 'Expand all images only from current position to thread end.']
|
||||||
filter:
|
filter:
|
||||||
name: [
|
name: """
|
||||||
'# Filter any namefags:'
|
# Filter any namefags:
|
||||||
'#/^(?!Anonymous$)/'
|
#/^(?!Anonymous$)/
|
||||||
].join '\n'
|
"""
|
||||||
uniqueID: [
|
uniqueID: """
|
||||||
'# Filter a specific ID:'
|
# Filter a specific ID:
|
||||||
'#/Txhvk1Tl/'
|
#/Txhvk1Tl/
|
||||||
].join '\n'
|
"""
|
||||||
tripcode: [
|
tripcode: """
|
||||||
'# Filter any tripfag'
|
# Filter any tripfag
|
||||||
'#/^!/'
|
#/^!/
|
||||||
].join '\n'
|
"""
|
||||||
capcode: [
|
capcode: """
|
||||||
'# Set a custom class for mods:'
|
# Set a custom class for mods:
|
||||||
'#/Mod$/;highlight:mod;op:yes'
|
#/Mod$/;highlight:mod;op:yes
|
||||||
'# Set a custom class for moot:'
|
# Set a custom class for moot:
|
||||||
'#/Admin$/;highlight:moot;op:yes'
|
#/Admin$/;highlight:moot;op:yes
|
||||||
].join '\n'
|
"""
|
||||||
email: [
|
email: """
|
||||||
'# Filter any e-mails that are not `sage` on /a/ and /jp/:'
|
# Filter any e-mails that are not `sage` on /a/ and /jp/:
|
||||||
'#/^(?!sage$)/;boards:a,jp'
|
#/^(?!sage$)/;boards:a,jp
|
||||||
].join '\n'
|
"""
|
||||||
subject: [
|
subject: """
|
||||||
'# Filter Generals on /v/:'
|
# Filter Generals on /v/:
|
||||||
'#/general/i;boards:v;op:only'
|
#/general/i;boards:v;op:only
|
||||||
].join '\n'
|
"""
|
||||||
comment: [
|
comment: """
|
||||||
'# Filter Stallman copypasta on /g/:'
|
# Filter Stallman copypasta on /g/:
|
||||||
'#/what you\'re refer+ing to as linux/i;boards:g'
|
#/what you're refer+ing to as linux/i;boards:g
|
||||||
].join '\n'
|
"""
|
||||||
flag: [
|
flag: ""
|
||||||
''
|
filename: ""
|
||||||
].join '\n'
|
dimensions: """
|
||||||
filename: [
|
# Highlight potential wallpapers:
|
||||||
''
|
#/1920x1080/;op:yes;highlight;top:no;boards:w,wg
|
||||||
].join '\n'
|
"""
|
||||||
dimensions: [
|
filesize: ""
|
||||||
'# Highlight potential wallpapers:'
|
MD5: ""
|
||||||
'#/1920x1080/;op:yes;highlight;top:no;boards:w,wg'
|
sauces: """
|
||||||
].join '\n'
|
https://www.google.com/searchbyimage?image_url=%TURL
|
||||||
filesize: [
|
http://iqdb.org/?url=%TURL
|
||||||
''
|
#//tineye.com/search?url=%TURL
|
||||||
].join '\n'
|
#http://saucenao.com/search.php?url=%TURL
|
||||||
MD5: [
|
#http://3d.iqdb.org/?url=%TURL
|
||||||
''
|
#http://regex.info/exif.cgi?imgurl=%URL
|
||||||
].join '\n'
|
# uploaders:
|
||||||
sauces: [
|
#http://imgur.com/upload?url=%URL;text:Upload to imgur
|
||||||
'https://www.google.com/searchbyimage?image_url=%TURL'
|
#http://ompldr.org/upload?url1=%URL;text:Upload to ompldr
|
||||||
'http://iqdb.org/?url=%TURL'
|
# "View Same" in archives:
|
||||||
'#//tineye.com/search?url=%TURL'
|
#//archive.foolz.us/_/search/image/%MD5/;text:View same on foolz
|
||||||
'#http://saucenao.com/search.php?url=%TURL'
|
#//archive.foolz.us/%board/search/image/%MD5/;text:View same on foolz /%board/
|
||||||
'#http://3d.iqdb.org/?url=%TURL'
|
#//archive.installgentoo.net/%board/image/%MD5;text:View same on installgentoo /%board/
|
||||||
'#http://regex.info/exif.cgi?imgurl=%URL'
|
"""
|
||||||
'# uploaders:'
|
|
||||||
'#http://imgur.com/upload?url=%URL;text:Upload to imgur'
|
|
||||||
'#http://ompldr.org/upload?url1=%URL;text:Upload to ompldr'
|
|
||||||
'# "View Same" in archives:'
|
|
||||||
'#//archive.foolz.us/_/search/image/%MD5/;text:View same on foolz'
|
|
||||||
'#//archive.foolz.us/%board/search/image/%MD5/;text:View same on foolz /%board/'
|
|
||||||
'#//archive.installgentoo.net/%board/image/%MD5;text:View same on installgentoo /%board/'
|
|
||||||
].join '\n'
|
|
||||||
'Custom CSS': false
|
'Custom CSS': false
|
||||||
Header:
|
Header:
|
||||||
'Header auto-hide': false
|
'Header auto-hide': false
|
||||||
@ -148,10 +140,10 @@ Config =
|
|||||||
'Bottom Board List': false
|
'Bottom Board List': false
|
||||||
'Custom Board Navigation': true
|
'Custom Board Navigation': true
|
||||||
QR:
|
QR:
|
||||||
'QR.personas': [
|
'QR.personas': """
|
||||||
'#email:"sage";boards:jp;always'
|
#email:"sage";boards:jp;always
|
||||||
'email:"sage"'
|
email:"sage"
|
||||||
].join '\n'
|
"""
|
||||||
boardnav: '[current-title / toggle-all]'
|
boardnav: '[current-title / toggle-all]'
|
||||||
time: '%m/%d/%y(%a)%H:%M:%S'
|
time: '%m/%d/%y(%a)%H:%M:%S'
|
||||||
backlink: '>>%id'
|
backlink: '>>%id'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user