2019-07-05 23:45:29 +02:00
|
|
|
// How to use:
|
|
|
|
// version: {ExtensionConf object, but only properties that get overwritten}
|
|
|
|
|
|
|
|
const ExtensionConfPatch = {
|
|
|
|
'4.2.0': {
|
|
|
|
sites: {
|
|
|
|
"old.reddit.com" : {
|
|
|
|
type: 'testing',
|
|
|
|
DOM: {
|
|
|
|
player: {
|
|
|
|
manual: true,
|
|
|
|
useRelativeAncestor: false,
|
2019-08-31 22:45:56 +02:00
|
|
|
querySelectors: '.reddit-video-player-root, .media-preview-content'
|
2019-07-05 23:45:29 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
css: '',
|
|
|
|
},
|
|
|
|
"www.reddit.com" : {
|
|
|
|
type: 'testing',
|
|
|
|
DOM: {
|
|
|
|
player: {
|
|
|
|
manual: true,
|
|
|
|
useRelativeAncestor: false,
|
2019-08-31 22:45:56 +02:00
|
|
|
querySelectors: '.reddit-video-player-root, .media-preview-content'
|
2019-07-05 23:45:29 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
css: '',
|
|
|
|
},
|
|
|
|
"www.youtube.com" : {
|
|
|
|
DOM: {
|
|
|
|
player: {
|
|
|
|
manual: true,
|
|
|
|
querySelectors: "#movie_player, #player",
|
|
|
|
additionalCss: "",
|
|
|
|
useRelativeAncestor: false,
|
|
|
|
playerNodeCss: "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
2019-07-20 20:38:41 +02:00
|
|
|
},
|
2019-07-05 23:45:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default ExtensionConfPatch;
|