Disable -> Enable
This commit is contained in:
parent
5dd3cc38d0
commit
7494a1a9b8
@ -51,7 +51,7 @@
|
|||||||
Config = {
|
Config = {
|
||||||
main: {
|
main: {
|
||||||
Enhancing: {
|
Enhancing: {
|
||||||
'Disable 4chan\'s extension': [true, 'Avoid conflicts between 4chan X Alpha and 4chan\'s inline extension.'],
|
'Enable 4chan\'s extension': [false, 'Compatibility between 4chan X Alpha and 4chan\'s inline extension is NOT guaranteed.'],
|
||||||
'404 Redirect': [true, 'Redirect dead threads and images.'],
|
'404 Redirect': [true, 'Redirect dead threads and images.'],
|
||||||
'Keybinds': [true, 'Bind actions to keyboard shortcuts.'],
|
'Keybinds': [true, 'Bind actions to keyboard shortcuts.'],
|
||||||
'Time Formatting': [true, 'Localize and format timestamps arbitrarily.'],
|
'Time Formatting': [true, 'Localize and format timestamps arbitrarily.'],
|
||||||
@ -1135,10 +1135,10 @@
|
|||||||
el: link,
|
el: link,
|
||||||
order: 111,
|
order: 111,
|
||||||
open: function() {
|
open: function() {
|
||||||
return !Conf['Disable 4chan\'s extension'];
|
return !Conf['Enable 4chan\'s extension'];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!Conf['Disable 4chan\'s extension']) {
|
if (!Conf['Enable 4chan\'s extension']) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
|
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
Config =
|
Config =
|
||||||
main:
|
main:
|
||||||
Enhancing:
|
Enhancing:
|
||||||
'Disable 4chan\'s extension': [true, 'Avoid conflicts between <%= meta.name %> and 4chan\'s inline extension.']
|
'Enable 4chan\'s extension': [false, 'Compatibility between <%= meta.name %> and 4chan\'s inline extension is NOT guaranteed.']
|
||||||
'404 Redirect': [true, 'Redirect dead threads and images.']
|
'404 Redirect': [true, 'Redirect dead threads and images.']
|
||||||
'Keybinds': [true, 'Bind actions to keyboard shortcuts.']
|
'Keybinds': [true, 'Bind actions to keyboard shortcuts.']
|
||||||
'Time Formatting': [true, 'Localize and format timestamps arbitrarily.']
|
'Time Formatting': [true, 'Localize and format timestamps arbitrarily.']
|
||||||
|
|||||||
@ -137,9 +137,9 @@ Settings =
|
|||||||
type: 'header'
|
type: 'header'
|
||||||
el: link
|
el: link
|
||||||
order: 111
|
order: 111
|
||||||
open: -> !Conf['Disable 4chan\'s extension']
|
open: -> !Conf['Enable 4chan\'s extension']
|
||||||
|
|
||||||
return unless Conf['Disable 4chan\'s extension']
|
return unless Conf['Enable 4chan\'s extension']
|
||||||
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
||||||
return if settings.disableAll
|
return if settings.disableAll
|
||||||
settings.disableAll = true
|
settings.disableAll = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user