Change player element detection on reddit as well
This commit is contained in:
parent
90d646ba25
commit
2b281b292f
@ -946,50 +946,6 @@ var ExtensionConf = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"old.reddit.com" : {
|
|
||||||
mode: ExtensionMode.Enabled,
|
|
||||||
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
|
||||||
override: false,
|
|
||||||
type: 'official',
|
|
||||||
stretch: Stretch.Default,
|
|
||||||
videoAlignment: VideoAlignment.Default,
|
|
||||||
keyboardShortcutsEnabled: ExtensionMode.Default,
|
|
||||||
DOM: {
|
|
||||||
video: {
|
|
||||||
manual: false,
|
|
||||||
querySelectors: '',
|
|
||||||
additionalCss: '',
|
|
||||||
},
|
|
||||||
player: {
|
|
||||||
manual: true,
|
|
||||||
useRelativeAncestor: true,
|
|
||||||
videoAncestor: 1,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
css: '',
|
|
||||||
},
|
|
||||||
"www.reddit.com" : {
|
|
||||||
mode: ExtensionMode.Enabled,
|
|
||||||
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
|
||||||
override: false,
|
|
||||||
type: 'official',
|
|
||||||
stretch: Stretch.Default,
|
|
||||||
videoAlignment: VideoAlignment.Default,
|
|
||||||
keyboardShortcutsEnabled: ExtensionMode.Default,
|
|
||||||
DOM: {
|
|
||||||
video: {
|
|
||||||
manual: false,
|
|
||||||
querySelectors: '',
|
|
||||||
additionalCss: '',
|
|
||||||
},
|
|
||||||
player: {
|
|
||||||
manual: true,
|
|
||||||
useRelativeAncestor: true,
|
|
||||||
videoAncestor: 1,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
css: '',
|
|
||||||
},
|
|
||||||
"vimeo.com": {
|
"vimeo.com": {
|
||||||
mode: 3,
|
mode: 3,
|
||||||
autoar: 3,
|
autoar: 3,
|
||||||
@ -1006,26 +962,63 @@ var ExtensionConf = {
|
|||||||
},
|
},
|
||||||
css: ".player_outro_area {\n width: 100% !important;\n display: flex !important;\n justify-content: center !important;\n}\n\n.player_container, .player {\n width: 100% !important; \n}"
|
css: ".player_outro_area {\n width: 100% !important;\n display: flex !important;\n justify-content: center !important;\n}\n\n.player_container, .player {\n width: 100% !important; \n}"
|
||||||
},
|
},
|
||||||
|
"old.reddit.com" : {
|
||||||
|
mode: ExtensionMode.Enabled,
|
||||||
|
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
||||||
|
override: false,
|
||||||
|
type: 'testing',
|
||||||
|
stretch: Stretch.Default,
|
||||||
|
videoAlignment: VideoAlignment.Default,
|
||||||
|
keyboardShortcutsEnabled: ExtensionMode.Default,
|
||||||
|
DOM: {
|
||||||
|
player: {
|
||||||
|
manual: true,
|
||||||
|
useRelativeAncestor: false,
|
||||||
|
querySelectors: '.media-preview-content'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
css: '',
|
||||||
|
},
|
||||||
|
"www.reddit.com" : {
|
||||||
|
mode: ExtensionMode.Enabled,
|
||||||
|
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
|
||||||
|
override: false,
|
||||||
|
type: 'testing',
|
||||||
|
stretch: Stretch.Default,
|
||||||
|
videoAlignment: VideoAlignment.Default,
|
||||||
|
keyboardShortcutsEnabled: ExtensionMode.Default,
|
||||||
|
DOM: {
|
||||||
|
player: {
|
||||||
|
manual: true,
|
||||||
|
useRelativeAncestor: false,
|
||||||
|
querySelectors: '.media-preview-content'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
css: '',
|
||||||
|
},
|
||||||
"imgur.com": {
|
"imgur.com": {
|
||||||
mode: -1,
|
mode: -1,
|
||||||
autoar: -1,
|
autoar: -1,
|
||||||
autoarFallback: 0,
|
autoarFallback: 0,
|
||||||
stretch: -1,
|
stretch: -1,
|
||||||
videoAlignment: 1
|
videoAlignment: 1,
|
||||||
|
type: 'official',
|
||||||
},
|
},
|
||||||
"gfycat.com": {
|
"gfycat.com": {
|
||||||
mode: -1,
|
mode: -1,
|
||||||
autoar: -1,
|
autoar: -1,
|
||||||
autoarFallback: 0,
|
autoarFallback: 0,
|
||||||
stretch: -1,
|
stretch: -1,
|
||||||
videoAlignment: 1
|
videoAlignment: 1,
|
||||||
|
type: 'official,'
|
||||||
},
|
},
|
||||||
"giant.gfycat.com": {
|
"giant.gfycat.com": {
|
||||||
mode: -1,
|
mode: -1,
|
||||||
autoar: -1,
|
autoar: -1,
|
||||||
autoarFallback: 0,
|
autoarFallback: 0,
|
||||||
stretch: -1,
|
stretch: -1,
|
||||||
videoAlignment: 1
|
videoAlignment: 1,
|
||||||
|
type: 'official',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user