Move some confs around, add conf to toggle the drop-down menu.
This commit is contained in:
parent
4dec4bed20
commit
faef152020
@ -86,9 +86,6 @@
|
|||||||
'Keybinds': [true, 'Binds actions to keys'],
|
'Keybinds': [true, 'Binds actions to keys'],
|
||||||
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time'],
|
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time'],
|
||||||
'File Info Formatting': [true, 'Reformats the file information'],
|
'File Info Formatting': [true, 'Reformats the file information'],
|
||||||
'Report Link': [true, 'Add report links'],
|
|
||||||
'Delete Link': [true, 'Add delete links'],
|
|
||||||
'Archive Link': [true, 'Add archive links'],
|
|
||||||
'Comment Expansion': [true, 'Expand too long comments'],
|
'Comment Expansion': [true, 'Expand too long comments'],
|
||||||
'Thread Expansion': [true, 'View all replies'],
|
'Thread Expansion': [true, 'View all replies'],
|
||||||
'Index Navigation': [true, 'Navigate to previous / next thread'],
|
'Index Navigation': [true, 'Navigate to previous / next thread'],
|
||||||
@ -111,6 +108,12 @@
|
|||||||
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail'],
|
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail'],
|
||||||
'Expand From Current': [false, 'Expand images from current position to thread end.']
|
'Expand From Current': [false, 'Expand images from current position to thread end.']
|
||||||
},
|
},
|
||||||
|
Menu: {
|
||||||
|
'Menu': [true, 'Add a drop-down menu in posts.'],
|
||||||
|
'Report Link': [true, 'Add a report link to the menu.'],
|
||||||
|
'Delete Link': [true, 'Add a delete link to the menu.'],
|
||||||
|
'Archive Link': [true, 'Add a archive link to the menu.']
|
||||||
|
},
|
||||||
Monitoring: {
|
Monitoring: {
|
||||||
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.'],
|
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.'],
|
||||||
'Unread Count': [true, 'Show unread post count in tab title'],
|
'Unread Count': [true, 'Show unread post count in tab title'],
|
||||||
@ -4534,7 +4537,6 @@
|
|||||||
if (Conf['Anonymize']) {
|
if (Conf['Anonymize']) {
|
||||||
Anonymize.init();
|
Anonymize.init();
|
||||||
}
|
}
|
||||||
Menu.init();
|
|
||||||
if (Conf['Time Formatting']) {
|
if (Conf['Time Formatting']) {
|
||||||
Time.init();
|
Time.init();
|
||||||
}
|
}
|
||||||
@ -4553,14 +4555,17 @@
|
|||||||
if (Conf['Image Hover']) {
|
if (Conf['Image Hover']) {
|
||||||
ImageHover.init();
|
ImageHover.init();
|
||||||
}
|
}
|
||||||
if (Conf['Report Link']) {
|
if (Conf['Menu']) {
|
||||||
ReportLink.init();
|
Menu.init();
|
||||||
}
|
if (Conf['Report Link']) {
|
||||||
if (Conf['Delete Link']) {
|
ReportLink.init();
|
||||||
DeleteLink.init();
|
}
|
||||||
}
|
if (Conf['Delete Link']) {
|
||||||
if (Conf['Archive Link']) {
|
DeleteLink.init();
|
||||||
ArchiveLink.init();
|
}
|
||||||
|
if (Conf['Archive Link']) {
|
||||||
|
ArchiveLink.init();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Conf['Resurrect Quotes']) {
|
if (Conf['Resurrect Quotes']) {
|
||||||
Quotify.init();
|
Quotify.init();
|
||||||
|
|||||||
@ -5,9 +5,6 @@ Config =
|
|||||||
'Keybinds': [true, 'Binds actions to keys']
|
'Keybinds': [true, 'Binds actions to keys']
|
||||||
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time']
|
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time']
|
||||||
'File Info Formatting': [true, 'Reformats the file information']
|
'File Info Formatting': [true, 'Reformats the file information']
|
||||||
'Report Link': [true, 'Add report links']
|
|
||||||
'Delete Link': [true, 'Add delete links']
|
|
||||||
'Archive Link': [true, 'Add archive links']
|
|
||||||
'Comment Expansion': [true, 'Expand too long comments']
|
'Comment Expansion': [true, 'Expand too long comments']
|
||||||
'Thread Expansion': [true, 'View all replies']
|
'Thread Expansion': [true, 'View all replies']
|
||||||
'Index Navigation': [true, 'Navigate to previous / next thread']
|
'Index Navigation': [true, 'Navigate to previous / next thread']
|
||||||
@ -27,6 +24,11 @@ Config =
|
|||||||
'Sauce': [true, 'Add sauce to images']
|
'Sauce': [true, 'Add sauce to images']
|
||||||
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail']
|
'Reveal Spoilers': [false, 'Replace spoiler thumbnails by the original thumbnail']
|
||||||
'Expand From Current': [false, 'Expand images from current position to thread end.']
|
'Expand From Current': [false, 'Expand images from current position to thread end.']
|
||||||
|
Menu:
|
||||||
|
'Menu': [true, 'Add a drop-down menu in posts.']
|
||||||
|
'Report Link': [true, 'Add a report link to the menu.']
|
||||||
|
'Delete Link': [true, 'Add a delete link to the menu.']
|
||||||
|
'Archive Link': [true, 'Add a archive link to the menu.']
|
||||||
Monitoring:
|
Monitoring:
|
||||||
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.']
|
'Thread Updater': [true, 'Update threads. Has more options in its own dialog.']
|
||||||
'Unread Count': [true, 'Show unread post count in tab title']
|
'Unread Count': [true, 'Show unread post count in tab title']
|
||||||
@ -3524,8 +3526,6 @@ Main =
|
|||||||
if Conf['Anonymize']
|
if Conf['Anonymize']
|
||||||
Anonymize.init()
|
Anonymize.init()
|
||||||
|
|
||||||
Menu.init()
|
|
||||||
|
|
||||||
if Conf['Time Formatting']
|
if Conf['Time Formatting']
|
||||||
Time.init()
|
Time.init()
|
||||||
|
|
||||||
@ -3544,14 +3544,17 @@ Main =
|
|||||||
if Conf['Image Hover']
|
if Conf['Image Hover']
|
||||||
ImageHover.init()
|
ImageHover.init()
|
||||||
|
|
||||||
if Conf['Report Link']
|
if Conf['Menu']
|
||||||
ReportLink.init()
|
Menu.init()
|
||||||
|
|
||||||
if Conf['Delete Link']
|
if Conf['Report Link']
|
||||||
DeleteLink.init()
|
ReportLink.init()
|
||||||
|
|
||||||
if Conf['Archive Link']
|
if Conf['Delete Link']
|
||||||
ArchiveLink.init()
|
DeleteLink.init()
|
||||||
|
|
||||||
|
if Conf['Archive Link']
|
||||||
|
ArchiveLink.init()
|
||||||
|
|
||||||
if Conf['Resurrect Quotes']
|
if Conf['Resurrect Quotes']
|
||||||
Quotify.init()
|
Quotify.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user